Identifying the Adversary
Classify an attacker by what they can do and why they are doing it, and use that to predict what comes next.
1Why classify attackers
An adversary is anyone trying to attack a system: one person, a group, or a government. Defenders sort adversaries into types for a practical reason: the type predicts what the adversary will try next, how long they will keep going, and which defenses will stop them.
Two questions do the sorting. How skilled are they? That sets what they are able to do. Why are they doing it? That sets what they target and how hard they push. Neither question alone is enough. A skilled attacker with nothing to gain from you may move on quickly; an unskilled attacker with a grudge against you may keep trying.
2Skill level
To talk about skill you need two words. A vulnerability is a weakness in software, hardware, or a process that an attacker can use. A patch is an update from the maker that fixes one.
| Low-skilled adversary | High-skilled adversary | |
|---|---|---|
| Tools | Uses malicious tools made by others, often bought or downloaded online | Creates new tools, or changes existing ones |
| Vulnerabilities | Uses known vulnerabilities that have already been published (and usually patched) | Can also find undocumented vulnerabilities nobody else knows about: zero days |
| When blocked | Usually moves on to an easier target | Adapts the tool to get around the new defense and tries again |
| Does patching stop them? | Usually yes: their tools depend on flaws that patches fix | Helps, but cannot fix a flaw the maker does not know about |
A zero day is a vulnerability unknown to the people who make the software, so they have had “zero days” to fix it. Finding one takes research skill, and a zero day cannot be bought off the shelf the way a known-vulnerability tool can. That makes the use of a zero day one of the strongest signs of a high-skilled adversary.
Low skill does not mean low damage. The 2017 WannaCry ransomware spread across hundreds of thousands of computers worldwide using a Windows flaw that Microsoft had patched about two months earlier. The computers it hit were the ones that had not installed the update.
3Motivation
Motivation answers “why us?” Common motivations:
| Motivation | What it looks like | Typical target |
|---|---|---|
| Greed | Ransomware, stealing card numbers or accounts to sell, payment fraud | Anyone who might pay, or whose data sells |
| Recognition | Defacing a website, bragging online, leaking data for attention | Well-known or high-visibility targets |
| Dedication to a cause | Taking a site offline or leaking documents to make a point (often called hacktivism) | Organizations tied to the issue |
| Revenge | A former employee or ex-partner deleting files, leaking data, or locking accounts | One specific organization or person |
| Politics or beliefs | Long-term spying, stealing secrets, disrupting another country's systems | Governments, infrastructure, defense suppliers |
Motivation shapes behavior. Greed-driven attackers want the most money for the least effort, so they go after easy targets and leave hard ones. Revenge and politics are personal or strategic, so those attackers may keep at one target for a long time. An organization with nothing worth stealing can still be a target for what it connects to: a small supplier can be the way into a larger customer.
Skill tells you what is possible. Motivation tells you who gets picked and how long the attacker stays. Put both together and you can predict the next move and choose the right defense.
4Reading the evidence
You rarely meet an attacker. You classify them from what they leave behind. Useful questions:
- Was the flaw known or new? A published, patched flaw points to lower skill. An undocumented flaw (a zero day) points to high skill.
- Was the tool bought or built? A widely sold or downloaded kit points to lower skill. Custom code that security tools have never seen points to higher skill.
- What happened when the attack was blocked? Moving on suggests lower skill or low interest. Coming back with a modified tool suggests high skill and strong motivation.
- What was taken or damaged? Money or sellable data suggests greed. Public defacement suggests recognition or a cause. Damage aimed at one organization suggests revenge.
- Who was targeted? Random victims suggest greed. A specific target chosen for what it is suggests a cause, revenge, or politics.
Motivation is inferred from the target and the result, not from the tools. Anyone can buy ransomware; what they do with it shows why.
5Worked examples
The attacker who moved on
An attacker breaks into a school's web server using a flaw that was patched 14 months ago, with a tool sold on an online forum. After the school installs the patch, the attempts stop and the same tool shows up attacking other schools. Classify the skill level.
- 1The flaw: known and patched more than a year ago. No research was needed.
- 2The tool: bought, not written.
- 3The response to defense: once patched, they moved on rather than adapting.
- 4All three signals point the same way.
The attacker who came back
A company's security team finds an intrusion using a flaw in its file-sharing software that the software maker has never heard of. The team blocks it. Within days, a modified version of the same malware appears, built to slip past the new block.
- 1The flaw: undocumented. The maker had no patch because it did not know. That is a zero day.
- 2The response to defense: the attacker rewrote their tool to get around the block.
- 3Both signals point to the ability to research flaws and build tools.
- 4Expect persistence: this attacker has invested a lot and will likely return.
The former employee
A week after being let go, a former office manager logs in with an account that was never disabled and deletes the customer records. No hacking tools were used.
- 1Skill: low. No tools, no vulnerabilities, no code. Just a password that still worked.
- 2Motivation: revenge against one specific employer.
- 3Note the mismatch: low technical skill, but deep knowledge of the target (where the important records are and how to reach them).
- 4The failed control: offboarding. The account should have been disabled the day the person left.
The defaced website
A town's website is replaced overnight with a message protesting a new factory, signed by an online group. Nothing appears to have been stolen and no ransom is demanded.
- 1What was done: a public message on a public site. The goal was to be seen.
- 2What was not done: no money demanded, no data taken. Greed is unlikely.
- 3Who was targeted: the town, because of a specific decision.
The patient intruder
Investigators find that someone has had access to a defense supplier's network for over a year. They copied design documents but changed nothing and demanded nothing. Their tools were custom-built and never seen before.
- 1Skill: high. Custom tools and long, undetected access.
- 2Result: secrets copied without a trace, over a long time. No money demanded, nothing public.
- 3Target: a supplier chosen for what it builds.
Choosing a response
A hospital's ransomware attack used a widely sold kit and a known flaw in a remote-access server. The attackers demanded payment. Which defense would have helped most?
- 1Classify: low to moderate skill (bought kit, known flaw), motivated by greed.
- 2Greed-driven, low-skill attackers go for easy targets with known, unpatched flaws.
- 3The defense that matches: patch the remote-access server, and keep reliable backups so a ransom is not needed.
6Common mistakes
A bought tool on an unpatched flaw can still lock every file in a hospital. Low skill means the attack was preventable with known fixes, not that it was minor.
Ransomware kits, password tools, and scanners are available to anyone. Motivation shows in the choice of target and what was taken, damaged, or demanded.
A zero day is a flaw unknown to the software maker, not an attack that happened today. An attack on a flaw patched last month is not a zero-day attack.
Someone with legitimate access and inside knowledge can do serious damage with no technical skill. Disabling accounts when people leave closes that door.
Greed-driven attackers scan everyone for known flaws, and politically motivated ones may target a small supplier to reach a bigger customer. Being small is not a defense.
“The adversary is likely high-skilled, because the attack used an undocumented vulnerability (a zero day) and the attacker modified their tool after it was blocked. Because they copied design documents over many months without demanding money, their motivation is most likely political: spying for a government.”
Give the skill level and the evidence for it, then the motivation and the evidence for it.