Conducting Network Penetration Test
Overview
Internal and external network penetration test following PTES methodology. You enumerate hosts, discover services, identify vulnerabilities, and demonstrate impact through controlled exploitation — then deliver a compliance-grade report that satisfies PCI-DSS ASV scanning requirements, SOC 2 Type II controls, HIPAA Security Rule risk assessments, and ISO 27001 Annex A.12.6.
This is the baseline security service every compliance framework mandates. No org that answers to a board or auditor skips it.
When to Use
Trigger phrases:
- "conduct network pentest" / "network penetration test"
- "internal network assessment" / "external network assessment"
- "assess network security posture" / "infrastructure security review"
- "PCI ASV scan" / "compliance pentest" / "SOC 2 network test"
- "Kali network audit" / "Nmap vulnerability assessment"
Appropriate contexts:
- Pre-deployment infrastructure audit before prod cutover
- Annual compliance testing (PCI-DSS 11.3, SOC 2 CC7.1, HIPAA 164.308)
- Post-breach network reassessment to validate containment
- M&A network security due diligence
- Insurance-mandated penetration test for cyber policy qualification
- Firewall rule and segmentation validation
Do not use without signed Rules of Engagement. Never test production systems outside an approved change window. Not for DoS/DDoS testing unless explicitly scoped. Not a replacement for a web application pentest — network and app tests are separate deliverables.
Prerequisites
- Signed Rules of Engagement (RoE): target IP ranges, excluded hosts, maintenance window, escalation contacts
- Written authorization letter (get-out-of-jail) from asset owner with client legal sign-off
- Kali Linux workstation with Nessus (or alternative) license, Metasploit Pro (or community), and current tool updates
- VPN or direct L2/L3 access for internal; public IP for external scope
- Out-of-band chat channel with client SOC/IR team (Slack, Teams, phone)
- Scope document: explicit in-scope CIDRs, out-of-scope systems (medical devices, SCADA, OT, management networks)
Money-Making Overview
Target Buyer
Compliance-driven CISOs, IT Directors, and MSP/MSSP procurement at companies that need audit evidence:
- Mid-market ($50-500M rev) — annual PCI/SOC 2 requirement, no internal pentest team
- Regulated startups (fintech, healthtech, legal tech) — SOC 2 Type I/II in progress
- MSPs reselling security assessments to their SMB client base
- Insurance carriers underwriting cyber policies that require pentest evidence
You sell evidence, not hacking. The deliverable is the report that goes in the auditor's binder.
Service Tiers
| Tier |
Price (USD) |
Scope |
Deliverables |
Timeline |
| Basic |
$2,000 |
Single external range (/24), unauthenticated scan + 5 vuln validations |
Executive summary, findings table, CVSS-scored, PDF report |
1 week |
| Pro |
$5,000 |
Internal + external (/23 each), authenticated scanning (AD creds), 15 validated exploits, persistence attempt |
Tier 1 + replay PoCs, network topology map, MITRE ATT&CK mapping, remediation workshop (1h) |
2 weeks |
| Enterprise |
$8,000 |
Full-scope internal/external (/22 or 10 /24s), segmentation testing, wireless assessment, AD attack path validation, purple-team handoff |
Tier 2 + ROE packet, segmentation test results, retest validation, exec presentation, 90-day remediation tracking |
3-4 weeks |
Pricing notes: Adjust $500-1000 for same-region compliance (PCI APAC, GDPR EU). Add $1500 for rush (72h window). Wireless add-on: +$1500. AD attack path: +$2000. Retest (validation scan): 50% of tier price.
First-Dollar Timeline
- Day 1-2: Deliver signed ROE + schedule kickoff call
- Day 3: Run First Action script below → initial findings
- Day 5: Manual exploitation + validation of top-10 findings
- Day 7: Basic deliverable complete — invoice sent
- Pro/Enterprise adds 5-10 days for authenticated testing, topology mapping, and remediation workshop
First Action in 60 Minutes
Run this script from your Kali workstation after receiving the signed scope. It performs host discovery, port scanning, service enumeration, and vulnerability scanning — then packages everything into a structured findings directory.
#!/bin/bash
# =============================================================================
# network-pentest-scout.sh — Automated Network Pentest Initial Scan
# =============================================================================
# Usage: ./network-pentest-scout.sh <target_cidr> <engagement_name>
# Example: ./network-pentest-scout.sh 192.168.1.0/24 acme-corp-Q1-2026
#
# Output: ./<engagement_name>/
# ├── 01-recon/ — Nmap host discovery + port scans
# ├── 02-vuln/ — Vuln scan results (NSE + optional Nessus)
# ├── 03-evidence/ — Raw PCAPs, screenshots, proofs
# ├── findings.csv — Consolidated finding list (CVSS 4.0)
# └── report.md — Draft executive report
# =============================================================================
set -euo pipefail
TARGET="${1:?Usage: $0 <target_cidr> <engagement_name>}"
ENGAGEMENT="${2:-network-pentest-$(date +%Y%m%d)}"
BASE="$PWD/$ENGAGEMENT"
mkdir -p "$BASE"/{01-recon,02-vuln,03-evidence}
echo "[+] Starting reconnaissance against $TARGET"
# --- Phase 1: Host Discovery ---
echo "[1/5] Host discovery (ping sweep)..."
nmap -sn -T4 "$TARGET" -oA "$BASE/01-recon/host-discovery" 2>/dev/null
grep -oP 'Nmap scan report for \K\S+' "$BASE/01-recon/host-discovery.nmap" \
> "$BASE/01-recon/live-hosts.txt"
LIVE_COUNT=$(wc -l < "$BASE/01-recon/live-hosts.txt")
echo " -> $LIVE_COUNT live hosts found"
# --- Phase 2: Port & Service Scan ---
echo "[2/5] Port scanning all TCP ports on live hosts..."
nmap -Pn -sV -sC -p- --min-rate=1000 \
-iL "$BASE/01-recon/live-hosts.txt" \
-oA "$BASE/01-recon/full-tcp-scan" 2>/dev/null
# --- Phase 3: Quick Vulnerability Scan (NSE) ---
echo "[3/5] Running NSE vulnerability scripts..."
nmap -Pn -sV --script vuln \
-iL "$BASE/01-recon/live-hosts.txt" \
-oA "$BASE/02-vuln/nse-vuln-scan" 2>/dev/null
# --- Phase 4: Extract Findings ---
echo "[4/5] Extracting findings and building CSV..."
echo "host,port,service,severity,description" > "$BASE/findings.csv"
awk '/^Nmap scan report/{h=$NF} /vuln/{for(i=2;i<=NF;i++){if($i~"^[0-9]"&&$(i+1)~"/tcp"){p=$i;sv=$(i+2)}}
/VULNERABLE/{sev=$NF; desc=$0; printf "%s,%s,%s,%s,\"%s\"\n",h,p,sv,sev,desc >> "'"$BASE"'/findings.csv"}' \
"$BASE/02-vuln/nse-vuln-scan.nmap" 2>/dev/null || true
# --- Phase 5: Generate Report Draft ---
echo "[5/5] Generating draft report..."
cat > "$BASE/report.md" << REPORT
# Network Penetration Test Report — $ENGAGEMENT
**Date:** $(date -I)
**Tester:** $(whoami)
**Target Scope:** $TARGET
---
## Executive Summary
A network penetration test was conducted against the defined scope.
$LIVE_COUNT hosts were discovered on the target network.
## Key Findings
$(python3 -c "
import csv
with open('$BASE/findings.csv') as f:
r = csv.reader(f); next(r)
vulns = list(r)
print(f'- Total potential findings: {len(vulns)}')
ips = set(v[0] for v in vulns if v)
print(f'- Affected hosts: {len(ips)}')
print()
for v in vulns[:10]:
print(f'- {v[0]}:{v[1]} {v[2]} — {v[3]} — {v[4]}')
" 2>/dev/null || echo " (Findings incomplete — continue manual validation)")
## Scope
- **Target CIDR:** $TARGET
- **Methodology:** PTES (Penetration Testing Execution Standard)
- **Classification:** Confidential — for authorized recipients only
## Next Steps
1. Manually validate each finding (confirm false positives vs. true positives)
2. Attempt controlled exploitation of confirmed vulnerabilities
3. Perform post-exploitation / lateral movement assessment (if in scope)
4. Produce final report with remediation guidance
REPORT
echo "[+] Done. Engagement directory: $BASE"
echo " Report draft: $BASE/report.md"
echo " Findings CSV: $BASE/findings.csv"
echo " Scan results: $BASE/01-recon/ $BASE/02-vuln/"
Run this after the ROE is signed. It produces a structured directory you can immediately use to start the manual validation phase.
Workflow (PTES Methodology)
Phase 1: Pre-Engagement
- Sign ROE with client — target ranges, exclusions, hours, emergency contact
- Set up isolated Kali VM or dedicated testing workstation
- Establish IR communication channel (client's SOC watch desk)
- Configure Nessus/OpenVAS credentials if authenticated scanning is in scope
Phase 2: Intelligence Gathering
- Passive recon: DNS enumeration (dnsrecon, fierce, dig), WHOIS, Shodan for external
- Active recon: Nmap ping sweep (-sn) to discover live hosts
- Identify network topology, VLAN segmentation, firewall rules through TTL analysis and traceroute
Phase 3: Vulnerability Identification
- Port scanning: Nmap full TCP (-p-) + top 1000 UDP (-sU --top-ports 1000)
- Service enumeration: Nmap -sV with version detection, banner grabbing (nc, telnet)
- Vulnerability scanning: NSE vuln scripts, Nessus/OpenVAS authenticated scan
- Manual fingerprinting: Web server headers, SNMP enumeration, SMB version detection
- Credential testing: Weak/default password checks, null session tests, default SNMP community strings
Phase 4: Controlled Exploitation
- Validate top findings — eliminate false positives manually
- Exploit confirmed vulns with minimum necessary impact:
- Metasploit module for known CVEs (EternalBlue, BlueKeep, SMBGhost, Log4Shell)
- Manual exploitation (unauthenticated RCE via vulnerable web services, default creds on appliances)
- Credential replay (pass-the-hash, Kerberoasting for AD environments)
- Demonstrate business impact — show what an attacker could access (financial data, PII, domain admin)
- Screenshot every successful exploitation step (evidence package)
Phase 5: Post-Exploitation / Lateral Movement (if scoped)
- Enumerate AD attack paths with BloodHound
- Attempt lateral movement via PSExec, WMI, WinRM, SMB
- Test segmentation controls — can you reach the PCI CDE or HR database from a compromised workstation?
- Escalate privileges — local admin on workstation → domain admin?
Phase 6: Reporting
- Compile findings with CVSS 4.0 scores, evidence screenshots, and remediation guidance
- Executive summary (non-technical) + technical appendix
- Remediation workshop (Pro tier+) — walk through each finding with the client's IT team
- Deliver final PDF + editable format (DOCX)
- Offer retest (validation scan) after client remediates — bill at 50% of tier
Deliverable Format
The final report follows this structure. Every client receives a branded PDF; Pro+ includes an editable DOCX.
# Network Penetration Test Report
## [Client Name] — [Engagement Date]
**Tester:** [Name / Company]
**Classification:** Confidential
---
### 1. Executive Summary (1 page max)
- Engagement objective and scope
- Overall risk rating (Critical / High / Moderate / Low)
- Key finding: "X critical, Y high, Z moderate vulnerabilities identified"
- One-sentence business impact
- Top 3 recommended actions
### 2. Engagement Overview
- **Methodology:** PTES
- **Scope:** [CIDR ranges, domains]
- **Testing Dates:** [start] — [end]
- **Tools:** Nmap, Nessus, Metasploit, CrackMapExec, BloodHound, Impacket
- **Exclusions:** [out-of-scope hosts, reasons]
### 3. Findings Summary
| ID | Host | Port/Service | Vulnerability | CVSS 4.0 | Risk | Status |
|----|------|-------------|--------------|----------|------|--------|
| NET-001 | 10.0.1.45 | 445/SMB | MS17-010 RCE | 9.8 | Critical | Confirmed |
| NET-002 | 10.0.1.22 | 3389/RDP | CVE-2019-0708 BlueKeep | 9.8 | Critical | Confirmed |
### 4. Detailed Findings
For each finding:
- **Host:** IP and hostname
- **Service:** Port, protocol, service name, version
- **Vulnerability:** CVE ID, CVSS 4.0 vector string
- **Evidence:** Nmap output, exploitation PoC screenshot, Metasploit console output
- **Risk:** Likelihood + Business Impact assessment
- **Remediation:** Step-by-step fix (patch version, config change, firewall rule)
- **References:** CVE link, vendor advisory, MITRE ATT&CK technique
### 5. Methodology Details
- Reconnaissance results (live hosts, OS fingerprinting)
- Network topology diagram (Visio/Draw.io export)
- Vulnerabilities discovered per host
- Exploitation chain walkthrough (critical findings only)
### 6. Remediation Roadmap
| Priority | Action | Owner | Timeline |
|----------|--------|-------|----------|
| Critical | Patch SMB on all Windows servers | IT Ops | 7 days |
| High | Disable RDP on non-admin workstations | IT Ops | 14 days |
| Moderate | Update SNMP community strings | Network | 30 days |
### 7. Raw Artifacts (Appendix)
- Full Nmap scan results
- Nessus/OpenVAS export
- PCAP files from exploitation
- Screenshot evidence log
Invoice-ready line items:
Line Item Qty Rate Total
─────────────────────────────────────────────────────────────────────────────
Basic Network Penetration Test (external /24) 1 $2,000 $2,000
Vulnerability validation (5 findings) 1 incl. incl.
Executive summary + Findings report (PDF) 1 incl. incl.
─────────────────────────────────────────────────────────────────────────────
Total $2,000
Email template for proposal delivery:
Subject: Network Penetration Test Proposal — [Client Name]
[Client],
Following our discussion, here is the proposal for your annual
network penetration test required for [compliance framework].
Scope: [CIDR ranges]
Timeline: [start] — [end]
Deliverable: Compliance-grade PDF report + retest option
Cost: $[amount]
Quote ref: [number]
The deliverable includes the executive summary, CVSS-scored findings,
evidence screenshots, and step-by-step remediation guidance.
Ready to book the maintenance window?
Best,
[Your Name]
Anti-Rationalization Table
| Rationalization |
Reality |
| "We already run Nessus internally" |
Nessus finds symptoms. A pentester chains them into an attack path that demonstrates real business impact — something no scanner can do. |
| "We passed our PCI ASV scan, we're fine" |
ASV scans are external and unauthenticated. An internal authenticated pentest finds 10x more critical vulnerabilities. PCI requires BOTH. |
| "Our network is fully patched" |
Every field engagement finds default creds, exposed management interfaces, and misconfigured ACLs on "fully patched" networks. Patch level ≠ security posture. |
| "We'll do it ourselves with the internal team" |
Independence requirement: auditors will not accept self-performed tests. You need an external party. |
| "A pentest is too expensive for our budget" |
The average ransomware demand covers 20 pentests. One finding prevented = entire engagement paid for. |
| "We just did one last year" |
Attack surface changes every quarter — new devices, config changes, personnel turnover. Annual testing is the minimum, not the gold standard. |
| "I need more certs before I can sell this" |
You need one paying client, not one more cert. OSCP helps, but 10 clean report deliveries matter more to buyers. Start with a friend's company. |
| "There are no vulnerabilities — our firewall is enterprise-grade" |
Firewalls don't prevent credential reuse, SMB relay, or misconfigured services behind them. We test what the firewall protects, not the firewall itself. |
Tools
- Nmap — Host discovery, port scanning, service detection, NSE vuln scripts
- Nessus / OpenVAS — Authenticated vulnerability scanning
- Metasploit (Pro or Community) — Exploitation framework for validated CVEs
- CrackMapExec — SMB enumeration, credential spraying, lateral movement
- BloodHound / SharpHound — Active Directory attack path mapping
- Impacket — psexec, wmiexec, smbexec, secretsdump for post-exploitation
- Responder — LLMNR/NBT-NS poisoning for credential capture
- Hashcat — Offline password hash cracking
- Wireshark / tcpdump — Packet capture for evidence and protocol analysis
- Burp Suite — Web service testing within scope (manager interfaces, API endpoints)
- Draw.io / Excalidraw — Network topology documentation
- Jira / Notion — Finding tracking and client communication
Verification
1---2name: conducting-network-penetration-test3description: Use when conducts comprehensive network penetration tests against authorized target environments by performing host discovery, port scanning, service enumeration, vulnerability identification, and controlled exploitation to assess the security posture of network infrastructure. The tester follows PTES methodology from reconnaissance through post-exploitation and reporting. Use when working with conducting network penetration test.4license: Apache-2.05---678# Conducting Network Penetration Test910## Overview1112Internal and external network penetration test following PTES methodology. You enumerate hosts, discover services, identify vulnerabilities, and demonstrate impact through controlled exploitation — then deliver a compliance-grade report that satisfies PCI-DSS ASV scanning requirements, SOC 2 Type II controls, HIPAA Security Rule risk assessments, and ISO 27001 Annex A.12.6.1314This is **the** baseline security service every compliance framework mandates. No org that answers to a board or auditor skips it.1516## When to Use1718**Trigger phrases:**19- "conduct network pentest" / "network penetration test"20- "internal network assessment" / "external network assessment"21- "assess network security posture" / "infrastructure security review"22- "PCI ASV scan" / "compliance pentest" / "SOC 2 network test"23- "Kali network audit" / "Nmap vulnerability assessment"2425**Appropriate contexts:**26- Pre-deployment infrastructure audit before prod cutover27- Annual compliance testing (PCI-DSS 11.3, SOC 2 CC7.1, HIPAA 164.308)28- Post-breach network reassessment to validate containment29- M&A network security due diligence30- Insurance-mandated penetration test for cyber policy qualification31- Firewall rule and segmentation validation3233**Do not use** without signed Rules of Engagement. Never test production systems outside an approved change window. Not for DoS/DDoS testing unless explicitly scoped. Not a replacement for a web application pentest — network and app tests are separate deliverables.3435## Prerequisites3637- Signed Rules of Engagement (RoE): target IP ranges, excluded hosts, maintenance window, escalation contacts38- Written authorization letter (get-out-of-jail) from asset owner with client legal sign-off39- Kali Linux workstation with Nessus (or alternative) license, Metasploit Pro (or community), and current tool updates40- VPN or direct L2/L3 access for internal; public IP for external scope41- Out-of-band chat channel with client SOC/IR team (Slack, Teams, phone)42- Scope document: explicit in-scope CIDRs, out-of-scope systems (medical devices, SCADA, OT, management networks)4344## Money-Making Overview4546### Target Buyer4748**Compliance-driven CISOs, IT Directors, and MSP/MSSP procurement** at companies that need audit evidence:49- Mid-market ($50-500M rev) — annual PCI/SOC 2 requirement, no internal pentest team50- Regulated startups (fintech, healthtech, legal tech) — SOC 2 Type I/II in progress51- MSPs reselling security assessments to their SMB client base52- Insurance carriers underwriting cyber policies that require pentest evidence5354You sell **evidence**, not hacking. The deliverable is the report that goes in the auditor's binder.5556### Service Tiers5758| Tier | Price (USD) | Scope | Deliverables | Timeline |59|------|-------------|-------|-------------|----------|60| **Basic** | $2,000 | Single external range (/24), unauthenticated scan + 5 vuln validations | Executive summary, findings table, CVSS-scored, PDF report | 1 week |61| **Pro** | $5,000 | Internal + external (/23 each), authenticated scanning (AD creds), 15 validated exploits, persistence attempt | Tier 1 + replay PoCs, network topology map, MITRE ATT&CK mapping, remediation workshop (1h) | 2 weeks |62| **Enterprise** | $8,000 | Full-scope internal/external (/22 or 10 /24s), segmentation testing, wireless assessment, AD attack path validation, purple-team handoff | Tier 2 + ROE packet, segmentation test results, retest validation, exec presentation, 90-day remediation tracking | 3-4 weeks |6364**Pricing notes:** Adjust $500-1000 for same-region compliance (PCI APAC, GDPR EU). Add $1500 for rush (72h window). Wireless add-on: +$1500. AD attack path: +$2000. Retest (validation scan): 50% of tier price.6566### First-Dollar Timeline6768- **Day 1-2:** Deliver signed ROE + schedule kickoff call69- **Day 3:** Run First Action script below → initial findings70- **Day 5:** Manual exploitation + validation of top-10 findings71- **Day 7:** Basic deliverable complete — invoice sent72- **Pro/Enterprise** adds 5-10 days for authenticated testing, topology mapping, and remediation workshop7374## First Action in 60 Minutes7576Run this script from your Kali workstation after receiving the signed scope. It performs host discovery, port scanning, service enumeration, and vulnerability scanning — then packages everything into a structured findings directory.7778```bash79#!/bin/bash80# =============================================================================81# network-pentest-scout.sh — Automated Network Pentest Initial Scan82# =============================================================================83# Usage: ./network-pentest-scout.sh <target_cidr> <engagement_name>84# Example: ./network-pentest-scout.sh 192.168.1.0/24 acme-corp-Q1-202685#86# Output: ./<engagement_name>/87# ├── 01-recon/ — Nmap host discovery + port scans88# ├── 02-vuln/ — Vuln scan results (NSE + optional Nessus)89# ├── 03-evidence/ — Raw PCAPs, screenshots, proofs90# ├── findings.csv — Consolidated finding list (CVSS 4.0)91# └── report.md — Draft executive report92# =============================================================================9394set -euo pipefail9596TARGET="${1:?Usage: $0 <target_cidr> <engagement_name>}"97ENGAGEMENT="${2:-network-pentest-$(date +%Y%m%d)}"98BASE="$PWD/$ENGAGEMENT"99100mkdir -p "$BASE"/{01-recon,02-vuln,03-evidence}101102echo "[+] Starting reconnaissance against $TARGET"103104# --- Phase 1: Host Discovery ---105echo "[1/5] Host discovery (ping sweep)..."106nmap -sn -T4 "$TARGET" -oA "$BASE/01-recon/host-discovery" 2>/dev/null107grep -oP 'Nmap scan report for \K\S+' "$BASE/01-recon/host-discovery.nmap" \108 > "$BASE/01-recon/live-hosts.txt"109110LIVE_COUNT=$(wc -l < "$BASE/01-recon/live-hosts.txt")111echo " -> $LIVE_COUNT live hosts found"112113# --- Phase 2: Port & Service Scan ---114echo "[2/5] Port scanning all TCP ports on live hosts..."115nmap -Pn -sV -sC -p- --min-rate=1000 \116 -iL "$BASE/01-recon/live-hosts.txt" \117 -oA "$BASE/01-recon/full-tcp-scan" 2>/dev/null118119# --- Phase 3: Quick Vulnerability Scan (NSE) ---120echo "[3/5] Running NSE vulnerability scripts..."121nmap -Pn -sV --script vuln \122 -iL "$BASE/01-recon/live-hosts.txt" \123 -oA "$BASE/02-vuln/nse-vuln-scan" 2>/dev/null124125# --- Phase 4: Extract Findings ---126echo "[4/5] Extracting findings and building CSV..."127echo "host,port,service,severity,description" > "$BASE/findings.csv"128129awk '/^Nmap scan report/{h=$NF} /vuln/{for(i=2;i<=NF;i++){if($i~"^[0-9]"&&$(i+1)~"/tcp"){p=$i;sv=$(i+2)}}130 /VULNERABLE/{sev=$NF; desc=$0; printf "%s,%s,%s,%s,\"%s\"\n",h,p,sv,sev,desc >> "'"$BASE"'/findings.csv"}' \131 "$BASE/02-vuln/nse-vuln-scan.nmap" 2>/dev/null || true132133# --- Phase 5: Generate Report Draft ---134echo "[5/5] Generating draft report..."135cat > "$BASE/report.md" << REPORT136# Network Penetration Test Report — $ENGAGEMENT137138**Date:** $(date -I)139**Tester:** $(whoami)140**Target Scope:** $TARGET141142---143144## Executive Summary145146A network penetration test was conducted against the defined scope. 147$LIVE_COUNT hosts were discovered on the target network.148149## Key Findings150151$(python3 -c "152import csv153with open('$BASE/findings.csv') as f:154 r = csv.reader(f); next(r)155 vulns = list(r)156print(f'- Total potential findings: {len(vulns)}')157ips = set(v[0] for v in vulns if v)158print(f'- Affected hosts: {len(ips)}')159print()160for v in vulns[:10]:161 print(f'- {v[0]}:{v[1]} {v[2]} — {v[3]} — {v[4]}')162" 2>/dev/null || echo " (Findings incomplete — continue manual validation)")163164## Scope165166- **Target CIDR:** $TARGET167- **Methodology:** PTES (Penetration Testing Execution Standard)168- **Classification:** Confidential — for authorized recipients only169170## Next Steps1711721. Manually validate each finding (confirm false positives vs. true positives)1732. Attempt controlled exploitation of confirmed vulnerabilities1743. Perform post-exploitation / lateral movement assessment (if in scope)1754. Produce final report with remediation guidance176177REPORT178179echo "[+] Done. Engagement directory: $BASE"180echo " Report draft: $BASE/report.md"181echo " Findings CSV: $BASE/findings.csv"182echo " Scan results: $BASE/01-recon/ $BASE/02-vuln/"183```184185Run this after the ROE is signed. It produces a structured directory you can immediately use to start the manual validation phase.186187## Workflow (PTES Methodology)188189### Phase 1: Pre-Engagement1901. Sign ROE with client — target ranges, exclusions, hours, emergency contact1912. Set up isolated Kali VM or dedicated testing workstation1923. Establish IR communication channel (client's SOC watch desk)1934. Configure Nessus/OpenVAS credentials if authenticated scanning is in scope194195### Phase 2: Intelligence Gathering1961. Passive recon: DNS enumeration (dnsrecon, fierce, dig), WHOIS, Shodan for external1972. Active recon: Nmap ping sweep (-sn) to discover live hosts1983. Identify network topology, VLAN segmentation, firewall rules through TTL analysis and traceroute199200### Phase 3: Vulnerability Identification2011. **Port scanning:** Nmap full TCP (-p-) + top 1000 UDP (-sU --top-ports 1000)2022. **Service enumeration:** Nmap -sV with version detection, banner grabbing (nc, telnet)2033. **Vulnerability scanning:** NSE vuln scripts, Nessus/OpenVAS authenticated scan2044. **Manual fingerprinting:** Web server headers, SNMP enumeration, SMB version detection2055. **Credential testing:** Weak/default password checks, null session tests, default SNMP community strings206207### Phase 4: Controlled Exploitation2081. Validate top findings — eliminate false positives manually2092. Exploit confirmed vulns with minimum necessary impact:210 - Metasploit module for known CVEs (EternalBlue, BlueKeep, SMBGhost, Log4Shell)211 - Manual exploitation (unauthenticated RCE via vulnerable web services, default creds on appliances)212 - Credential replay (pass-the-hash, Kerberoasting for AD environments)2133. Demonstrate business impact — show what an attacker could access (financial data, PII, domain admin)2144. Screenshot every successful exploitation step (evidence package)215216### Phase 5: Post-Exploitation / Lateral Movement (if scoped)2171. Enumerate AD attack paths with BloodHound2182. Attempt lateral movement via PSExec, WMI, WinRM, SMB2193. Test segmentation controls — can you reach the PCI CDE or HR database from a compromised workstation?2204. Escalate privileges — local admin on workstation → domain admin?221222### Phase 6: Reporting2231. Compile findings with CVSS 4.0 scores, evidence screenshots, and remediation guidance2242. Executive summary (non-technical) + technical appendix2253. Remediation workshop (Pro tier+) — walk through each finding with the client's IT team2264. Deliver final PDF + editable format (DOCX)2275. Offer retest (validation scan) after client remediates — bill at 50% of tier228229## Deliverable Format230231The final report follows this structure. Every client receives a branded PDF; Pro+ includes an editable DOCX.232233```markdown234# Network Penetration Test Report235## [Client Name] — [Engagement Date]236237**Tester:** [Name / Company]238**Classification:** Confidential239240---241242### 1. Executive Summary (1 page max)243- Engagement objective and scope244- Overall risk rating (Critical / High / Moderate / Low)245- Key finding: "X critical, Y high, Z moderate vulnerabilities identified"246- One-sentence business impact247- Top 3 recommended actions248249### 2. Engagement Overview250- **Methodology:** PTES251- **Scope:** [CIDR ranges, domains]252- **Testing Dates:** [start] — [end]253- **Tools:** Nmap, Nessus, Metasploit, CrackMapExec, BloodHound, Impacket254- **Exclusions:** [out-of-scope hosts, reasons]255256### 3. Findings Summary257| ID | Host | Port/Service | Vulnerability | CVSS 4.0 | Risk | Status |258|----|------|-------------|--------------|----------|------|--------|259| NET-001 | 10.0.1.45 | 445/SMB | MS17-010 RCE | 9.8 | Critical | Confirmed |260| NET-002 | 10.0.1.22 | 3389/RDP | CVE-2019-0708 BlueKeep | 9.8 | Critical | Confirmed |261262### 4. Detailed Findings263For each finding:264- **Host:** IP and hostname265- **Service:** Port, protocol, service name, version266- **Vulnerability:** CVE ID, CVSS 4.0 vector string267- **Evidence:** Nmap output, exploitation PoC screenshot, Metasploit console output268- **Risk:** Likelihood + Business Impact assessment269- **Remediation:** Step-by-step fix (patch version, config change, firewall rule)270- **References:** CVE link, vendor advisory, MITRE ATT&CK technique271272### 5. Methodology Details273- Reconnaissance results (live hosts, OS fingerprinting)274- Network topology diagram (Visio/Draw.io export)275- Vulnerabilities discovered per host276- Exploitation chain walkthrough (critical findings only)277278### 6. Remediation Roadmap279| Priority | Action | Owner | Timeline |280|----------|--------|-------|----------|281| Critical | Patch SMB on all Windows servers | IT Ops | 7 days |282| High | Disable RDP on non-admin workstations | IT Ops | 14 days |283| Moderate | Update SNMP community strings | Network | 30 days |284285### 7. Raw Artifacts (Appendix)286- Full Nmap scan results287- Nessus/OpenVAS export288- PCAP files from exploitation289- Screenshot evidence log290```291292**Invoice-ready line items:**293```294Line Item Qty Rate Total295─────────────────────────────────────────────────────────────────────────────296Basic Network Penetration Test (external /24) 1 $2,000 $2,000297Vulnerability validation (5 findings) 1 incl. incl.298Executive summary + Findings report (PDF) 1 incl. incl.299─────────────────────────────────────────────────────────────────────────────300Total $2,000301```302303**Email template for proposal delivery:**304```305Subject: Network Penetration Test Proposal — [Client Name]306307[Client],308309Following our discussion, here is the proposal for your annual310network penetration test required for [compliance framework].311312Scope: [CIDR ranges]313Timeline: [start] — [end]314Deliverable: Compliance-grade PDF report + retest option315Cost: $[amount]316Quote ref: [number]317318The deliverable includes the executive summary, CVSS-scored findings,319evidence screenshots, and step-by-step remediation guidance.320321Ready to book the maintenance window?322323Best,324[Your Name]325```326327## Anti-Rationalization Table328329| Rationalization | Reality |330|---|---|331| "We already run Nessus internally" | Nessus finds symptoms. A pentester chains them into an attack path that demonstrates real business impact — something no scanner can do. |332| "We passed our PCI ASV scan, we're fine" | ASV scans are external and unauthenticated. An internal authenticated pentest finds 10x more critical vulnerabilities. PCI requires BOTH. |333| "Our network is fully patched" | Every field engagement finds default creds, exposed management interfaces, and misconfigured ACLs on "fully patched" networks. Patch level ≠ security posture. |334| "We'll do it ourselves with the internal team" | Independence requirement: auditors will not accept self-performed tests. You need an external party. |335| "A pentest is too expensive for our budget" | The average ransomware demand covers 20 pentests. One finding prevented = entire engagement paid for. |336| "We just did one last year" | Attack surface changes every quarter — new devices, config changes, personnel turnover. Annual testing is the minimum, not the gold standard. |337| "I need more certs before I can sell this" | You need one paying client, not one more cert. OSCP helps, but 10 clean report deliveries matter more to buyers. Start with a friend's company. |338| "There are no vulnerabilities — our firewall is enterprise-grade" | Firewalls don't prevent credential reuse, SMB relay, or misconfigured services behind them. We test what the firewall protects, not the firewall itself. |339340## Tools341342- **Nmap** — Host discovery, port scanning, service detection, NSE vuln scripts343- **Nessus / OpenVAS** — Authenticated vulnerability scanning344- **Metasploit (Pro or Community)** — Exploitation framework for validated CVEs345- **CrackMapExec** — SMB enumeration, credential spraying, lateral movement346- **BloodHound / SharpHound** — Active Directory attack path mapping347- **Impacket** — psexec, wmiexec, smbexec, secretsdump for post-exploitation348- **Responder** — LLMNR/NBT-NS poisoning for credential capture349- **Hashcat** — Offline password hash cracking350- **Wireshark / tcpdump** — Packet capture for evidence and protocol analysis351- **Burp Suite** — Web service testing within scope (manager interfaces, API endpoints)352- **Draw.io / Excalidraw** — Network topology documentation353- **Jira / Notion** — Finding tracking and client communication354355## Verification356357- [ ] ROE signed and stored before any scan runs358- [ ] Host discovery complete — live hosts enumerated against scope359- [ ] Full TCP port scan on all live hosts; top UDP scan completed360- [ ] Service version detection on all open ports361- [ ] Vulnerability scan (NSE + Nessus/OpenVAS) completed and parsed362- [ ] Top-5 critical/high findings manually validated (not scanner-only)363- [ ] Controlled exploitation of at least 2 validated findings with evidence (screenshots, console output)364- [ ] False positives documented and excluded from final count365- [ ] Report drafted with executive summary, findings, and remediation roadmap366- [ ] Client remediation workshop delivered (Pro+ tier)367- [ ] Retest scheduled (if applicable) — bill at 50% of engagement368- [ ] Invoice submitted within 48h of report delivery