White Hat vs Black Hat vs Grey Hat
One of the first instances of an ethical hack being used was a “security evaluation” conducted by the United States Air Force, in which the Multics operating systems was tested for “potential use as a two-level (secret/top secret) system.” The evaluation determined that while Multics was “significantly better than other conventional systems,” it also had “… vulnerabilities in hardware security, software security and procedural security” that could be uncovered with “a relatively low level of effort.”[7] The authors performed their tests under a guideline of realism, so their results would accurately represent the kinds of access an intruder could potentially achieve. They performed tests involving simple information-gathering exercises, as well as outright attacks upon the system that might damage its integrity; both results were of interest to the target audience. There are several other now unclassified reports describing ethical hacking activities within the US military.
By 1981 The New York Times described white hat activities as part of a “mischievous but perversely positive ‘hacker’ tradition”. When a National CSS employee revealed the existence of his password cracker, which he had used on customer accounts, the company chastised him not for writing the software but for not disclosing it sooner. The letter of reprimand stated “The Company realizes the benefit to NCSS and in fact encourages the efforts of employees to identify security weaknesses to the VP, the directory, and other sensitive software in files”.[8]
The idea to bring this tactic of ethical hacking to assess security of systems was formulated by Dan Farmer and Wietse Venema. With the goal of raising the overall level of security on the Internet and intranets, they proceeded to describe how they were able to gather enough information about their targets to have been able to compromise security if they had chosen to do so. They provided several specific examples of how this information could be gathered and exploited to gain control of the target, and how such an attack could be prevented. They gathered up all the tools they had used during their work, packaged them in a single, easy-to-use application, and gave it away to anyone who chose to download it. Their program, called Security Administrator Tool for Analyzing Networks, or SATAN, was met with a great amount of media attention around the world in 1992.[
