History of Hacking
Cybersecurity and the History of Hacking
What “hacking” means
The meaning of hacking has changed over time. In the 1960s, members of an MIT model train club used hack and hacker to describe creative, unconventional ways of working with technology. The term suggested experimentation and curiosity, not necessarily wrongdoing.
By the 1970s and 1980s, the public increasingly associated hacking with unauthorized access to computer systems. Today, cybersecurity professionals often distinguish hackers by their authorization, intentions, and behavior.
Hacker categories
White-hat hackers work with permission to find weaknesses, test defenses, and report vulnerabilities so they can be fixed. Their work reflects the original sense of hacking as creative exploration, while following agreed-upon boundaries.
Black-hat hackers access systems without permission to cause damage, steal information, commit fraud, or pursue other harmful goals.
Gray-hat hackers fall between these categories. They may claim to be acting for the public good, but they can investigate or access systems without authorization and cross legal or ethical boundaries.
The term hacker alone does not establish whether someone is acting lawfully or ethically; context, permission, and conduct matter.
How hacking evolved
Physical access in the early era
In the 1960s, computers were centralized in known locations, such as company data centers. Access was physically controlled with measures such as guards, cameras, locked doors, and badge readers. Without physical access to a computer, an attacker had few ways to interact with it.
This approach is sometimes summarized as “guards, guns, and gates”: security depended heavily on controlling entry to the place where the computer was kept.
Phone phreaking
Before networked computers were widely available, some attackers focused on the telephone system. Phone phreakers experimented with telephone equipment and signaling to manipulate phone services, make calls without paying, or access system controls.
Some telephone systems used tones to manage calls. In one historical example, a tone of 2,600 hertz could trigger a control function. A toy whistle distributed with Cap’n Crunch cereal happened to produce that tone, and some phreakers used it to manipulate telephone systems. This practice became less useful as telephone technology changed and long-distance calling charges became less central.
Modems, the internet, and remote access
During the 1970s, organizations increasingly made computer systems reachable through the public telephone network. A person could dial into a system through a modem and, if they had valid credentials, access it remotely. This made passwords and remote access controls more important than before.
The spread of the internet in the 1980s and especially the 1990s changed the scale of hacking. Systems became reachable across the world, creating valuable opportunities for communication and connection but also giving attackers far more targets. Security could no longer rely only on controlling access to a physical building.
Social engineering and influential hackers
Social engineering manipulates people rather than relying solely on technical weaknesses. It exploits habits such as trust, helpfulness, or willingness to respond to authority. An attacker may pretend to be someone else to persuade a person to reveal information or provide access.
Kevin Mitnick became one of the best-known hackers of his era and was particularly associated with social engineering. He used deception and impersonation to obtain information from people. He also abused the telephone system to make long-distance calls without paying, at a time when such calls generally carried a charge. He served five years in prison.
Some skilled hackers remain unknown because their actions were never detected or publicly attributed. Public notoriety is therefore not a reliable measure of skill or influence.
Why social engineering works
People commonly cooperate with others and assume good intentions. That tendency supports everyday social life, but it can also be exploited. For example, someone carrying objects in the rain may be allowed through a secured door by a person trying to be helpful. If the visitor does not use their own badge, the helpful person may unintentionally enable tailgating—an unauthorized person entering behind someone with legitimate access.
Social engineering remains effective because attackers adapt their methods. Common forms include:
Phishing: deceptive messages, commonly sent by email, that try to persuade recipients to reveal information, click a link, or take an unsafe action.
Smishing: phishing conducted through text messages or other SMS messages.
Vishing: phishing conducted through voice calls or voicemail.
Quishing: phishing that uses a QR code to direct someone to a deceptive destination.
Security depends not only on technology but also on recognizing that requests can be designed to exploit trust and urgency.
Protecting systems and networks
Hardening and basic defenses
Hardening means reducing unnecessary access and functionality so that a system is more difficult to compromise. Important measures include:
Changing default usernames and passwords, which may be widely known or easy to guess.
Turning off unnecessary services. Every enabled service can create another possible route into a system.
Keeping software up to date. Vendors regularly fix defects, including security vulnerabilities, and attackers may exploit known flaws in software that has not been patched.
Using multifactor authentication, which requires more than one kind of proof of identity rather than relying only on a password.
Voice recognition should not be treated as a foolproof authentication method. AI-generated deepfakes may be able to imitate voices, making voice-based identity checks vulnerable.
Firewalls and their limits
A firewall separates network areas with different levels of trust and applies rules to the traffic that passes between them. For example, an organization may use a firewall to control traffic between its internal network and the public internet. It acts as a gatekeeper, allowing some traffic and blocking other traffic according to a security policy.
Firewalls are useful, but they are not complete protection. A firewall can restrict network connections, but it does not by itself fix vulnerable software, prevent every form of deception, or make a system safe from all threats. In the early internet era, organizations often treated firewalls as a major protective barrier; that remains insufficient as a stand-alone strategy.
Confidentiality, integrity, and availability
The CIA triad describes three foundational goals of cybersecurity:
Confidentiality: information is available only to people or systems authorized to access it.
Integrity: information remains accurate and is not improperly altered or destroyed.
Availability: systems and information remain accessible when authorized users need them.
Security measures often support more than one of these goals. For example, ransomware can threaten availability by making data inaccessible, while a data breach threatens confidentiality.
Cryptography, open-source software, and keys
The fact that encryption software is open source does not inherently make its communications easy to decrypt. A foundational idea in cryptography, Kerckhoffs’ Principle, is that a cryptographic system should remain secure even if its design and algorithms are public. The secret should be the key, not the method.
A strong cryptographic algorithm can be examined by the public and still resist attempts to break it. In a properly designed system, knowing how the algorithm works should not reveal the secret key or provide a practical way to decrypt messages.
Key security
Encryption depends on the security of its keys:
Keys should be generated with sufficient randomness, making them difficult to guess.
Keys should be stored securely and protected from unauthorized access.
Sensitive keys may be kept in dedicated hardware designed to resist tampering. Some such devices erase a key if unauthorized access is detected, rendering the device unusable for its intended purpose.
A secure algorithm cannot protect information if its keys are exposed. The people included in a private group conversation also matter: encryption cannot prevent an authorized participant from sharing information with someone else.
The surface web, deep web, and dark web
The web can be described in layers, but the labels refer to accessibility and indexing, not necessarily to whether content is lawful or harmful.
Surface web: content indexed by search engines and generally discoverable through ordinary searches.
Deep web: content that is not indexed by public search engines. It includes ordinary, often private material such as business records and systems that require users to authenticate.
Dark web: a subset of the deep web that is not reached through ordinary browsing and generally requires specialized tools or knowledge of where to find it.
The deep web is not inherently suspicious; much of it consists of private or access-controlled information. The dark web is also not exclusively used for criminal activity. It can support whistleblowers, political dissidents, and journalists who need anonymity, particularly in places where free expression is restricted. At the same time, anonymity can facilitate illegal activity, and some sites may expose visitors to malware or other risks.
The distinction is therefore not simply “safe web” versus “criminal web.” It is important to consider how content is accessed, who can reach it, and what risks a particular service or site presents.
Major attacks and incidents
Website defacement
In 1996, the Central Intelligence Agency’s public website was reportedly altered for a short time to display the name “Central Stupidity Agency.” This was an example of electronic graffiti: an attack that changes a website to send a message or embarrass its owner. Its principal impact was reputational rather than physical or operational damage.
Stuxnet
Stuxnet was malware designed to target nuclear centrifuges in Iran. The targeted systems were not generally connected to the internet, so the malware had to be introduced through physical means. Once present, it manipulated centrifuge operation, causing equipment to speed up and slow down and thereby disrupting its function.
The incident showed that malware can be designed to affect physical industrial equipment, not just computers and stored data. Stuxnet was widely attributed in public reporting to the United States and Israel, although attribution in cyber incidents can be difficult to establish conclusively. The malware eventually spread to other systems, where antivirus tools detected it, making its operation more widely known.
The OPM data breach and personal information
A data breach involving the U.S. Office of Personnel Management exposed highly sensitive personal information, including fingerprints. The incident illustrates a basic risk of entrusting data to an organization: people whose information is collected may have limited control over how that organization protects it.
Practical responses include:
Providing personal information only when it is genuinely needed.
Considering what value or service is received in exchange for sharing data.
Using available credit-protection options, such as credit monitoring, a credit freeze, or a credit lock, where these are offered.
A credit freeze or similar measure can make it harder for someone to open a new credit account in another person’s name using stolen information. Available protections differ by country.
WannaCry
WannaCry was a major malware outbreak in 2017. During analysis, security researcher Marcus Hutchins discovered that the malware checked whether a particular domain name existed. He registered the domain, causing the check to succeed and activating a built-in kill switch that stopped the malware from continuing to spread.
This intervention limited further propagation but did not remove WannaCry from systems that were already infected. A kill switch can interrupt an outbreak without disinfecting affected computers or restoring damaged data.
Colonial Pipeline ransomware
In the Colonial Pipeline ransomware incident, the attackers’ malware did not directly shut down the pipeline. The company’s operators chose to stop operations as a precaution while they investigated the situation and assessed possible damage. This distinction matters: an organization may suspend services in response to uncertainty even when the malware has not directly taken control of the physical process.
The company paid a reported 5 million ransom and received a decryption tool, but the tool was too slow to restore the data effectively. The company relied on backups instead. The FBI later recovered about half of the ransom, but such recovery should not be expected in other cases. The episode demonstrates that paying a ransom does not guarantee fast, complete, or successful recovery.
Ransomware and human consequences
Cyberattacks can have consequences beyond financial losses or unavailable files. In one hospital ransomware case, systems became unavailable and emergency patients were redirected to other hospitals. One person died while being transported to a more distant facility. This illustrates how a cyber incident can indirectly affect health and safety when essential services are disrupted.
The damage caused by an attack can be measured in several ways, including financial cost, number of affected systems, disruption to daily life, and harm to or loss of human life.
Data privacy, ownership, and organizational policy
Organizations collect data because it has value to them. People therefore benefit from considering whether the service or benefit they receive is worth the information they provide. Once data has been collected, it may be exposed through poor security, misuse, or legal demands.
Concerns about a company’s ownership or location can be relevant, particularly if a government can compel it to hand over records. However, a company’s country of origin alone does not establish whether it will protect privacy. Privacy violations, manipulation, and misinformation can occur in many countries, and they can also happen unintentionally.
Banning an application is not automatically an effective solution. A ban may drive use underground, making it harder for an organization to monitor or manage the behavior. Organizations need to assess concrete risks, the sensitivity of the data involved, applicable legal obligations, and how a service is used rather than assuming that a ban alone will eliminate risk.
Voting technology and verifiable records
Paper ballots can provide an independent record of votes. If a counting machine fails or produces questionable results, physical ballots can be counted again. If votes exist only as electronic records and those records are lost or corrupted, there may be no equivalent paper record to check.
Electronic tools can still be useful, including for counting ballots, but a paper record allows the count to be audited or repeated. The central security principle is that important outcomes should have a reliable way to verify them independently of the technology that first processed them.
Password managers, passkeys, and authentication
No security tool is perfectly safe in every situation. Whether a password manager is safe enough depends on the product, how it is configured, where its data is stored, and how its main vault is protected.
A password manager stores many passwords behind a primary credential. If that credential is weak, an attacker who obtains it may gain access to the stored passwords. A strong primary password and multifactor authentication can improve protection.
Passkeys
Passkeys are a newer authentication approach based on cryptographic keys rather than a password that a person has to remember. The FIDO (Fast Identity Online) standards support this approach.
A passkey is kept on a user’s device and may be synchronized across that person’s other devices. The user typically unlocks the device, while the cryptographic exchange takes place in the background. Passkeys use a challenge-response process and are designed to resist phishing: instead of entering a reusable secret into a deceptive website, the device performs a cryptographic response associated with the legitimate service.
Many password managers can store both passwords and passkeys, so adopting passkeys does not necessarily require abandoning password management tools.
VPNs and online privacy
A virtual private network (VPN) can create an encrypted connection across a public network. Its original purpose was to protect sensitive information while it traveled over infrastructure that could be observed by others.
Many consumer VPNs also route a user’s traffic through a VPN provider’s access point. This can hide the user’s originating IP address from the destination service and prevent the internet service provider from seeing the contents of traffic protected by the VPN. The ISP can still see that the user is connecting to the VPN access point, but ordinarily cannot see beyond that point to the destinations reached through the tunnel.
A VPN changes who must be trusted; it does not eliminate the need for trust. The VPN provider may be able to observe where traffic goes, depending on the service and how it operates. A VPN can offer useful privacy protections, but it is not a guarantee of anonymity or a complete security solution. If the provider is compromised or untrustworthy, concentrating traffic through it may create a new risk.
Malware, viruses, and worms
The term malware covers software designed to cause harm or perform unauthorized actions. A virus is commonly understood as malware that infects files or programs, while a worm can replicate and spread automatically from system to system.
The Morris Worm, released in 1988, was one of the first major internet-spreading programs to make the scale of the threat apparent to the public. It spread automatically and reached a substantial portion of the internet before it was stopped. Its impact helped demonstrate that software could propagate across connected systems and cause widespread disruption.
A virus may overwrite or infect many files to increase the number of things it can spread through. That can make an infection more widespread and more difficult to remove. The ILOVEYOU virus is an example associated with overwriting files as part of its spread.
Detecting and reducing malware risk
Traditional antivirus tools often relied on signatures: recognizable patterns of bits associated with known malware. This approach is less effective against new or modified malware. Security tools therefore also look for suspicious behaviors, which may help identify threats that do not match known signatures.
Many malware infections exploit software vulnerabilities. Regular updates and automated patching have improved defenses by reducing the time systems remain exposed to known flaws. Keeping protective tools current and using them to detect and remove infections can also help.
Some malware may not remain active after a system is restarted, so rebooting can sometimes interrupt particular threats. However, restarting is not a substitute for scanning, patching, or otherwise cleaning an infected system.
Why phishing and scams remain effective
Awareness alone cannot eliminate phishing because the attacks exploit ordinary human behavior as well as technology. People may respond to an urgent request, trust a familiar-looking sender, or try to be helpful. Attackers continually change their tactics and use multiple communication channels, including email, text messages, phone calls, voicemail, and QR codes.
Effective defense combines caution with practical security controls. Individuals and organizations benefit from verifying unusual requests through a separate, trusted channel and avoiding decisions based only on urgency or apparent authority.
How hacking is portrayed versus how it works
Films often portray hacking as a fast, dramatic activity in which someone types a few commands and immediately takes control of a system. Real-world security work is often much less theatrical. It may involve extended, repetitive analysis and many unsuccessful attempts before a meaningful result is found.
Dramatic phrases such as “I’m in” are more useful for storytelling than as descriptions of routine cybersecurity work. The gap between entertainment and reality can obscure how much security depends on careful investigation, configuration, maintenance, and human judgment.

Ask anything
We've read this whole study set, so questions about it get the best answers.