# Adversary
In cybersecurity, an adversary is any individual, group, or entity that attacks, or is a threat to, a computer system or network. Their motivations and capabilities vary widely, ranging from simple mischief to espionage or financial gain. Understanding the potential adversary is a fundamental aspect of threat modeling and designing effective security defenses.
**Pronunciation:** /ˈæd.vɚ.sɛr.i/
**Difficulty:** Beginner
**Synonyms:** Threat Actor, Attacker, Malicious Actor, Opponent
**Categories:** Cybersecurity, Risk Management
**Tags:** security, threat modeling, cybersecurity, attacker
Canonical: https://scaleengineer.com/glossaries/adversary
---
## Definitions

- **Adversary in Cybersecurity:** An **adversary**, often used interchangeably with **threat actor** or **attacker**, is any entity with the intent and capability to compromise a system's security. Understanding the **adversary** is crucial for building effective defenses, a process known as threat modeling.

Adversaries are typically categorized by their motivations, resources, and skill levels.

***Key Concepts***
*   **Intent**: The goal of the **adversary**. This could be financial gain (cybercriminals), political or social change (hacktivists), espionage or disruption (nation-states), or simply curiosity and notoriety (script kiddies).
*   **Capability**: The technical skills, tools, and resources available to the **adversary**. An Advanced Persistent Threat (APT), typically a nation-state group, has far greater capabilities than an individual hacker.
*   **Opportunity**: The vulnerabilities and weaknesses in a target system that an **adversary** can exploit.

***Adversary Modeling***
Security professionals create adversary models to profile potential attackers. This involves answering questions like:
*   Who would want to attack us?
*   What are their motivations?
*   What are their technical capabilities?
*   What resources (time, money, people) do they have?

For example, a bank's primary **adversary** might be a sophisticated criminal syndicate, so its defenses would focus on protecting financial assets and customer data. In contrast, a political campaign's primary **adversary** might be a rival nation-state or a hacktivist group, requiring a focus on preventing data leaks and service disruptions.

## Etymology

From the Latin 'adversarius', meaning 'opponent' or 'rival', which is derived from 'adversus', meaning 'turned against' or 'opposite'. The term has long been used in contexts of conflict and competition.

## First used

1970s

## Historical context

The concept of an **adversary** is as old as conflict itself, originating in military and intelligence contexts. In computer science, its use became prominent with the formalization of cryptography. Claude Shannon's 1949 paper on communication theory implicitly introduced the idea of an **opponent** trying to decipher messages.

The classic cryptographic model of 'Alice and Bob' communicating while an eavesdropping **adversary**, 'Eve', tries to intercept their message, popularized the term in the 1970s. As computer networks grew in the 1980s and 1990s, the nature of the **adversary** evolved from a theoretical concept to a real-world problem.

Early adversaries were often seen as individual hackers or 'phreaks'. However, with the commercialization of the internet, the profile of the **threat actor** diversified significantly. Today, adversaries range from lone hackers and script kiddies to organized crime syndicates, corporate spies, hacktivists, and nation-state actors, each with different goals and capabilities. This evolution has made understanding and modeling the **adversary** a cornerstone of modern cybersecurity strategy.

## Q&A

- **What is the primary difference between an adversary and a vulnerability?:** An **adversary** (or **threat actor**) is the entity that performs an attack, driven by intent and motivation. A vulnerability is a weakness or flaw in a system that an **adversary** can exploit to cause harm. In short, the **adversary** is the 'who' and the vulnerability is the 'how'.
- **Why is it important to model a potential adversary when designing a system?:** Modeling a potential **adversary** helps a security team understand the threats they are most likely to face. By defining the **adversary's** goals, resources, and likely methods of attack, defenders can prioritize security controls, allocate resources effectively, and build a system resilient against realistic threats rather than hypothetical ones.

## Usage examples

- During the threat modeling session, the team defined the primary **adversary** as a well-funded criminal organization aiming for financial data.
- Our security controls must be robust enough to withstand an attack from a persistent **threat actor**.
- The simulation tested our defenses against a sophisticated **attacker** attempting to gain access to our internal network.
- To secure the system, you must think like your **adversary** and anticipate their moves.

## Related terms

- Threat Model
- Attack Vector
- Vulnerability
- Risk
- Exploit
- Threat Intelligence

## Popular related terms

- Threat Actor
- Hacker
- Red Team
- Zero-Day
- APT (Advanced Persistent Threat)
