⬢ Buyer's Guide · Updated May 2026

Black Box vs Grey Box vs White Box Penetration Testing

Black box, grey box and white box describe how much knowledge the tester is given before testing starts. The choice changes what gets found, how fast, and at what cost. Grey box is the standard for most compliance-driven engagements.

Clear scope, real exploitation, audit-ready evidence

A practical Penva Security guide for Australian teams comparing methodology, timelines, active testing effort and final evidence quality.
At-a-glance

Key buyer signals before you book

A compact summary of standards, phases, timing, deliverables and evidence requirements.
Quick Answer

The three knowledge models, in one paragraph

Black box, grey box and white box describe how much knowledge the tester is given before testing starts. Black box = no internal knowledge (simulates an external attacker). Grey box = partial knowledge (simulates an authenticated user). White box = full knowledge (simulates an insider with code access).

Quick answer

The three knowledge models, in one paragraph

Black box, grey box and white box describe how much knowledge the tester is given before testing starts. Black box = no internal knowledge (simulates an external attacker). Grey box = partial knowledge (simulates an authenticated user). White box = full knowledge (simulates an insider with code access).
Grey box is the standard for most compliance-driven engagements — it produces the best depth-to-time ratio because testers don’t waste days re-discovering what you already know about your system. Black box suits external-attacker realism; white box suits source-code-level review of high-stakes components.
Most Australian penetration tests are run as grey box engagements. Penva Security defaults to grey box unless your compliance framework or scope specifically requires otherwise. Many engagements combine approaches — black-box external testing plus grey-box authenticated testing in the same scope.
Certified & aligned with

Security Standards We Support

Recognised frameworks and methodologies used across Penva Security engagements.

CREST
OSCP
OWASP WSTG
PTES
CVSS
CWE / CVE
The Three Models

What Each One Tests

Each approach simulates a different attacker scenario. The right choice depends on which scenario you most need to test.

Black Box

Black Box Testing

Black box testing simulates a real external attacker with no insider information. The tester starts from zero and must discover everything — assets, technologies, user flows, authentication mechanisms — through their own reconnaissance.
Black box testing simulates a real external attacker with no insider information. The tester starts from zero and must discover everything — assets, technologies, user flows, authentication mechanisms — through their own reconnaissance.
Grey Box - Most Common

Grey Box Testing

Grey box testing simulates an authenticated user or partner with some inside knowledge. The tester gets enough information to skip rediscovery and focus testing time on finding actual vulnerabilities — particularly authorisation flaws and business logic.
Grey box testing simulates an authenticated user or partner with some inside knowledge. The tester gets enough information to skip rediscovery and focus testing time on finding actual vulnerabilities — particularly authorisation flaws and business logic.
White Box

White Box Testing

White box testing — sometimes called crystal box or glass box — gives the tester full insider access including source code. Used for deep code-level security review of high-stakes components and for situations where the attack scenario assumes a compromised insider.
White box testing — sometimes called crystal box or glass box — gives the tester full insider access including source code. Used for deep code-level security review of high-stakes components and for situations where the attack scenario assumes a compromised insider.
Direct Comparison

Side-by-Side Across 14 Dimensions

Direct comparison across the dimensions that matter when choosing. Highlighted column shows the typical engagement default.

Dimension
Black Box
Grey Box (Most Common)
White Box
Tester Knowledge
None
Partial
Full
Realism (external attacker)
Highest
Medium
Lowest
Realism (compromised insider)
Lowest
Medium
Highest
Finding Volume
Lower
Highest
Higher
Time to First Finding
Slowest (1-3 days)
Fastest (hours)
Medium
Cost per Finding
Highest
Lowest
Medium
Authorisation Testing
Limited
Comprehensive
Comprehensive
Business-Logic Testing
Limited
Comprehensive
Comprehensive
Code-Level Vulnerabilities
Often missed
Partial
Comprehensive
Cryptography Review
Minimal
Surface-level
Deep
Setup Overhead
Lowest
Low
Highest
Compliance Acceptance
Accepted
Default expectation
Accepted
Typical Cost (AUD)
Higher per scope
Standard pricing
Higher per scope
Typical Use Case
Red team / external
Most engagements
Code review / insider
Which to Choose

Match the Approach to Your Goal

Three decision cards — one per approach. Match your situation to find the right model. Most Australian engagements land in the middle.

