fault injection

term

ops cultureprogrammingcloudsecurity

Kept in this browser · My desk

Deliberately introducing a failure, such as a terminated instance, added latency or a failed request, to see how a system and its operators respond.

Fault injection is the mechanism under chaos engineering and many resilience tests. Netflix's Failure Injection Testing failed requests between services for selected users to check graceful degradation; Azure Chaos Studio offers faults run through a resource's management API and agent-based faults inside virtual machines. Microsoft warns that fault injection in production can be disruptive and cause downtime, and asks for safeguards that stop an experiment and roll it back quickly.

Inputs. Basiri and colleagues list terminating virtual machines, injecting latency between services, failing requests, failing an internal service and making a region unavailable; they also suggest inputs that are not failures, such as the rate of requests and changes to runtime parameters. Scope. Netflix limited some experiments to a subset of users, splitting them into a control group and an experimental group, which bounds the blast radius. Guardrails. AWS asks for stop conditions on steady-state metrics and for experiments both inside and outside the delivery pipeline; Microsoft limits fault injection to what the error budget allows. Failure of the test itself. Google's SRE book records a test that blocked access to one database out of a hundred, caused a wide outage, and could not be rolled back as planned; the lesson was to test rollback procedures before large-scale tests. Hardware sense. In hardware security the term means disturbing a chip on purpose, by timed voltage or clock glitches or by electromagnetic pulses, so that it skips an instruction or corrupts a result; Espressif, whose ESP32 eFuse protection was bypassed this way in 2019 (CVE-2019-17391), notes that all electronic hardware is vulnerable to some types of physical fault injection and that the attack needs physical access. MITRE lists missing glitch protection as CWE-1247; tools include NewAE's ChipWhisperer and ChipSHOUTER.

Also known as: failure injection, failure injection testing, fault injection testing, injeção de falhas, glitch attack, voltage glitching, clock glitching, electromagnetic fault injection

Sources

← Back to F Back to the glossary