Cybersecurity dynamics