Cybersecurity
What is Black Box Testing?
Also called closed box testing.
Short definition
Black box testing is a security testing approach carried out without any internal information about the system, so the tester sees the system exactly as an outside attacker would.
How it works
The tester is given only a starting point, such as a website address, with no accounts, source code, or architecture diagrams. They have to discover the exposed pages, features, and services on their own, then look for weaknesses from the outside. This approach answers one clear question: what can a stranger who knows nothing about your system achieve?
Black box, grey box, and white box
In grey box testing, the tester gets partial information, usually a regular user account, so they can check what happens after login. White box testing grants full access, including source code and configuration. The more information provided, the deeper and more efficient the testing, but the further it moves from an outside attacker's point of view.
Example in a company
Companies with a company profile website and a contact form often choose black box testing, because what they want to know is their exposure to the internet. Companies with a customer portal usually choose grey box testing, since most of the risk actually sits behind the login page.
Related terms
Resources
- NIST Glossary: black box testing (csrc.nist.gov)