COMP-220 · Lesson 9 of 12 · 21 min
Writing the penetration test report
▶ Video coming soon A video version of this lesson is on the way.
Testing at Prairiefold ended on Friday, November 13, 2026. On Monday morning Ana Sokolova-Reyes put the report schedule on the wall: findings drafted by Wednesday, peer review Thursday, executive summary Friday, final quality control over the weekend and delivery on Monday, November 23. Tobias asked whether a week was enough. "The testing is what we did," Ana said. "The report is what they bought. We have been writing it since the first day. This week we finish it."
The report is the lasting product of a penetration test. Long after the testers have gone, it is what the sponsor shows the board, what engineers work from, what auditors and examiners read, and what the next tester compares against. PT0-003 objective 1.4 asks candidates to explain the components of a report: format alignment, documentation specifications, risk scoring, definitions, the report sections, test limitations and assumptions, and legal, ethical, quality control and AI considerations. This lesson covers each.
Writing from the first day
Ana's remark about writing since the first day was literal. Ironwhistle testers recorded each finding as they found it, in a structured template in the firm's evidence system: title, affected assets, description, evidence, reproduction steps, initial severity and remediation notes. Screenshots were redacted on capture. Each entry carried the tester's name, the time and the activity log reference. By November 13, every finding already existed in draft. The report week was for checking, scoring consistently, writing the narrative and summaries, and quality control, not for remembering what happened in week two.
Format alignment and documentation specifications
Format alignment means matching the report's structure and style to what the client and its audiences need. Some clients supply a template; regulated clients may need findings mapped to a framework; a card environment report needs the elements an assessor will look for. Prairiefold asked for three things: findings mapped to the board-adopted framework's categories, a separate executive summary the board could read without the technical body, and a findings table that could be imported into its risk register.
Documentation specifications are the agreed rules for what the report must contain and how: required sections, finding fields, evidence standards, file formats, classification markings and delivery method. They are usually set in the SOW. Prairiefold's SOW specified a PDF report, a spreadsheet of findings with fixed columns, classification marking on every page and delivery through the secure portal.
The report sections
PT0-003 names the core components: executive summary, methodology, detailed findings, attack narrative, and recommendations including remediation guidance. A complete report adds scope, limitations and assumptions, risk scoring and definitions, and appendices.
Executive summary. One to two pages for leaders who will read nothing else. It states the purpose and scope in a sentence or two, the overall result, the most important findings in business terms, what has already been fixed, and the top recommendations. It uses no jargon, no tool names and no CVE numbers. Marguerite wrote Prairiefold's, as she wrote all of Ironwhistle's.
EXECUTIVE SUMMARY (excerpt)
Prairiefold Credit Union engaged Ironwhistle Security Partners to test whether
an outside attacker, or an attacker using a compromised staff account, could
reach member information or payment systems. Testing ran from October 5 to
November 13, 2026.
An outside attacker could have entered the network through a known flaw in the
remote access system; Prairiefold fixed this on October 10, during testing.
From an ordinary staff account, testers reached scanned loan applications and
identity documents for several thousand members, because file share
permissions were far broader than staff roles require. Payment systems were
well separated from the branch network, and the member portal resisted
attempts to view other members' accounts.
Ironwhistle recommends three priorities: restrict file share access to the
staff who need it; bring service account passwords under managed rotation;
and continue phishing awareness training, which staff responded to well.Scope and methodology. What was tested, from where, when, by whom and how: the targets, the knowledge level for each component, the methodology and frameworks used (lesson 5), and the threat model that ranked the work (lesson 6). Auditors read this section closely, because it is what shows the test met their requirements.
Limitations and assumptions. What was not tested, and what the results depend on. Limitations at Prairiefold included the production online banking platform (third-party processor, permission declined), the core banking servers (excluded), the mobile app (deferred), the reduced physical testing after the phishing move, and one branch print server excluded after it failed. Assumptions included that the staging portal matched production in its security configuration, which Prairiefold's development lead had confirmed in writing. This section protects both parties: it stops the report being read as a clean bill of health for things nobody tested.
Risk scoring and definitions. How severity was decided, and what terms mean. A reader who does not know what "high" means cannot act on it. Definitions also cover terms such as critical finding, remediated, accepted risk and informational.
Attack narrative. A story, in order, of how the testers moved from their starting point to their most significant results, showing how individual findings combined. Lesson 1 noted that chains persuade where lists do not. Prairiefold's narrative ran from the standard staff account through directory enumeration, a service account password sitting in cleartext in a script on an IT tools share, and that account's membership of a group with access to nearly every file share, to the loan documents. Each step referenced its detailed finding.
Detailed findings. One entry per finding, in a consistent structure, ordered by severity. This is the section engineers work from.
| Field | Content |
|---|---|
| Identifier and title | A short, specific title, such as "Service account password stored in a cleartext script and unchanged since 2017" |
| Severity and score | Qualitative rating and score, with the scoring vector |
| Affected assets | Hosts, URLs, accounts or locations |
| Description | What the weakness is and why it matters, in plain language |
| Evidence | Redacted screenshots, tool output excerpts, timestamps |
| Reproduction steps | Enough for the client's staff to confirm the issue and later verify the fix |
| Business impact | What an attacker could achieve, in the client's terms |
| Remediation | Specific fix, interim measures, and how to verify |
| References and mappings | Framework categories, ATT&CK techniques, CWE identifiers, vendor advisories |
| Status | Open, remediated during testing (with retest date) or accepted |
Evidence should prove the finding without exposing more than necessary. A short excerpt of tool output, with the command that produced it, lets a client's administrator reproduce it. The example below shows evidence for a medium finding about server message block signing; the addresses are documentation placeholders.
Command (run 2026-10-22 10:14, tester T. Rennick, activity log ref 1187):
nmap -p 445 --script smb2-security-mode 192.0.2.0/25
Excerpt of output:
Nmap scan report for fs01.corp.prairiefold.example (192.0.2.20)
PORT STATE SERVICE
445/tcp open microsoft-ds
Host script results:
| smb2-security-mode:
| 3:1:1:
|_ Message signing enabled but not required
Result: 14 of the 17 Windows servers in the scanned file-and-print subnet report signing not required.Recommendations and remediation guidance. Overall recommendations, grouped and prioritized, which lesson 10 covers in depth: addressing root causes, choosing controls and sequencing work.
Appendices. Full tool output where useful, the list of hosts tested, accounts used and created, the cleanup record showing everything the testers changed and removed, and the detection table mapping ATT&CK techniques to whether they were seen.
Risk scoring with CVSS
Most reports score technical severity with the Common Vulnerability Scoring System (CVSS), maintained by FIRST (the Forum of Incident Response and Security Teams). Version 4.0 was released on November 1, 2023. It has four metric groups.
| Metric group | What it captures | Examples |
|---|---|---|
| Base | Intrinsic characteristics that do not change over time or between environments | Attack vector, attack complexity, attack requirements, privileges required, user interaction, and impact on confidentiality, integrity and availability of the vulnerable system and subsequent systems |
| Threat | Characteristics that change over time | Exploit maturity: whether exploitation is reported, a proof of concept exists, or neither |
| Environmental | The client's own context | Security requirements of the asset; modified base metrics reflecting the client's controls |
| Supplemental | Extra information that does not change the score | Automatable, recovery, value density, provider urgency |
CVSS v4.0 labels scores by the groups used: CVSS-B for base only, CVSS-BT for base and threat, CVSS-BE for base and environmental, and CVSS-BTE for all three. Scores run from 0 to 10, with qualitative ratings of none (0.0), low (0.1 to 3.9), medium (4.0 to 6.9), high (7.0 to 8.9) and critical (9.0 to 10.0). Reports should include the vector string, so readers can see exactly how a score was reached.
A base score alone describes the vulnerability in general, not the client's risk. A penetration tester has something a scanner does not: evidence of what actually happened in this environment. Ironwhistle scored findings with base and threat metrics, adjusted with environmental metrics where Prairiefold's controls clearly changed the picture, and then stated the risk rating used in the report, which combined the score with business impact. Where the two differed, the finding explained why. Other inputs help: the Exploit Prediction Scoring System (EPSS) estimates the probability that a vulnerability will be exploited, and lists of vulnerabilities known to be exploited in the wild, such as the one maintained by the US Cybersecurity and Infrastructure Security Agency, flag those that attackers already use.
Some findings have no CVSS score, because they are not software vulnerabilities: a door that can be tailgated, a phishing click rate, overly broad file share permissions. For these, the report's risk scoring definitions explain how likelihood and impact were judged. Consistency matters more than any particular method: two similar findings should not receive different ratings because different testers wrote them.
Legal, ethical, quality control and AI considerations
Objective 1.4 lists four considerations that shape the report as a whole.
Legal. The report is a confidential document that may be requested in litigation or by regulators; it should be accurate, factual and free of speculation about blame. It should not contain personal data beyond what is essential; Ironwhistle's contained none. Some clients ask for reports to be prepared at the direction of counsel; that is a decision for the client's lawyers, and the tester follows their instructions on marking and distribution.
Ethical. The report must be honest: no inflating severity to impress, no softening findings to please, no omitting a finding because it embarrasses a client contact. It must also be fair to individuals. Prairiefold's phishing results appeared by department, as agreed at kickoff, and the narrative named systems and accounts, never the staff who had written passwords into scripts years before.
Quality control (QC). Ironwhistle's QC had four layers: technical peer review, in which a second tester reproduced or checked every high and critical finding; consistency review, in which Ana compared all severity ratings against the definitions; editorial review for clarity, spelling and formatting; and a final check that every claim in the executive summary was supported by a finding. Tobias's first draft finding was returned with eleven comments, most about vague wording such as "may be vulnerable"; after revision, the finding said exactly what was observed.
AI. Generative AI tools can help draft descriptions, summarize tool output and check consistency, and PT0-003 explicitly lists AI as a reporting consideration. The risks are equally real. Client data entered into a public AI service may leave the firm's control in breach of the contract and privacy law. AI output can be confidently wrong, inventing CVE numbers, tool behaviour or remediation steps. Ironwhistle's policy allowed only an approved AI service under a contract that kept data private, never with raw client evidence, and required a human to verify every sentence that reached a report. The SOW told Prairiefold that such tools might be used for drafting under those conditions.
Quality control also extends to consistency between documents. The findings spreadsheet, the PDF and the executive summary must agree on counts, titles and severities; a board member who reads "four high findings" in the summary and finds five in the spreadsheet will reasonably wonder what else is wrong. Ana's last step before delivery was to reconcile all three documents line by line.
Delivery
The final report went to the Prairiefold portal on Monday, November 23, 2026, as the SOW promised: a PDF of 68 pages, the executive summary as a separate document for the board, and the findings spreadsheet. It recorded 20 findings: 1 critical (the VPN appliance, remediated during testing), 4 high, 7 medium, 5 low and 3 informational. Ana logged the delivery, the recipients and the access permissions. The readout meeting, at which Ironwhistle would walk Prairiefold through the results and agree next steps, was scheduled for December 2026.
Worked problem
Rewriting a weak finding
A draft finding reads: "Server may be vulnerable to SMB issues. Recommend hardening." Rewrite it to meet the detailed findings standard.
Show solution
- Make the title specific: "SMB signing not required on 14 of 17 Windows servers".
- State what was observed, with evidence: the command, date, output excerpt and count.
- Explain the impact: without required signing, an attacker on the network may be able to relay authentication to these servers and act as the relayed user.
- Give specific remediation and verification: require SMB signing by group policy for servers, test compatibility first, and verify with the same check.
Answer: A finding states exactly what was observed, proves it, explains the consequence and tells the client how to fix and verify it. "May be vulnerable" and "recommend hardening" do none of these.
Common mistakes
MistakeWriting the whole report after testing ends from memory.
InsteadRecord findings in a structured template as they are found.
MistakePutting CVE numbers and tool names in the executive summary.
InsteadWrite the executive summary in business outcomes for leaders.
MistakeReporting CVSS base scores as the client's risk.
InsteadAdd threat and environmental context and explain the final risk rating.
MistakeOmitting limitations to make the report look complete.
InsteadState what was not tested and what the results assume.
MistakePasting raw client evidence into a public AI tool to draft text.
InsteadUse only approved tools under data protection terms, and verify every AI-assisted sentence.
Summary and key terms
- Format alignment matches the report to client and audience needs; documentation specifications set required content, fields and delivery.
- Core sections: executive summary, methodology, detailed findings, attack narrative, and recommendations with remediation guidance.
- Limitations and assumptions prevent the report being read as covering what was not tested.
- CVSS v4.0 has base, threat, environmental and supplemental groups; include vectors and explain risk ratings.
- Legal, ethical, quality control and AI considerations shape the whole report.
- Reports are confidential and delivered through secure, logged channels.
- Executive summary
- A short, non-technical overview of a report's purpose, results and priorities for leaders.
- Attack narrative
- A chronological account of how testers chained findings to reach their most significant results.
- Format alignment
- Matching a report's structure and style to the client's template, frameworks and audiences.
- Documentation specifications
- Agreed requirements for a report's content, fields, format and delivery.
- CVSS
- Common Vulnerability Scoring System, a 0 to 10 severity scoring method maintained by FIRST.
- Limitations
- Parts of the environment or techniques not tested, and constraints that affected testing.
- Quality control
- Reviews that check a report's accuracy, consistency and clarity before delivery.
Practice problems
Work each problem on paper first, then reveal the answer to check.
What CVSS v4.0 rating corresponds to a score of 7.4?
Show answer
High (7.0 to 8.9).
Which report section would an auditor read to confirm that the card environment's segmentation was tested?
Show answer
Scope and methodology, supported by the relevant detailed finding.
Why include the reproduction steps in each finding?
Show answer
So the client can confirm the issue and later verify the fix.
Name two risks of using generative AI in report writing.
Show answer
Client data leaving the firm's control, and confident but wrong output such as invented CVE numbers.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.