r/ComputerSecurity • • Jul 05 '16

Some confusion regarding penetration testing

I have a confusion regarding penetration testing.Does it include only attacking or we also have to suggest the preventive measures that are to be taken while defense.Are there two types of penetration testing - Attacking or defense . Thank you ..

0 Upvotes

4 comments sorted by

5

u/Sultan_Of_Ping Jul 06 '16 edited Jul 06 '16

A penetration test is strictly an attack to discover vulnerabilities in a target system or environment.

A pentesting report (i.e. the deliverable a typical professional penetration testers will submit to their client) can includes basic remediation recommendations, but those can be superficial. For example, if the pentester managed to exploit a given vulnerability, the recommendation could be to patch this vulnerability.

That being said, people doing defensive security for a living are not typically pentesters, as the two skillsets do not merge as much as one could think, and a "solution" that seems to make sense on a small scale will be addressed differently on a larger scale.

To use the same example as above, patching a single host is easy. Patching a lot of different hosts is harder. Managing the patching of different hosts over a long period of time (with different OS, applications, uptime requirements, criticaly, etc) is much harder, and will require extensive processes that include vulnerability evaluation and prioritization, testing, the involvement of different IT support groups and multiple vendors, the production of metrics, etc. Things that pentesters don't normally bother with, but that are central to how defensive security specialist think, and how IT shops actually work. Defensive security is NOT "pentesting in reverse" - if it was that simple, security would be easy.

1

u/danstermeister Jul 05 '16

Just my layman's understanding-

A security scan test normally probes ports of a host, attempts to delineate the software, it's version, configuration, and any content from it... and then rates it for known security exploits that could affect it.

A penetration test normally is an attack test, whereby they do attempt to actually get past your defenses and gain access to a resource (site, server, etc.).

But I've seen so many security scans labeled as penetration tests that it makes me wonder if those conducting them know less or more than I do.

1

u/Turtl3Up Jul 06 '16

While these terms DO have objective definitions in the community, they are also the names of products offered by security consultancies and can vary wildly from one to another. Always get specific about what you want before buying.

1

u/0ldPhart Jul 06 '16

Pentest seems to be thrown about quite a bit. I have had to use two different terms for these. I use Vulnerability Scan for probing to discover weaknesses and Penetration Test for a simulated attack.