Recommended when

Choose Black Box When

Recommended when

Choose Grey Box When

Recommended when

Choose White Box When

FAQ

Box-Testing Approaches — Common Questions

Direct answers to the questions buyers ask when choosing between black, grey, and white box engagements. Updated May 2026.

What's the difference between black box, grey box and white box pentesting?
These terms describe how much knowledge the tester is given before testing starts. Black box gives nothing — the tester starts with only a URL or IP, simulating an external attacker. Grey box gives partial knowledge — credentials for normal user accounts, documentation, role descriptions — simulating an authenticated user. White box gives everything — source code, architecture, admin credentials — simulating an insider or supporting a code-level security review.
Which one should I choose for my pentest?
For most Australian engagements: grey box. It produces the best depth-to-time ratio and tests the authorisation and business-logic flaws that cause real-world breaches. Choose black box for red team exercises or testing your external attack surface. Choose white box for high-stakes components (authentication, cryptography, payment flows) or insider-threat scenarios. Combinations are common — black-box external testing plus grey-box authenticated testing in the same scope.
Does my compliance framework specify which type to use?
Most frameworks don’t specify, but auditors have expectations. ISO 27001 Annex A.8.8, SOC 2 Trust Services CC7.1, PCI DSS v4.0.1 Req 11.4 and APRA CPS 234 are all framework-agnostic — they expect documented testing, not a specific knowledge model. In practice, grey box is the default expectation for most compliance-driven engagements because it produces the most useful evidence in the available budget.
Is black box testing 'more realistic' than grey box?
Only for one attack scenario — the unauthenticated external attacker. For most actual breaches, attackers either get credentials (phishing, credential stuffing, leaked secrets) or have legitimate access (insider, compromised partner). Grey box testing — simulating an authenticated user — better matches the realistic attacker post-initial-access, which is where most damage happens. Both have legitimate realism claims; they simulate different stages of an attack.
Why does black box cost more per finding?
Because testers spend the first several days re-discovering what you already know — your assets, technologies, user roles, authentication mechanism, URL structure. That’s days of expert time before any actual vulnerability testing starts. Grey box engagements skip that rediscovery phase, putting more testing hours into the parts of the work where bugs actually live. Same budget, deeper coverage.
Should we share source code with the pentest team?
Only for white box engagements where it’s necessary for code-level review of high-stakes components. For grey box engagements, source code isn’t required and often isn’t beneficial — testers benefit from operating as an authenticated user would, not as a developer reviewing code. If you do share source code, ensure your NDA covers it explicitly and the tester team includes someone with code-review credentials.
Can we do all three approaches in one engagement?
Yes, in sequence or in combination, but it’s rarely cost-effective for a single engagement. The typical pattern is: grey box for the main annual pentest, black box for periodic external-attack-surface testing or red team exercises, and white box for one-off code-level reviews of new high-stakes features. Most Australian businesses run grey box annually with occasional supplementary engagements rather than running all three at once.
Is white box just a code review?
No, but they overlap. A code review is a structured manual reading of source code looking for vulnerability patterns. White box pentesting uses the source code as an input to inform testing of the running system. The pentest still exercises the application; the source code informs where to look and helps explain unexpected behaviour. Code review + white box pentesting together produces the deepest security signal — but at significantly higher cost.
What's a 'crystal box' or 'glass box' test?
These are alternative names for white box testing — the tester has full visibility into the system being tested, like looking through a clear container. The terms are used interchangeably. ‘Crystal box’ is sometimes preferred when emphasising visibility; ‘glass box’ when emphasising transparency of the testing approach. They’re the same model.
Does Penva Security default to a specific approach?
Yes — grey box. Unless your scope, compliance framework, or specific scenario requires otherwise, Penva Security engagements run as grey box because it produces the best results for the typical Australian buyer. We’ll specifically ask during the scoping call whether your engagement needs black box (red team / external focus) or white box (code-level review) instead. The choice is always yours, not ours.
Next step

Not Sure Which Approach Fits Your Scope?

Book a free 30-minute scoping call. We’ll recommend the right knowledge model for your goals, scope and compliance framework. Fixed-price quote within 24 hours.

Not Sure Which Approach Fits Your Scope?

Book a free 30-minute scoping call. We’ll recommend the right knowledge model for your goals, scope and compliance framework. Fixed-price quote within 24 hours.