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:
“[When asked: Will not woman suffrage make the black woman the political equal of the white woman and does not political equality mean social equality?:] If it does then men by keeping both white and black women disfranchised have already established social equality!”
—Anna Howard Shaw (18471919)
“To be black and an intellectual in America is to live in a box.... On the box is a label, not of my own choosing.”
—Stephen Carter (b. 1954)
“I waited alone, in the company of orchids, roses and violets wholike people waiting beside you, but to whom you are unknownmaintained a silence which their individuality of living things rendered more imposing and in their chilly manner received the heat from an incandescent coal fire, preciously placed behind a crystal glass, in a white marble tub where it dropped, from time to time, its dangerous rubies.”
—Marcel Proust (18711922)