When Firmware Modifications Attack: A Case Study of Embedded Exploitation

Ang Cui, Michael J. Costello, Salvatore J. Stolfo

Columbia Academic Commons (Columbia University) · 2013 · 189 citations · 13 references

DOIFull text

Open access

Concepts

TL;DR

Firmware updates are ubiquitous in modern embedded systems, yet prior research shows that design flaws and vulnerabilities in this feature are common across such devices. The study demonstrates how firmware update mechanisms can be exploited to inject malicious firmware into vulnerable embedded devices, and presents techniques and a proof‑of‑concept printer malware that performs network reconnaissance, data exfiltration, and propagation to other devices. The authors conduct a case study of the HP‑RFU LaserJet printer firmware vulnerability, scanning IPv4 space to identify vulnerable printers, and analyzing 373 firmware images for third‑party library flaws, while demonstrating a proof‑of‑concept malware that exploits the HP‑RFU update mechanism. The exploitation techniques are generalizable to compromise other embedded systems. Keywords: embedded system exploitation, firmware modification attack, embedded system rootkit, HP‑RFU vulnerability.

Abstract

The ability to update firmware is a feature that is found in nearly all modern embedded systems. We demonstrate how this feature can be exploited to allow attackers to inject malicious firmware modifications into vulnerable embedded devices. We discuss techniques for exploiting such vulnerable functionality and the implementation of a proof of concept printer malware capable of network reconnaissance, data exfiltration and propagation to general purpose computers and other embedded device types. We present a case study of the HP-RFU (Remote Firmware Update) LaserJet printer firmware modification vulnerability, which allows arbitrary injection of malware into the printer’s firmware via standard printed documents. We show vulnerable population data gathered by continuously tracking all publicly accessible printers discovered through an exhaustive scan of IPv4 space. To show that firmware update signing is not the panacea of embedded defense, we present an analysis of known vulnerabilities found in third-party libraries in 373 LaserJet firmware images. Prior research has shown that the design flaws and vulnerabilities presented in this paper are found in other modern embedded systems. Thus, the exploitation techniques presented in this paper can be generalized to compromise other embedded systems. Keywords-Embedded system exploitation; Firmware modification attack; Embedded system rootkit; HP-RFU vulnerability.

References

13