Black Box Vs. White Box
Penetration tests can be conducted in several ways. The most common difference is the amount of knowledge of the implementation details of the system being tested that are available to the testers. Black box testing assumes no prior knowledge of the infrastructure to be tested. The testers must first determine the location and extent of the systems before commencing their analysis. At the other end of the spectrum, white box testing provides the testers with complete knowledge of the infrastructure to be tested, often including network diagrams, source code, and IP addressing information. There are also several variations in between, often known as grey box tests. Penetration tests can also be described as "full disclosure" (white box), "partial disclosure" (grey box), or "blind" (black box) tests based on the amount of information provided to the testing party.
The relative merits of these approaches are debated. Black box testing simulates an attack from someone who is unfamiliar with the system. White box testing simulates what might happen during an "inside job" or after a "leak" of sensitive information, where the attacker has access to source code, network layouts, and possibly even some passwords.
The services offered by penetration testing firms span a similar range, from a simple scan of an organization's IP address space for open ports and identification banners to a full audit of source code for an application.
Read more about this topic: Penetration Test
Famous quotes containing the words black, box and/or white:
“Richard. Give me a calendar.
Who saw the sun today?
Ratcliffe. Not I, my lord.
Richard. Then he disdains to shine, for by the book
He should have braved the east an hour ago.
A black day will it be to somebody.”
—William Shakespeare (15641616)
“Sweet spring, full of sweet days and roses,
A box where sweets compacted lie;
My music shows ye have your closes,
And all must die.”
—George Herbert (15931633)
“We are all androgynous, not only because we are all born of a woman impregnated by the seed of a man but because each of us, helplessly and forever, contains the othermale in female, female in male, white in black and black in white. We are a part of each other. Many of my countrymen appear to find this fact exceedingly inconvenient and even unfair, and so, very often, do I. But none of us can do anything about it.”
—James Baldwin (19241987)