Wormy attack could spread via PDF

The attack leverages a previously known PDF flaw to spread malware all over a PC

Security researcher Jeremy Conway says he has discovered a way to spread malicious code across PDF documents on a victim's computer.

The attack leverages a flaw in the way the PDF file format works, adding malicious data to legitimate PDF files that could then be used to attack anyone who opens them.

Conway, a product manager with NitroSecurity, had already developed a technique for injecting the malicious commands into PDFs. But his attack only worked when there was some other malicious program on the system that added the code. That all changed last week, when researcher Didier Stevens showed how a PDF document could be altered to run an executable file on a victim's computer.

"When I saw Didier's hack, it was the first time I could do it from completely inside the PDF," Conway said.

Hackers have known for some time that PDF readers could be manipulated in this way, but Stevens' attack showed how one reader -- Foxit Reader -- could launch the executable without even notifying the user. Foxit has now patched this bug, but the underlying flaw in the PDF standard can't be fixed without changing the PDF standard itself.

"This is an example of powerful functionality relied on by some users that also carries potential risks when used incorrectly," a spokeswoman for Adobe Systems said via e-mail.

Users who want to turn off the Adobe Reader or Acrobat feature that allows the attack to work can click "Edit > Preferences > Categories > Trust Manager > PDF File Attachments" and then un-check the box that reads "Allow opening of non-PDF file attachments with external applications."

With version 3.2.1 of Foxit Reader, released Thursday, the software now pops up a dialogue box asking users if they really want to execute the code. Adobe Reader does the same thing.

In a video demo of his attack, Conway shows how he was able to build a malicious PDF document with the executable code that also inserted his own text in Adobe's warning box. By adding text such as "click 'Open' to unencrypt this file," an attacker can increase his chances of getting a victim to open the file.

If a user falls for the trick and allows the executable to run, Conway's attack then acts like a worm, copying a malicious payload to other PDF files on the computer. This malware can be a known PDF attack or something worse. It "could be the next vector for a 0day attack," Conway said.

He believes most enterprises are unprepared to deal with this technique, should it be adopted by cybercriminals. "Most responders are not going to go through every document on a user's computer to make sure it's safe," he said.

He has not released the code for his attack, just the video showing it in action.

The PDF attack could be used to do things such as inject malicious macros into Word documents, said Thierry Zoller, a security consultant with Verizon Luxembourg, speaking via instant message. "You could also easily infect anything else," he said.

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags pdf bugJeremy Conway

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Robert McMillan

IDG News Service
Show Comments

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?