Home › Guides › Types of hackers explained: white, black and grey hats and more
GUIDE · KNOW YOUR ENEMY

Types of hackers explained: white hats, black hats, grey hats and everyone else

“Hacker” gets used for everyone from a teenager with a downloaded tool to a government team that works for years on one target. Knowing who is behind an attack tells you what they want, and what will actually stop them.

Published October 13, 2026 · Written and maintained by the cyberhygiene.tools team

The quick version

  1. “Hacker” only means someone who uses technical skill to get into systems. Whether it is good or bad depends on permission and intent.
  2. White hats work with permission to find weaknesses. Black hats break in for money, damage or power. Grey hats sit in between.
  3. Most attacks on ordinary people come from criminals after money, not from elite spies.
  4. Insiders, meaning current or former staff and contractors, are a real threat because they already have access.
  5. The same basics (updates, strong unique passwords, two-factor sign-in, backups) block most of every type.

In this guide

  • What a “hacker” really is
  • The three hats
  • Other types you will hear about
  • What each type usually wants
  • How hackers reach their targets
  • Real cases, by type
  • Myths about hackers
  • What this means for ordinary people
  • Frequently asked questions
  • Sources

What a “hacker” really is

The word started as praise. A hacker was someone who was clever with computers and enjoyed working out how systems behave. In the news it now usually means a criminal, but in the security industry it is simply a description of skill. What matters is not whether someone can get into a system, but whether they have permission, and what they intend to do once they are in.

That is why security people talk about different kinds of hacker, often using the “hat” shorthand borrowed from old cowboy films, where the heroes wore white hats and the villains wore black. The labels are a simplification, and real people do not always fit neatly. They are still useful, because each group wants something different and works in a different way.

The three hats

White hat hackers

White hats, also called ethical hackers, use the same skills as attackers but with the owner’s permission. They are hired to test systems, find weaknesses and report them so they can be fixed. Typical work includes penetration testing, reviewing code, checking whether staff can be tricked by fake emails, and reporting a flaw to the maker through a proper channel (often called responsible disclosure). Our guide to ethical hacking explains how people get into this work.

Black hat hackers

Black hats break in without permission to benefit themselves or to cause harm. Most are motivated by money. They steal data, run ransomware, commit fraud or sell access to other criminals. Others want disruption or revenge. This is the group behind most of the scams and breaches we cover on this site, including the cases in our round-up of the biggest scams and hacks.

Grey hat hackers

Grey hats fall in between. They may probe a system without being asked, with no obvious intent to do harm, and then tell the owner or publish what they found, sometimes to pressure the owner into fixing it. Some see this as a public service. The law does not agree: in most countries, getting into a system without permission is an offence even when the motive is good. That risk is the main reason to prefer the white-hat route.

Other types you will hear about

What each type usually wants

Understanding motive explains a lot about how attacks look from the outside:

This matters because the lowest-effort targets are always chosen first. Most people are not being hunted by a government. They are being sorted by a criminal’s automatic tools into “easy” and “not worth it”. Your aim is to land in the second group.

How hackers reach their targets

Security teams talk about a “threat vector”, which just means the route an attacker uses to get in. Different types of hacker tend to use the same few routes:

Identifying the vector is how defenders decide what to fix first. If most attacks arrive by phishing, the best investment is training, email filtering and two-factor sign-in, not a new firewall.

Real cases, by type

Seeing the labels attached to real events makes them easier to remember. These are covered in more detail elsewhere on this site:

Myths about hackers

What this means for ordinary people

You do not need to guess who might attack you. The same defences work against almost every type:

  1. Keep your phone, computer and apps updated.
  2. Use a different password for every account, stored in a password manager.
  3. Turn on two-factor authentication, starting with email.
  4. Keep backups, with one copy offline. See the 3-2-1 backup rule.
  5. Treat unexpected messages with suspicion, especially anything urgent or about money.
  6. Limit who has access to what, at home and at work.
What this means for you
  • The label matters less than the habit. Basic hygiene beats most attackers, whichever hat they wear.
  • If you are curious about the white-hat side as a career, you can learn it legally, with permission and in practice labs.

Sources

Published October 13, 2026. We check every claim against the sources above and say clearly when something is advice rather than fact. This guide is general information, not legal or financial advice. Dollar amounts are in US dollars, as reported.


Frequently asked questions

Is hacking always illegal?

No. Testing a system with the owner’s permission is a legitimate profession. Getting into a system without permission is illegal in most countries, whatever the reason.

What is the difference between a hacker and a cybercriminal?

“Hacker” describes technical skill. A cybercriminal is someone who uses it to commit crime. Many cybercriminals are hackers, but plenty of hackers work legally, for example as security testers.

Are script kiddies dangerous?

They can be. They are usually unskilled, but ready-made attack tools let them cause real harm, especially against people with weak passwords or out-of-date software.

Who is the biggest threat to a home user?

Ordinary criminals running automated scams, not governments. Phishing, fake shops and reused passwords cause most of the harm to individuals.