How to defend your network systems from cyberattacks