Getting Started with Fault Injection Security Testing: Key Takeaways from Our Webinar
What happens when an attacker can physically access your device and deliberately push its hardware outside normal operating conditions?
That question was at the center of our recent webinar, Getting Started with Fault Injection Security Testing: Principles, Techniques, and Live Hardware Demonstration, hosted by product manager Erwin. The session introduced the fundamentals of fault injection, explored what attackers can achieve with these techniques, and showed how security teams can test devices for vulnerabilities in a controlled environment.
If you missed the live session, here is a summary of what we covered.
Why physical attacks matter
Fault injection targets devices an attacker can physically access, from phones and smart locks to industrial equipment and vehicles. Attackers act with intent: they are after data, access, or control that is not meant to be theirs. The webinar frames embedded security testing around those goals. The purpose of a test is to find vulnerabilities before an attacker does.
What fault injection is
Fault injection is a hardware attack that deliberately disturbs a device, for example with voltage glitches or electromagnetic pulses, to induce errors that bypass security or leak sensitive data. Security teams use the same technique to verify that their devices can detect or withstand such disturbances before they reach the field.
Electronic components only behave predictably within defined operating conditions, such as a supply voltage range. A fault injection attack briefly pushes a device outside those conditions, using a voltage drop, a clock disturbance, an electromagnetic pulse, or a laser. Within a few nanoseconds, the chip may skip an instruction, misevaluate a condition, or produce a corrupted result.
- Bypass password or PIN verification
- Unlock licensed features without a license
- Extract firmware for reverse engineering
- Recover cryptographic keys through differential fault analysis
The on-demand webinar includes a short video of an electromagnetic jammer used against a slot machine, which shows how little equipment an attack can require.
How a fault injection test is set up
A fault injection test environment has four main components: the device under test, a test bench, a glitch source (power, clock, electromagnetic, or laser), and software to control the campaign and analyze the results.
A test run follows a repeatable cycle. The bench triggers at a chosen moment, such as during boot. It delivers a glitch with defined strength and duration, then observes how the device responds. This repeats thousands or millions of times, often over one or two days. The results are plotted so that the small region of parameters causing exploitable behavior stands out. That information goes back to the design team, which implements countermeasures and then verifies that they work.
On a board without countermeasures, a cryptographic operation can be compromised within seconds. The live demonstration in the on-demand webinar shows exactly that.
Questions from the audience
Attendees raised many good questions during and after the session. Most were answered live. A few that we could not cover are marked Answered after the webinar and were addressed by our team afterwards.
Fault injection methods
1. Where in the device are faults applied?
It depends on the method. Power-based fault injection is applied to one of the device’s power lines, so there is no spatial component. EM and laser methods are applied to the surface of the chip.
▶ Watch the answer at 38:00.
2. How do you choose the right fault injection method?
Answered after the webinar.
There is no single right choice, but a few factors guide it:
- Access to the target: Power and clock injection require access to the supply or clock lines. EM works on the chip surface, often without modifying the board. Laser typically requires exposing the silicon, which makes it the most invasive method.
- Precision: Power and clock affect the whole chip. EM offers some spatial targeting, and laser offers the most.
- Cost and complexity: Power and clock setups are generally the most accessible. EM and laser need more specialized equipment and preparation.
- Threat model and certification: The attacker profile you defend against, and any requirements in your certification scheme, may dictate which methods must be covered.
A common approach is to start with power and clock, then add EM and laser for higher assurance levels.
3. Does a laser cause single-bit or multi-bit faults?
There is no fixed number. It depends on the spot size, the laser wavelength and optics, and the chip’s manufacturing technology. With a tightly focused spot on a larger-geometry chip, single-bit faults are achievable. On modern chips with smaller structures, the same spot can cover several cells, so multi-bit faults are more likely. Laser power and pulse duration also play a role.
Setup and results
4. Can I test with a board other than the Piñata board?
Yes. Any board or chip can be tested. The demonstration uses the Piñata board because its effects are visible within seconds. For other targets, communication with the device can be scripted in Python or Java.
▶ Watch the answer at 41:32.
5. What does the small box in front of the power supply do?
The target is powered through the glitch amplifier, which also lowers or raises the voltage at the exact moment required. Inside the amplifier, a measurement circuit monitors the target’s current consumption. That signal can be very weak, so it goes to the small box, which amplifies it before it is digitized by a PXI card in the test bench.
▶ Watch the answer at 45:00
6. How are results graded as red, yellow, or green?
The device’s output is compared with its known normal behavior, such as the expected ciphertext or the response to an incorrect PIN. Deviations are flagged as interesting results. The software supports more verdicts than green, yellow, and red, and you can define your own.
▶ Watch the answer at 39:00
Standards, certification, and real-world context
7. How do you know when a fault injection test is complete?
Both time-bound and iteration-bound criteria are common. The right choice depends on the product’s market, the threat model, and the certification scheme. Some schemes require a minimum number of attempts, for example, 100,000, without a successful fault. A camera and a military-grade device do not need the same level of assurance.
▶ Watch the answer at 42:00.
8. What happens to a certification, such as PSA Level 3, as attack techniques advance?
Most certification schemes expect manufacturers to monitor the market. If your product or a similar one is compromised, you need to assess the risk, retest the device, and apply mitigations if it is vulnerable. Under the EU Cyber Resilience Act, support obligations run for five years after a product is sold.
▶ Watch the answer at 52:00.
9. How does fault injection testing differ from EMC immunity testing?
They differ mainly in intent. EMC testing checks how susceptible a device is to unintentional interference. Fault injection simulates a deliberate attacker and varies timing, duration, and strength with far more precision.
▶ Watch the answer at 47:14.
10. Are there real-world attacks that use physical techniques like fault injection or side-channel analysis?
Yes, many. Examples include crypto wallets, gaming consoles, and cars.
▶ Watch the answer at 51:00.
Go deeper: real-world research
Fault injection is not just a lab exercise. The same techniques have been used against car electronic control units, microcontrollers, and safety-certified processors. If you want to see how they play out in practice, these three papers are a good next step:
- Extracting and Analyzing Automotive Firmware: How hardware attacks such as fault injection can extract firmware from secured electronic control units, demonstrated on a modern car’s instrument cluster.
- Steps to Evaluate and Protect Secure Boot Implementation on Embedded Devices: Common weaknesses in Secure Boot, the foundation of a device’s chain of trust, and practical steps to strengthen it.
- Safety Is Not Security: A study of two microcontrollers with the highest automotive safety rating (ASIL-D), showing that safety mechanisms alone do not protect against fault injection.
Watch the webinar on demand
Whether you are beginning to explore hardware security testing, evaluating how to build fault injection capabilities, or looking for ways to strengthen an existing device security program, the webinar provides a practical introduction to the methodology.
Watch the on-demand webinar
Related Posts