CAPEC-485: Signature Spoofing by Key Recreation
An attacker obtains an authoritative or reputable signer's private signature key by exploiting a cryptographic weakness in the signature algorithm or pseudorandom number generation and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
Last updated
Overview
CAPEC-485 (Signature Spoofing by Key Recreation) is a detailed-level attack pattern catalogued by MITRE in the Common Attack Pattern Enumeration and Classification (CAPEC). It describes a recurring method attackers use to exploit software weaknesses.
What the attacker needs
Prerequisites
- An authoritative signer is using a weak method of random number generation or weak signing software that causes key leakage or permits key inference.
- An authoritative signer is using a signature algorithm with a direct weakness or with poorly chosen parameters that enable the key to be recovered using signatures from that signer.
Skills required
- High skill: Cryptanalysis of signature generation algorithm
- High skill: Reverse engineering and cryptanalysis of signature generation algorithm implementation and random number generation
- High skill: Ability to create malformed data blobs and know how to present them directly or indirectly to a victim.
How to mitigate it
Defenses that reduce the risk of CAPEC-485.
- Ensure cryptographic elements have been sufficiently tested for weaknesses.
Terminology & mappings
Mapped taxonomies
- ATTACK: Unsecure Credentials: Private Keys (1552.004)
Frequently asked questions
Common questions about CAPEC-485.
- What is CAPEC-485?
- An attacker obtains an authoritative or reputable signer's private signature key by exploiting a cryptographic weakness in the signature algorithm or pseudorandom number generation and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
- How do you prevent CAPEC-485?
- Ensure cryptographic elements have been sufficiently tested for weaknesses.
- What weaknesses does CAPEC-485 target?
- CAPEC-485 exploits one CWE weakness: CWE-330 (Use of Insufficiently Random Values).
- How severe is CAPEC-485?
- MITRE rates CAPEC-485 as High severity with low likelihood of attack.
Sources
- [1]Attacking DSA Under a Repeated Bits Assumption (2004)
- [2]DSA-1571-1 openssl -- predictable random number generator (2008)
References
Attack-pattern data is sourced from the MITRE CAPEC catalog (v3.9). Weakness associations link to the corresponding CWE entries on RadicalNotion.AI.
Defend against CAPEC-485
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.