28c3: Print Me If You Dare

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
26,104
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 30, 2011

Download high quality version: http://bit.ly/slWnU7
Description: http://events.ccc.de/congress/2011/Fahrplan/events/4780.en.html

Ang Cui, Jonathan Voris: Print Me If You Dare
Firmware Modification Attacks and the Rise of Printer Malware

Network printers are ubiquitous fixtures within the modern IT infrastructure. Residing within sensitive networks and lacking in security, these devices represent high-value targets that can theoretically be used not only to manipulate and exfiltrate the sensitive information such as network credentials and sensitive documents, but also as fully functional general-purpose bot-nodes which give attackers a stealthy, persistent foothold inside the victim network for further recognizance, exploitation and exfiltration.

We first present several generic firmware modification attacks against HP printers. Weaknesses within the firmware update process allows the attacker to make arbitrary modifications to the NVRAM contents of the device. The attacks we present exploit a functional vulnerability common to all HP printers, and do not depend on any specific code vulnerability. These attacks cannot be prevented by any authentication mechanism on the printer, and can be delivered over the network, either directly or through a print server (active attack) and as hidden payloads within documents (reflexive attack).

In order to demonstrate these firmware modification attacks, we present a detailed description of several common HP firmware RFU (remote firmware update) formats, including the general file format, along with the compression and checksum algorithms used. Furthermore, we will release a tool (HPacker), which can unpack existing RFUs and create/pack arbitrary RFUs. This information was obtained by analysis of publicly available RFUs as well as reverse engineering the SPI BootRom contents of several printers.

Next, we describe the design and operation a sophisticated piece of malware for HP (P2050) printers. Essentially a VxWorks rootkit, this malware is equipped with: port scanner, covert reverse-IP proxy, print-job snooper that can monitor, intercept, manipulate and exfiltrate incoming print-jobs, a live code update mechanism, and more (see presentation outline below). Lastly, we will demonstrate a self-propagation mechanism, turning this malware into a full-blown printer worm.

Using HPacker, we demonstrate the injection of our malware into arbitrary P2050 RFUs, and show how similar malware can be created for other popular HP printer types. Next, we demonstrate the delivery of this modified firmware update over the network to a fully locked-down printer.

Lastly, we present an accurate distribution of all HP printers vulnerable to our attack, as determined by our global embedded device vulnerability scanner (see [1]). Our scan is still incomplete, but extrapolating from available data, we estimate that there exist at least 100,000 HP printers that can be compromised through an active attack, and several million devices that can be compromised through reflexive attacks. We will present a detailed breakdown of the geographical and organizational distribution of observable vulnerable printers in the world.

*We have also unpacked several engine-control processor firmwares (different from the main SoC) and are currently attempting to locate code related to tracking dots. Perhaps we will have some results by December. In any case, HPacker will help the community to do further research in this direction, possibly allowing us to spoof / disable these yellow dots of burden.

Link to this comment:

Share to:

Top Comments

  • LOL! I don't want to eat the microphone, okay! 59:14

  • 31:40 - Super Secret Bypass of Crypto-Key enabled.

see all

All Comments (15)

Sign In or Sign Up now to post a comment!
  • ส็็็็็็็็็็็็็็็็็็็็็ส็็็็็็็­็็็็็็็็็็็็็็ส็็็็็็็็็็็็็็็­็็็็็็ส็็็็็็็็็็็็็็็็็็็็็ส็­็็็็็็็็็็็็็็็็็็็็ส็็็็็็็็็­็็็็็็็็็็็็ SPLOITT

    

  • HP also planted a Trojan to capture passwords in the ProLiant Servers and Integrity servers. I have proof . HP sucks

  • HP also planted a key logger in the ProLiant Servers and Integrity servers. I have proof . HP sucks

  • "pwn your entire network" lol

  • @greventlv It's an allusion to many old, and some new text adventure games.

  • Hacks a printer.... Can't work powerpoint.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more