WIPIVERSE All articles

Attack model

An attack model is a formal or semi-formal representation of the capabilities, resources, and intentions of a potential adversary targeting a system, network, or cryptographic protocol. It is used in cybersecurity, risk management, and information theory to establish the parameters within which a security mechanism is evaluated. By defining what an attacker is assumed to be capable of doing, designers can determine whether a specific defense is sufficient to withstand identified threats.

In cybersecurity and cryptography, an attack model typically specifies several key dimensions of the adversary:

  • Computational Resources: The amount of processing power and memory available to the attacker. For example, in many cryptographic models, the adversary is assumed to be a "probabilistic polynomial-time" (PPT) algorithm, meaning they have finite, realistic computational limits.
  • Access Level: The physical or logical positioning of the attacker. This can range from a remote outsider with no prior access to an "insider threat" with authorized credentials.
  • Interaction Capabilities: How the attacker interacts with the system. Common models include passive attacks (e.g., eavesdropping or traffic analysis) and active attacks (e.g., intercepting, modifying, or injecting data).
  • Information/Knowledge: The degree of transparency the attacker has regarding the system’s inner workings. This is often categorized into "black-box" models (no internal knowledge), "gray-box" models (partial knowledge), and "white-box" models (full access to source code and internal states).

Standardized attack models are frequently used in the rigorous testing of cryptographic primitives. Examples include:

  • Chosen-Plaintext Attack (CPA): The adversary can choose arbitrary plaintexts and obtain the corresponding ciphertexts.
  • Chosen-Ciphertext Attack (CCA): The adversary can obtain the decryptions of chosen ciphertexts, used to test the malleability and integrity of encryption schemes.

In the context of network security, attack models may be used to simulate various scenarios, such as Distributed Denial of Service (DDoS) attacks, Man-in-the-Middle (MitM) attacks, or SQL injection, to identify potential failure points in infrastructure. Establishing a clear attack model is a prerequisite for security proofs and the formal verification of secure systems.

Browse

More topics to explore

    Browse all articles