How we run a pentest: three example engagements
An online store, an internal HR portal and a government’s public domains. Three attack perspectives, one AI-powered, expert-verified method: what we tested, what we found, and how each finding was fixed and retested.
Example engagement, illustrative: a composite scenario based on how we test. The organization, domains and findings are fictional.
AI-powered, expert-verified
The method behind every example
Each example engagement follows the same method: AI-guided recon and scanning, AI triage, expert verification and an AI-drafted, expert-reviewed report.
- Verified under the Cyber Verification Programs for Anthropic Claude and OpenAI Codex
- Self-hosted open-source AI models
- AI-guided recon
- AI scanning
- AI triage
- Expert verification
- AI-drafted report
One method, tracked end to end in WhyXpose
Every engagement follows the same six steps, with AI agents for speed and certified pentesters verifying every finding. What changes between a black-box and a grey-box test is what we are given at the start and how deep we go. All work, from the first scoped asset to the final retest, is recorded in the WhyXpose dashboard, so you see progress as it happens, not only in a PDF at the end.
-
STEP 01
Scope and recon
- Scope
- Agree targets, rules of engagement, testing windows and the box type. Out-of-scope systems are written down.
- Reconnaissance
- AI agents run recon and scanning for coverage, mapping subdomains, technologies, exposed services, leaked data and forgotten hosts, and choosing next steps.
-
STEP 02
Test and validate
- Testing
- Certified pentesters test by hand, guided by a checklist and the AI recon results. Business logic is always tested by a person.
- Validate and score
- AI triage drops false positives. A pentester reproduces every remaining finding, proves it safely and scores it. Nothing is reported on a scanner or AI hit alone.
-
STEP 03
Report and retest
- Report
- AI drafts the write-up: plain-language impact for management, exact steps and fixes for engineers, ranked by risk. A pentester reviews every word.
- Fix and retest
- Developers fix, we verify each fix, and the finding is closed only after it passes.
Black-, grey- and white-box testing
Which one fits depends on the question you want answered.
| Black box | Grey box | White box | |
|---|---|---|---|
| We start with | A domain or app name only | A normal user account and documentation | Source code, architecture, admin access |
| Answers | What can a stranger on the internet do? | What can a logged-in user or insider do? | Where is the code or design weak? |
| Depth | Realistic, breadth first | Deep on authorization and data | Deepest, line by line |
| Best for | Public sites, shops, government portals | Internal and multi-role applications | Pre-release and critical code |
Three scenarios, three attack perspectives
Each one walks through the scope, timeline, findings with CVSS 3.1 scores, the attack path and the fixes.
-
Example engagement 01
Black box E-commerceOnline store: attacking checkout as a stranger
Scenario: A mid-sized fashion retailer with a web shop and mobile app, around 40,000 orders a month.
10 findings in this scenario
- Critical 1
- High 2
- Medium 4
- Low 2
- Info 1
-
Example engagement 02
Grey box ManufacturingInternal portal: what can a regular employee reach?
Scenario: A manufacturing group of about 4,000 staff, with three internal apps for HR, finance and ticketing, used by five internal roles.
9 findings in this scenario
- Critical 0
- High 2
- Medium 4
- Low 2
- Info 1
-
Example engagement 03
Black box GovernmentPublic domains: mapping what a government really exposes
Scenario: A state-level department with more than 120 public subdomains across portals, campaigns and legacy sites.
10 findings in this scenario
- Critical 1
- High 3
- Medium 2
- Low 2
- Info 2