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)
- CAPEC-112 Brute Force attack pattern
Weakness · CWE (4)
Referenced by CAPEC · can precede (1)
- CAPEC-97 Cryptanalysis attack pattern