CAPEC-522: Malicious Hardware Component Replacement
An adversary replaces legitimate hardware in the system with faulty counterfeit or tampered hardware in the supply chain distribution channel, with purpose of causing malicious disruption or allowing for additional compromise when the system is deployed.
Last updated
Overview
CAPEC-522 (Malicious Hardware Component Replacement) is a standard-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.
How the attack works
The phases an attacker typically follows.
- Step 1Explore
[Determine Target Hardware] The adversary must first identify a system that they wish to target, and a specific hardware component that they can swap out with a malicious replacement.
- Look for datasheets containing the system schematics that can help identify possible target hardware.
- Procure a system and inspect it manually, looking for possible hardware component targets. Search for manufacturer IDs on hardware chips or FCC IDs on wireless chips to determine their functionality.
- Step 2Explore
[Discover Vulnerability in Supply Chain] The adversary maps out the supply chain for the targeted system. They look for ooportunities to gain physical access to the system after it has left the manufacturer, but before it is deployed to the victim.
- Procure a system and observe the steps it takes in the shipment process.
- Identify possible warehouses that systems are stored after manufacturing.
- Step 3Experiment
[Test a Malicious Component Replacement] Before performing the attack in the wild, an adversary will test the attack on a system they have procured to ensure that the desired outcome will be achieved.
- Design a malicious hardware component that will perform the same functionality as the target component, but also contains additional functionality.
- Obtain already designed malicious components that just need to be placed into the system.
- Step 3Exploit
[Substitute Components in the Supply Chain] Using the vulnerability in the supply chain of the system discovered in the explore phase, the adversary substitutes the malicious component for the targeted component. This results in the adversary gaining unintended access to systems once they reach the victim and can lead to a variety of follow up attacks.
What the attacker needs
Prerequisites
- Physical access to the system after it has left the manufacturer but before it is deployed at the victim location.
Skills required
- High skill: Advanced knowledge of the design of the system.
- High skill: Hardware creation and manufacture of replacement components.
How to mitigate it
Defenses that reduce the risk of CAPEC-522.
- Ensure that all contractors and sub-suppliers use trusted means of shipping (e.g., bonded/cleared/vetted and insured couriers) to ensure that components, once purchased, are not subject to compromise during their delivery.
- Prevent or detect tampering with critical hardware or firmware components while in transit through use of state-of-the-art anti-tamper devices.
- Use tamper-resistant and tamper-evident packaging when shipping critical components (e.g., plastic coating for circuit boards, tamper tape, paint, sensors, and/or seals for cases and containers) and inspect received system components for evidence of tampering.
Examples
During shipment the adversary is able to intercept a system that has been purchased by the victim, and replaces a math processor card that functions just like the original, but contains advanced malicious capability. Once deployed, the system functions as normal, but allows for the adversary to remotely communicate with the system and use it as a conduit for additional compromise within the victim's environment.
Terminology & mappings
Mapped taxonomies
- ATTACK: Supply Chain Compromise: Compromise Hardware Supply Chain (1195.003)
Frequently asked questions
Common questions about CAPEC-522.
- What is CAPEC-522?
- An adversary replaces legitimate hardware in the system with faulty counterfeit or tampered hardware in the supply chain distribution channel, with purpose of causing malicious disruption or allowing for additional compromise when the system is deployed.
- How does a Malicious Hardware Component Replacement attack work?
- It typically unfolds over 4 phases. It begins with: [Determine Target Hardware] The adversary must first identify a system that they wish to target, and a specific hardware component that they can swap out with a malicious replacement.
- How do you prevent CAPEC-522?
- Ensure that all contractors and sub-suppliers use trusted means of shipping (e.g., bonded/cleared/vetted and insured couriers) to ensure that components, once purchased, are not subject to compromise during their delivery.
- How severe is CAPEC-522?
- MITRE rates CAPEC-522 as High severity with low likelihood of attack.
Sources
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-522
Track the CVEs and weaknesses this technique exploits, with AI-written analysis and remediation steps.