A black hat hacker is a cybercriminal who breaks into computer systems without permission and with malicious intent — to steal money or data, deploy ransomware, spy, or disrupt operations. Unlike white hat hackers, who test systems with permission to improve security, black hat hackers act illegally, and their work drives most of the data breaches and ransomware attacks reported each year.
Key takeaways
- Black hat hackers break into systems illegally for money, data, espionage or disruption — intent is what separates them from white and gray hat hackers.
- Their most common entry points are phishing, stolen credentials, unpatched software and exposed remote access.
- Patching, phishing-resistant MFA, backups and a tested incident plan are the defenses that stop most black hat attacks.
Every ransomware demand, every leaked database of passwords, every fake invoice that drains a company account starts with the same person: a black hat hacker. They have the same skills as the security experts who defend networks — they just use them to break in instead of keeping people out.
What is a black hat hacker?
A black hat hacker is a cybercriminal who breaks into computer systems without permission and with malicious intent. They steal data or money, deploy ransomware, spy on victims, or disrupt services — and they do it for profit, espionage, revenge or the thrill of it.
Like all hackers, black hat hackers usually have deep knowledge of how networks, software and security controls work. They find weaknesses and exploit them, often by planting malware, stealing login credentials or tricking an employee into opening the door. The difference from other hackers is not skill. It is intent, permission and the law.
Black hat hackers range from amateurs spreading malware they bought online to organized groups running ransomware like a business, with affiliates, customer support and profit sharing. Some work alone. Some work for governments. The FBI, CISA and other agencies track them as a standing threat to businesses, hospitals, schools and critical infrastructure.
The scale is large. The FBI's Internet Crime Complaint Center received 191,561 phishing and spoofing complaints in 2025, and business email compromise — the money-focused form of this crime — caused about $3.05 billion in reported US losses that year, across 24,768 complaints.
Black hat vs white hat vs gray hat hackers
The hacker world is usually described with colored hats. The color describes the hacker's intent and whether they had permission — not how skilled they are. The same person can have the technical ability to wear any hat.
| Black hat | White hat | Gray hat | |
|---|---|---|---|
| Intent | Malicious: steal, extort, disrupt | Helpful: find and fix weaknesses | Mixed: no harm intended, no permission asked |
| Permission | Never | Always, in writing | No |
| Legal status | Illegal | Legal | Often illegal |
| Typical work | Ransomware, data theft, fraud | Penetration testing, bug bounties | Unsolicited vulnerability reports |
| Who pays them | Victims, data buyers, sponsors | Employers and bug bounty programs | Sometimes the vendor, sometimes nobody |
| Other names | Malicious hacker, cracker, threat actor | Ethical hacker, security researcher | — |
There are other labels too. Blue hat hackers are security experts invited to test systems, often through bug bounties. Red hat hackers are vigilantes who attack black hat infrastructure. Green hat hackers are beginners learning the craft. Hacktivists break in to promote a political cause. But black, white and gray are the three categories that matter most.
What do black hat hackers do?
Black hat hacking is not one activity. It is a set of techniques, usually combined into one attack, aimed at a single goal: money, data, access or disruption. These are the most common ones.
Ransomware
Ransomware encrypts a victim's files and demands payment, usually in cryptocurrency, for the decryption key. Modern gangs also steal data first and threaten to publish it, a tactic called double extortion. Ransomware-as-a-service lets less skilled criminals rent ready-made ransomware from developers and split the profits.
Data theft and sale
Stolen data is a product. Credit card numbers, login credentials, Social Security numbers and medical records are sold on dark-web marketplaces, used for identity theft, or used to break into further accounts. Credential stuffing — trying stolen passwords on other sites — works because people reuse passwords.
Business email compromise
In business email compromise, the attacker impersonates a boss, supplier or colleague to trick staff into sending money or changing bank details. The FBI counted about $3.05 billion in reported US losses from this one crime in 2025. Many of these messages contain no link and no attachment, which makes them hard for filters to catch. Our guide to what spear phishing is explains how these attacks are built.
Phishing and credential harvesting
Phishing pages imitate Microsoft 365, Google, DocuSign or a bank login, and harvest the passwords and MFA codes victims type in. Modern phishing kits relay credentials to the real site in real time, so one-time codes alone do not stop them. MITRE ATT&CK catalogues phishing as technique T1566.
Exploiting unpatched software
Attackers scan the internet for systems running software with known vulnerabilities, then exploit them automatically. This is how the Equifax breach happened: an unpatched flaw in the Apache Struts web framework, disclosed in March 2017, was exploited for months before the breach was found.
Espionage and disruption
State-sponsored black hat groups steal intellectual property, military secrets and political intelligence, or disrupt services during conflicts. These groups are patient, well funded and hard to detect, and they often stay inside a network for months.
What are real black hat hacker attacks?
Two cases show the range: a data breach that exposed nearly half the US population, and a ransomware attack that shut down a fuel pipeline.
Equifax, 2017: 147 million people exposed
Between mid-May and July 2017, attackers exploited a known, unpatched vulnerability in the Apache Struts web framework (CVE-2017-5638) on an Equifax dispute portal. They stole names, Social Security numbers, birth dates, addresses and, in some cases, driver's license and credit card numbers for about 147 million people.
The vulnerability had been disclosed in March 2017, and a patch was available — Equifax simply had not applied it. The US Department of Justice later attributed the attack to members of the Chinese military. The breach led to a settlement of up to $700 million and years of congressional scrutiny.
Colonial Pipeline, 2021: ransomware shuts down fuel
On 7 May 2021, the DarkSide ransomware group compromised Colonial Pipeline, the largest refined-products pipeline in the US. The company shut down operations for five days, causing fuel shortages and panic buying across the East Coast and a federal emergency declaration.
Colonial paid about $4.4 million in bitcoin to regain access. The FBI later confirmed DarkSide was responsible and the Department of Justice recovered about $2.3 million of the ransom in cryptocurrency. The entry point, according to investigators, was a compromised VPN account with a password that had leaked in an earlier breach — and no multi-factor authentication on the account.
Kevin Mitnick: the famous case
Kevin Mitnick was the most famous black hat hacker of the 1990s, known for social engineering — talking his way into access rather than breaking software. After serving prison time, he became a security consultant and author, and his career is the classic example of a black hat turning white hat.
How do black hat hackers get in?
Most black hat attacks do not start with a brilliant hack. They start with something ordinary: a password, an email or a missed patch. US agencies put it plainly in their joint phishing guidance: stopping the attack at phase one — the initial lure — is the cheapest place to break the chain.
- Phishing: a convincing email, text or call tricks someone into handing over a password or MFA code, or opening malware.
- Stolen credentials: passwords leaked in earlier breaches are tried against email, VPN and banking logins. Password reuse makes this very effective.
- Unpatched software: attackers scan for internet-facing systems running software with known flaws, then exploit them automatically.
- Exposed remote access: VPNs and remote-desktop services without MFA are a favorite target — as Colonial Pipeline showed.
- Malicious attachments and links: documents and archives that ask you to "enable content" install malware.
- Supply chain: compromising a trusted vendor or software update reaches all of that vendor's customers at once.
Once inside, attackers move quietly: they steal administrator credentials, disable security tools, map the network, copy out data, and only then deploy ransomware or send the fraudulent payment request. The average intrusion lasts days or weeks before the victim notices anything.
What motivates a black hat hacker?
Money is the main motive, but it is not the only one. Understanding the motive helps you understand what the attacker will do next.
- Financial gain: ransomware, stolen data for sale, bank fraud and business email compromise. This is the largest category by far.
- Espionage: stealing trade secrets, military information or political intelligence, usually by state-sponsored groups.
- Disruption: taking systems offline to cause chaos, punish a target or make a political point.
- Hacktivism: breaking in to embarrass an organization or promote a cause, often by defacing websites or leaking data.
- Reputation and thrill: some attackers, especially beginners, hack to prove themselves or for the excitement. The damage they cause is real even when the motive is not money.
How do you defend against black hat hackers?
No single tool stops black hat hackers. The goal is layers, so that when one fails, the next one catches the attack — and the attack becomes more expensive than it is worth.
For individuals
- Use a password manager and give every account its own long, random password. Check whether your passwords have already leaked with our pwned password checker.
- Turn on phishing-resistant MFA — passkeys or a hardware security key — on email, banking and cloud accounts. One-time codes can be phished; a security key cannot be tricked by a fake login page.
- Keep software updated, including your browser, operating system and router firmware.
- Slow down on urgency. Pressure to act now is the biggest warning sign of a phishing or fraud attempt.
For businesses
Patch internet-facing systems first. VPNs, email servers, firewalls and web applications should be patched within days of a fix, not months. Put MFA on every remote-access service — no exceptions.
Segment your network so that one compromised account cannot reach everything. Limit administrator rights, and monitor for unusual logins, new forwarding rules and large data transfers.
Back up and test restores. Keep backups offline or immutable, and rehearse restoring from them. A backup you have never tested is a hope, not a plan.
Have an incident plan. Know who to call, how to isolate affected systems, and when to report to law enforcement. Our small business cybersecurity checklist covers these controls alongside the rest of the basics.
Is black hat hacking illegal?
Yes. In the United States, unauthorized access to computer systems is a federal crime under the Computer Fraud and Abuse Act, with penalties including fines and prison. The UK has the Computer Misuse Act, the EU has its own cybercrime laws, and most countries have equivalents. Penalties grow sharply when hacking causes financial loss, targets critical infrastructure or involves state secrets.
Enforcement is real but uneven. The FBI and the Department of Justice regularly arrest and charge hackers, seize ransom payments and dismantle ransomware infrastructure — including recovering $2.3 million of the Colonial Pipeline ransom. But many black hat groups operate from countries that do not cooperate with Western law enforcement, which is why defense matters more than the hope that attackers will be caught.
How do you become a white hat hacker instead?
The skills are the same; the permission and the employer are different. If you enjoy breaking things to understand them, the legal path is far more rewarding than the criminal one.
- Learn the fundamentals: networking, Linux, web applications and one scripting language such as Python.
- Practice legally: use home labs, capture-the-flag platforms and intentionally vulnerable applications — never a system you do not own or have written permission to test.
- Get certified: entry-level options include CompTIA Security+ and the ISC2 Certified in Cybersecurity (CC) exam.
- Earn through bug bounties: platforms such as HackerOne and Bugcrowd pay researchers to find vulnerabilities with permission.
- Apply for security roles: penetration tester, security analyst and red-team operator are all jobs that pay you to think like an attacker.
The bottom line
Black hat hackers are criminals who use the same skills as security professionals, but without permission and for malicious ends. They get in through phishing, stolen credentials and unpatched software far more often than through brilliant exploits.
That is good news: it means the defenses are known and practical. Patch fast, use phishing-resistant MFA, keep unique passwords and test your backups. You can check whether your own passwords have already been exposed with our free pwned password checker.
Frequently asked questions
What is a black hat hacker?
A black hat hacker is someone who breaks into computer systems without permission and with malicious intent. They steal data or money, deploy ransomware, spy on victims, or disrupt services. The term covers everyone from individual criminals to organized ransomware gangs and state-sponsored hacking groups.
What is the difference between a black hat and a white hat hacker?
The difference is permission and intent. A white hat hacker tests systems with the owner's permission to find and fix weaknesses. A black hat hacker breaks in without permission to exploit weaknesses for their own gain. The skills overlap heavily — the intent and the law are what differ.
What is a gray hat hacker?
A gray hat hacker breaks into systems without permission but without malicious intent, often to find a vulnerability and report it to the owner, sometimes for a fee. It is still unauthorized access and can still be illegal, even when the hacker means well.
Do black hat hackers only target big companies?
No. Big companies make the headlines, but small businesses are targeted constantly because they often have weaker defenses and still hold valuable data and money. Automated scanning means attackers find exposed systems of every size, and ransomware gangs now run affiliate programs that target organizations of all sizes.
Can a black hat hacker be caught?
Yes. Law enforcement agencies regularly arrest, charge and convict black hat hackers, and the US Department of Justice has seized ransom payments and dismantled ransomware infrastructure. Many operate from countries that do not cooperate with Western law enforcement, which makes prosecution harder but not impossible.
How do I protect myself from black hat hackers?
Use strong, unique passwords with a password manager, turn on phishing-resistant multi-factor authentication such as passkeys or a security key, keep software patched, be suspicious of unexpected messages asking for money or logins, and keep backups you can restore from if ransomware strikes.
Is it illegal to be a black hat hacker?
Yes. Unauthorized access to computer systems is a crime in the United States under the Computer Fraud and Abuse Act and under equivalent laws in the UK, the EU and most other countries. Penalties include fines and prison sentences, and they grow sharply when the hacking causes financial loss or targets critical infrastructure.
Can a black hat hacker become a white hat hacker?
Yes, and several well-known security professionals started on the wrong side, including Kevin Mitnick, who became a security consultant after serving prison time. The skills transfer directly; what changes is the permission, the employer and the law.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the FBI IC3 2025 report, CISA/NSA/FBI phishing guidance, MITRE ATT&CK and published reporting on the Equifax and Colonial Pipeline cases.
How we write and fact-check →