CAPECattack pattern

CAPEC-20 Encryption Brute Forcing

Low Official page ↗
Abstraction
Standard
Status
Draft
Likelihood of attack
Low
Typical severity
Low
CAPEC version
3.9

Description

An attacker, armed with the cipher text and the encryption algorithm used, performs an exhaustive (brute force) search on the key space to determine the key that decrypts the cipher text to obtain the plaintext.

Execution flow

1. [Explore] Determine the ciphertext and the encryption algorithm. 2. [Experiment] Perform an exhaustive brute force search of the key space, producing candidate plaintexts and observing if they make sense.

Prerequisites

• Ciphertext is known. • Encryption algorithm and key size are known.

Skills required

• [Low] Brute forcing encryption does not require much skill.

Consequences

• Confidentiality: Read Data

Mitigations

• Use commonly accepted algorithms and recommended key sizes. The key size used will depend on how important it is to keep the data confidential and for how long. • In theory a brute force attack performing an exhaustive key space search will always succeed, so the goal is to have computational security. Moore's law needs to be taken into account that suggests that computing resources double every eighteen months.

Related

Can precede · CAPEC (1)

  • CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) attack pattern

Child of · CAPEC (1)

Weakness · CWE (4)

  • CWE-1204 Generation of Weak Initialization Vector (IV) weakness
  • CWE-326 Inadequate Encryption Strength weakness
  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness
  • CWE-693 Protection Mechanism Failure weakness

Referenced by CAPEC · can precede (1)

Referenced by CWE · attack pattern (4)

  • CWE-1204 Generation of Weak Initialization Vector (IV) weakness
  • CWE-326 Inadequate Encryption Strength weakness
  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness
  • CWE-693 Protection Mechanism Failure weakness