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.


1 Answer 1


Opening ports, especially to untrusted networks can have a number of risks (one of which, as you've correctly identified is 0-day vulnerabilities)

Depending on the service that's listening the configuration could be a larger source of concern. Things like default or easily guessable credentials are the source of many security issues and these are generally quite easily exploited as the information about what the default usernames/passwords for various services are is easily available.

Not the answer you're looking for? Browse other questions tagged .