Black box penetration testing is a test where pentesters start with no prior knowledge of your systems: no credentials, no diagrams and no source code. They attack the way an outside attacker would. PCI SSC guidance puts it plainly: “In a black-box assessment, the client provides no information prior to the start of testing.”

Testers receive only the targets agreed in writing, such as a domain, URL or IP range. Check whether targets-only suits your scope with our penetration testing checklist.

How black box penetration testing works, step by step

  1. Reconnaissance: Gathering open-source intelligence (OSINT), public records, DNS data and subdomains.
  2. Scanning and enumeration: Mapping live hosts, open ports and running services.
  3. Vulnerability identification: Finding outdated components, misconfigurations and exposed entry points.
  4. Exploitation: Proving impact within the rules of engagement. We report critical findings during the test, not only in the report.
  5. Post-exploitation and reporting: How far an attacker could pivot, then an Executive Summary and Technical Report with exploitation evidence and remediation (see a sample penetration test report). A retest is available after fixes.

Our typical pentest takes 1–3 weeks plus a few days for the report; black box spends more of that window on discovery.

Pros and cons of black box penetration testing

ProsCons
Real-world simulation: You see your systems as an outsider does, with zero insider access.Time-consuming: More tester-days go on discovery. PCI SSC notes black box “may require more time, money, and resources” to meet PCI DSS requirements.
Unbiased assessment: It finds forgotten assets. In our black box retail case study, “A black-box test breached the perimeter within 4 days.” It adds: “A forgotten marketing landing page with SQL injection exposed the entire customer database.”Limited coverage: Logic and permission flaws behind a login can stay hidden.
Perimeter focus: It tests what you expose to the internet, the core of an external network penetration test.Time-boxed: In a 1–3 week window, hours spent mapping aren’t spent on business logic.

In grey box web app tests with role accounts, we’ve found admin functions that vanish from the interface once a role is lowered but still run when the earlier request is sent directly. A no-account black box test can miss that difference.

Comparison with white box and grey box testing

  • White box: Testers get “full and complete details” (PCI SSC’s wording), which can include source code.
  • Grey box: Testers get “partial details”, usually role-based test accounts and some documentation. You often need at least two accounts of the same role plus one per permission level (see scoping a penetration test).
  • Black box: Testers get only the targets and discover everything else from the outside.

PCI SSC adds that “PCI DSS penetration tests are typically performed as either white-box or grey-box assessments.”

Black box vs grey box vs white box

ApproachWhat testers getSimulatesWhere tester-days goTypical fit
Black boxNoneOutside attackerDiscovery and mappingPerimeter, Black Friday readiness
Grey boxPartialLogged-in userAccess control and business logicWeb application and API testing
White boxFullInsider or architectDepth across full detailsCritical apps before release

(Note: for a web application, grey box usually fits; our standard web application penetration test or API penetration test costs $2,500–$5,500. For a cloud environment, a cloud penetration test on AWS or Azure falls under our cloud audit tier at $5,000–$12,000+. For your external network perimeter, a black box external perimeter test is quoted individually. The box changes your tester-days; see penetration testing pricing.)

Fixed-price quote

Not sure which box fits your scope?

Tell us what you want tested and we’ll quote the right box in tester-days.

Request a Pentest Quote

Sources: PCI SSC Penetration Testing Guidance v1.1.

Get a quote Sample report