Black box, grey box and white box penetration testing differ in one thing: how much the tester is told before the work starts. Nothing, some, or everything. That single choice decides what the test can find, how long it takes and what the report can claim.
MSPs get asked to pick one on almost every quote, often by a client who heard the terms from an auditor. MSP Pentesting is channel-only, so the scoping call is with you, not your client. This is the comparison we walk partners through.
The short version
- Black box: the tester starts with a company name or a list of targets and no credentials. It answers "what can an outsider do?"
- Grey box: the tester gets limited information, such as a standard user login and a list of in-scope systems. It answers "what can someone with a foothold do?"
- White box: the tester gets full information, such as admin access, architecture diagrams and source code. It answers "what is wrong anywhere in this system?"
None of the three is the "real" one. They answer different questions, and the right pick depends on which question the client is paying to have answered.
Black box penetration testing
In a black box test the tester works like an external attacker. They find the exposed assets themselves, map what is running and try to break in with no inside help.
What it is good at. It shows what the internet can see and reach. It tests perimeter controls, exposed services and login pages the way a stranger would hit them. It is the natural fit for an external network test.
Where it falls short. Time spent on discovery is time not spent on depth. If the tester never gets past the login page, everything behind it goes untested, and the report cannot say much about it. A clean black box result means "we could not get in during this window," not "the application is secure."
More detail: black box penetration testing and what black box testing is.
Grey box penetration testing
In a grey box test the tester starts with partial knowledge. For a web application that means working accounts at each user role. For an internal network it means a standard domain account and a place on the network.
What it is good at. It skips the guessing and spends the hours on what matters: can a normal user read another customer's records, raise their own privileges, or move from a workstation to a server? Those are the findings that turn into breaches, and a tester with no login never reaches them.
Where it falls short. It assumes the attacker already has a foothold. That is a fair assumption, since stolen credentials and phished users are how many intrusions begin, but it does not measure how hard the foothold was to get.
More detail: what grey box testing is.
White box penetration testing
In a white box test nothing is hidden. The tester can read the source code, review the configuration and log in as an administrator while they attack the system from the outside.
What it is good at. Coverage. Flaws that would take weeks to stumble on from the outside are visible in the code or the config. It suits high-risk applications, software a client ships to its own customers, and anything where a missed flaw is expensive.
Where it falls short. It takes more preparation from the client, who has to hand over code, diagrams and privileged access. It also says less about what a real outsider would manage, because no outsider starts with that much.
More detail: white box penetration testing.
Side by side
- Information given. Black box: targets only. Grey box: user credentials and basic documentation. White box: admin access, diagrams and code.
- Attacker it models. Black box: an outsider. Grey box: a customer, an employee or an attacker with stolen credentials. White box: no single attacker, it is a full review.
- Depth behind the login. Black box: only if the tester breaks in. Grey box: yes, at every role provided. White box: yes, including code paths users never see.
- Client preparation. Black box: almost none. Grey box: test accounts and a scope list. White box: code access, environment access and a technical contact.
- Best fit. Black box: external network tests. Grey box: web applications, APIs and internal networks. White box: critical applications and pre-release software.
What the frameworks call it
The colors are industry shorthand, and the standards do not all use them. CIS Control 18 describes external testing as clear box or opaque box. PCI DSS asks for a defined methodology that covers the whole cardholder data environment from inside and outside the network, and its guidance describes black, white and grey box approaches without requiring one.
For a compliance-driven test, the auditor cares less about the label than about two things: the scope matched the requirement, and the tester had enough access to test it properly. A black box test of an application that never got past the login screen is a weak piece of evidence for an access control requirement.
Which one to quote
These are the pairings we recommend to partners.
- External network: black box. The whole point is the outsider's view. See external penetration testing.
- Internal network: grey box, starting from a network connection and a standard user account. This is the "assumed breach" model. See internal penetration testing.
- Web application or API: grey box with two accounts at each role, so the tester can check whether one user can reach another user's data. See web application penetration testing.
- Software the client sells, or an application that holds its most sensitive data: white box, or grey box with a code review added.
Scoping mistakes to avoid
- Choosing black box because it sounds more realistic. Real attackers are not on a deadline. A tester with a fixed number of days and no login will cover less than the client expects.
- Withholding credentials to "see if they can get in." Run that as its own objective if it matters, then give the tester accounts for the rest of the work.
- Promising white box without checking the client can deliver. If nobody can hand over source code or admin access on time, the engagement stalls.
- Letting the label replace the scope. "Grey box" tells nobody which systems, which roles or which environment. Write those down.
Questions clients ask
Is black box testing cheaper?
Not reliably. Price follows the size of the scope and the days of manual work, not the color. A black box test can take longer because discovery has to happen first.
Can one engagement mix approaches?
Yes, and many do. A common shape is a black box pass against the perimeter, then a grey box test of the application behind it.
Which one do auditors want?
Auditors want a scope that matches the requirement and a report that shows the method. For most compliance work that points to grey box, because it can show that access controls were tested from the inside.
Pick the question first
Decide what the client needs to know, then choose the amount of information that lets a tester answer it in the time available. Every manual pentest we deliver is done by OSCP-certified testers, under your brand, with the approach written into the scope before work starts.
Get a pentest quote and tell us what the client is trying to prove. We will recommend the approach and scope it with you.



.avif)
.png)
.png)
.png)

