liveBook · Manning

Penetration testing

As explained in Data-Driven Cybersecurity

An authorized simulated attack used to identify exploitable weaknesses in systems, applications, or networks.

Penetration testing is an authorized simulated attack on software systems. An ethical hacker uses realistic attack methods to uncover exploitable weaknesses without causing harm, enabling developers to fix them. section 7.4.5

Unlike SAST and DAST, penetration testing is primarily manual and human-led, supported by specialized tools. SAST examines code before execution, while DAST tests the running executable; penetration testing explores whether weaknesses can actually be exploited. section 7.4.5

Use penetration testing to:

  • Validate whether software weaknesses create a practical ability to cause harm. section 7.4.5
  • Turn discovered weaknesses into remediation work for developers. section 7.4.5
  • Support organizational security posture management alongside incident response and red team exercises. section 1.5.2

Approved attack on a software system

An organization hires an ethical hacker to execute approved cyberattacks against its software. The tester identifies the ability to harm but does not cause harm, giving developers evidence for corrective action. section 7.4.5

Figure 7.7 An overview of how security is integrated into each SDLC phase, highlighting critical security tasks associated with planning, development, testing, deployment, and maintenance stages.

Trace where penetration testing fits among security tasks across planning, development, testing, deployment, and maintenance. section 7.4.5

How Data-Driven Cybersecurity covers it

How deep it goes
Explains authorization, human-led execution, specialized tools, and contrasts with SAST and DAST, but does not detail testing procedures.
Examples
Uses an ethical hacker executing approved cyberattacks against software to identify harmful capabilities without causing harm.
What it assumes
Assumes software-system context while establishing authorization and distinguishing ethical testing from harmful hacking.
What you can do after
Diagnose weaknesses by validating exploitability and provide developers with findings to address security defects.
How it connects
Connects penetration testing with SAST, DAST, secure software development, incident response, red team exercises, and organizational security posture.

Also explained in

Compare how 2 books explain penetration testing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data-Driven Cybersecurity. The section links point to the parts of the book it draws on.