Security

Black box, grey box or white box: which penetration test do you need?

Many organisations struggle to choose the right type of penetration test. This guide covers the common targets, how to scope a test and the three testing styles.

Alister Joseph, CEO & Founder · LinkedIn
Updated October 2026 · 7 min read

We regularly speak with organisations in Sri Lanka and overseas that find it hard to decide which penetration test they need. This guide makes the choice simpler: first the common targets, then how to scope the test, then the three testing styles.

New to the topic? Start with our guide to vulnerability assessment and penetration testing.

Common penetration testing targets

  1. External infrastructure: internet-facing systems. To scope it, you need the number of external IP addresses, subnet sizes and sites.
  2. Internal infrastructure: servers and network devices inside your corporate network.
  3. Web applications: public websites and internal web portals. These usually take longest, depending on complexity and the number of input pages.
  4. Mobile applications: Android and iOS apps, tested according to how the app is used in your business.
  5. Wireless networks: weak encryption, unauthenticated access points and other WLAN misconfigurations.

How to scope a penetration test

Scope depends on why you are testing. Start from your goal and the assets involved:

Your goalAsk yourself
Assure that controls workWhich systems must the controls protect?
Launch a new product or serviceWhich assets support it?
Make a major infrastructure changeWhere did the change happen?
Build or use custom applicationsWhich applications and data are involved?
Prepare for a security standardWhat scope does the standard require?

Black box, grey box and white box testing

The next decision is how much information to share with the tester. This is not about confidentiality; it sets the perspective the test is run from.

Black box testing

The tester receives no information and works like an outside attacker, from initial access through to exploitation. It is the most realistic view of how an adversary with no inside knowledge would target you. Because of the research time involved, it is usually the most expensive option.

Grey box testing

The tester receives limited information, such as standard user credentials or target IP addresses. It can simulate an insider threat or an attacker who has already breached the perimeter. Grey box is often the preferred balance of efficiency and realism, because it skips time-consuming reconnaissance.

White box testing

The tester receives full information, including network maps and credentials. It suits a deep, targeted test of a specific system using as many attack paths as possible, and is especially useful during product development to find fixes before launch.

Which style should you choose?

Black boxGrey boxWhite box
Information sharedNoneLimitedFull
SimulatesExternal attackerInsider or breached attackerTargeted, informed attacker
DepthLowerBalancedHighest
Relative costHighestModerateModerate
Best forRealistic external viewMost regular assessmentsNew products and critical systems
Related serviceCybersecurity & Digital ResilienceSOC services, MDR, VAPT, red teaming, vCISO and compliance, aligned to NIST, ISO 27001 and Zero Trust.Explore cybersecurity →

Frequently asked questions

Which testing style is most common?

Grey box, because it balances realism with efficient use of testing time.

Is black box testing always better because it is more realistic?

Not always. A determined attacker has unlimited time, while a test does not, so a grey or white box test often finds more within the same budget.

How long does a penetration test take?

It depends on the targets and scope. A small external test may take a few days; complex web applications take longer.

Do you test mobile apps on both Android and iOS?

Yes. Scope is based on the number of Android and iOS apps and how they are used.

Related reading

Not sure which test you need? Ask us.

Tell us what you're planning. Email info@novacorp.global or call +94 11 717 0001.

Schedule a strategy consultationMeet a senior consultant. No obligation.
Nova Corp 425/3-1/1 Thimbirigasyaya Road, Colombo 05, Sri Lanka · info@novacorp.global · +94 11 717 0001 © 2026 Nova Corp (Pvt) Ltd · Privacy policy