Skip to content
0:00 / 0:00

#printersecurity#firmwarehacking#hpprinters

28c3: Print Me If You Dare

28c3

5.5K subscribers • 4 videos on Hallway

YouTube
  • Recommended by 2 people: 1 on Hacker News and 1 in engineering communities.
  • Presented by Ang Cui

Intermediate. Assumes working knowledge.

45K views14 years ago2 recommendations

SecuritySystems programmingExploits and vulnerabilitiesEmbedded systems

Ang Cui and Jonathan Voris demonstrate how networked HP printers can be compromised via firmware modification attacks to act as persistent bot-nodes.

Download high quality version: bit.ly/slWnU7 Description: 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 sev

Why it's here

2 people recommend this

What people say. Recommended as a classic, eye-opening talk on the severe security vulnerabilities of networked printers.

u/cdesignproponentsistin r/netsec • Recommends

Print me if you dare -- great talk on exploiting HP printers

JonnieCacheon Hacker News • Recommends

On “Printers are spontaneously printing odd "SQL" strings”

Don't trust your printer! There were a lot of demos of printer hacks at 28c3 and basically I think I might not print anything ever again. A lot of these things have their firmware implemented in postscript. Updating the firmware consists of printing a special document. It's pretty mental tbh. Your jaw will be scraping along the floor at some of the holes these things have. Print Me If You Dare: link to this video Hacking MFPs: link EDIT: Beaten by 4 hours. Oh well.

sanaton Hacker News • Mentions

On “HP printers can be remotely controlled and set on fire, researchers claim”

The disclosures before this talk gave rise to this article link to this video The talk clearly mentions that if you can put malware into a printer wouldn't you use it to pawn a network instead of just setting it on fire - also it isn't possible to set it on fire - they just made that up.

phelmigon Hacker News • Mentions

On “HP Ink Printers Remote Code Execution”

This reminds me of this 1 talk at 28c3 (Ang Cui on how to exploit HP printers by sending a modified PDF to them). Which lead to one of the most hilarious IT-Sec headlines 2 1 link to this video 2 link