Hijacking Printers For Spamming

The latest technique is based on the concept of cross-site scripting, whereby an attacker can inject malicious code into Web pages viewed by others.

Thomas Claburn, Editor at Large, Enterprise Mobility

January 10, 2008

2 Min Read
InformationWeek logo in a gray background | InformationWeek

Having prospered by passing the costs of their operations onto others, spammers have a new way to vex computer users: printer hijacking.

Building on the concept of cross-site scripting, whereby an attacker can inject malicious code in Web pages viewed by others, security researcher Aaron Weaver has demonstrated how an attacker can inject spam messages into a Web site visitor's printer.

Weaver's research is available in a paper published online. It describes how the attack could be initiated by creating a hidden iframe -- a block of code inserted into a Web page and often served from a different domain than the Web page -- and a Web form that submits the spam message to the printer. An attacker could also send the spam message as a fax, if the printer has fax capabilities.

"The end result is that by visiting a Web site on the Internet you could end up sending printer spam to your printer without even knowing that anything happened," Weaver explains in his paper. "Since most printers don't have any security set, it is possible to print anything, control the printer, change the print settings, and even send faxes."

Weaver offers two ways to defend against this attack: Set an administrator password for your printers and consider restricting access to the printer so that it only accepts print jobs from a specific server.

Printer security has been an issue among security professionals for years. In a presentation at the 2000 Cert Conference, for example, computer security researcher Steve Nugen presented information about an incident in which a Space and Naval Warfare Systems Command printer was hacked, allowing the attacker to reprogram routing tables on other network equipment to copy print jobs to a server in Russia.

In October, Hewlett-Packard introduced HP Secure Print Advantage, an initiative to make networked printers more secure.

Evidently, there's still some work to be done in this area.

About the Author

Thomas Claburn

Editor at Large, Enterprise Mobility

Thomas Claburn has been writing about business and technology since 1996, for publications such as New Architect, PC Computing, InformationWeek, Salon, Wired, and Ziff Davis Smart Business. Before that, he worked in film and television, having earned a not particularly useful master's degree in film production. He wrote the original treatment for 3DO's Killing Time, a short story that appeared in On Spec, and the screenplay for an independent film called The Hanged Man, which he would later direct. He's the author of a science fiction novel, Reflecting Fires, and a sadly neglected blog, Lot 49. His iPhone game, Blocfall, is available through the iTunes App Store. His wife is a talented jazz singer; he does not sing, which is for the best.

Never Miss a Beat: Get a snapshot of the issues affecting the IT industry straight to your inbox.

You May Also Like


More Insights