New to network security here.
Is exploiting known/zero day vulnerabilities on "listening" services after scanning for open ports the only way or at least the most common way to compromise a system?
Of course we're not talking about completely different things like DDOS, malware and whatnot.
Just wondering if opening up ports and running server services has any other security risks.