CWE-1278: Missing Protection Against Hardware Reverse Engineering Using Integrated Circuit (IC) Imaging Techniques
Information stored in hardware may be recovered by an attacker with the capability to capture and analyze images of the integrated circuit using techniques such as scanning electron microscopy.
Last updated
Overview
These secrets may be stored in non-volatile memory or in the circuit netlist. Memory technologies such as masked ROM make it easier to extract secrets than One-time Programmable (OTP) memory.
Real-world CVEs
1 recorded CVE is caused by CWE-1278 (Missing Protection Against Hardware Reverse Engineering Using Integrated Circuit (IC) Imaging Techniques).
Common consequences
What can happen when CWE-1278 is exploited.
Varies by Context
Affects: Confidentiality
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-1278, grouped by where in the lifecycle they apply.
The cost of secret extraction via IC reverse engineering should outweigh the potential value of the secrets being extracted. Threat model and value of secrets should be used to choose the technology used to safeguard those secrets. Examples include IC camouflaging and obfuscation, tamper-proof packaging, active shielding, and physical tampering detection information erasure.
Code examples
MITRE examples of the weakness in code.
Consider an SoC design that embeds a secret key in read-only memory (ROM). The key is baked into the design logic and may not be modified after fabrication causing the key to be identical for all devices. An attacker in possession of the IC can decapsulate and delayer the device. After imaging the layers, computer vision algorithms or manual inspection of the circuit features locate the ROM and reveal the value of the key bits as encoded in the visible circuit structure of the ROM.
Attack patterns
CAPEC attack patterns that exploit this weakness.
Frequently asked questions
Common questions about CWE-1278.
- What is CWE-1278?
- Information stored in hardware may be recovered by an attacker with the capability to capture and analyze images of the integrated circuit using techniques such as scanning electron microscopy.
- What CVEs are caused by CWE-1278?
- 1 recorded CVE is attributed to CWE-1278: CVE-2021-38394.
- How do you prevent CWE-1278?
- The cost of secret extraction via IC reverse engineering should outweigh the potential value of the secrets being extracted. Threat model and value of secrets should be used to choose the technology used to safeguard those secrets. Examples include IC camouflaging and obfuscation, tamper-proof packaging, active shielding, and physical tampering detection information erasure.
- What are the consequences of CWE-1278?
- Exploiting CWE-1278 can lead to: Varies by Context.
- Is CWE-1278 actively exploited?
- 1 recorded CVE is caused by CWE-1278; it is not currently in CISA's KEV catalog of actively exploited flaws.
Sources
References
- MITRE CWE definition (CWE-1278) (opens in a new tab)
- CWE-1278 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.21). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-1278 CVEs
Get an alert when a new CWE-1278 CVE affects your products, with AI-written analysis and remediation steps.