CAPECattack pattern
CAPEC-485 Signature Spoofing by Key Recreation
High
Official page ↗
- Abstraction
- Detailed
- Status
- Draft
- Likelihood of attack
- Low
- Typical severity
- High
- CAPEC version
- 3.9
Description
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.
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] Cryptanalysis of signature generation algorithm
• [High] Reverse engineering and cryptanalysis of signature generation algorithm implementation and random number generation
• [High] Ability to create malformed data blobs and know how to present them directly or indirectly to a victim.
Mitigations
• Ensure cryptographic elements have been sufficiently tested for weaknesses.
Related
Att&ck technique · MITRE ATT&CK (1)
- T1552.004 Private Keys sub-technique
Child of · CAPEC (1)
- CAPEC-473 Signature Spoof attack pattern
Weakness · CWE (1)
- CWE-330 Use of Insufficiently Random Values weakness
Referenced by CWE · attack pattern (1)
- CWE-330 Use of Insufficiently Random Values weakness