Defending against the most common cyberattacks