October 25, 2026
Black Box, Grey Box or White Box? Choosing the Right Pen Test for Each System
When a company asks for “a pen test”, the provider has to make a choice the buyer rarely sees: how much the testers are allowed to know…
By Affixcenter
1 min read
When a company asks for "a pen test", the provider has to make a choice the buyer rarely sees: how much the testers are allowed to know. That choice shapes what the test can find, and it is one reason two reports on the same application can look so different.
The three approaches, plus one that is not a pen test
- Black box: testers get only the target address. Good for seeing what an outside attacker finds, but may miss issues behind login or deep inside the app.
- Grey box: testers get user accounts and basic documentation. Usually the best balance of depth and cost for business applications and portals.
- White box: full access, including code or architecture. Suits critical systems and new builds, but takes more time.
- Automated scan only: useful for frequent hygiene checks between tests, but there is no exploitation, there are many false positives and logic flaws are missed.
Prepare before testing starts
- Test accounts for every role: ordinary users, approvers and administrators
- A list of URLs, API endpoints, roles and sensitive functions such as payments or exports
- Backups and a rollback plan if production is involved
- Written approval from the system owner and any hosting or cloud provider that needs notice
- One named contact who can answer questions and stop testing quickly
Good testers mix tools with manual work and follow recognised methods such as OWASP guidance and NIST SP 800–115. The test only pays off if each finding gets an owner, a date and a retest.
Full guide: https://affixcenter.com/blog/cyber-security-penetration-testing-services
Written by the team at Affix Center, a Mumbai-based IT services company. https://affixcenter.com/cybersecurity