sudosecure.net

              is anything truly secure…

Are PDF’s Worm-able?

Posted by jeremy on April 1st, 2010

Yesterday I posted about a thought I had that expanded upon Didier Steven’s Escape From PDF built in feature discovery where he executed a embedded executable binary using some crafty hacking.  My thought was that it may very well be possible to launch an attack internally from one PDF onto another already existing PDF.  I emailed Didier with my idea and some of the specifics, and he said it was definitely possible.  So I decided to try my luck at creating a proof of concept and created this video to demonstrate it:

Before you ask, no I will not be disclosing the internal code that makes this possible nor will I be sharing out the PDFs within the proof of concept to the general public.  Didier has already informed all of the relevant vendors about this issue and my proof of concept is just an expansion of his work, so there is no need for me to beat the vendors up with the same issue.  If the vendors figure out a method to prevent Didier’s example this same fix will stop this proof of concept as well.  With all that being said I look forward to receiving your comments and feedback and I hope you enjoyed the video.  Oh and no this is not an APRILS FOOLS JOKE… ;)

43 Responses to “Are PDF’s Worm-able?”

  1. BitPoet Says:

    Nice work, Jeremi. That’s the next logical step in building upon PDF’s weakness, and I do hope that Adobe&Co think hard about their measures to prevent it from becoming a widespread backdoor. IMHO opening external apps and docs via the shell should be disabled by default in all viewers and permissions should explicitely be granted on a by-directory (or URI) base similar to IE’s trusted sites concept.

  2. Tweets that mention sudosecure.net » Blog Archive » Are PDF’s Worm-able? -- Topsy.com Says:

    [...] This post was mentioned on Twitter by Sandro Süffert. Sandro Süffert said: Are PDF’s Worm-able? | http://www.sudosecure.net/archives/636 (with Video Demo) <= Scary and very likely.. [...]

  3. Bảo mật Chủ Nhật, 04/04/2010, 23:30 Nhúng mã độc vào file PDF không cần qua lỗi bảo mật « Net24h.info Says:

    [...] lập ”biến tấu” cách thức mới mà tin tặc có thể tấn công. Xem thêm thông tin và video clip tại [...]

  4. sudosecure.net » Blog Archive » Worm-Able PDF Clarificaiton Says:

    [...] Are PDF’s Worm-able? [...]

  5. Newmail Articles » New PDF-Based Arbitrary Code Execution Technique Revealed Says:

    [...] of his work, so there is no need for me to beat the vendors up with the same issue,” said [...]

  6. Steve Manzuik Says:

    Cool.

    Do you need to know the target PDF file names in order to pull this off? Or, could one simply modify *.pdf on a system?

  7. jeremy Says:

    No you don’t need to know the PDF file name to pull this off, but in my simple PoC I did hardcode the name. To really make this expandable logic for doing a directory listing just needs to be added, which is actually fairly trivial to pull off.

  8. PDFs pueden ser peligro público | TengoTecno.com Says:

    [...] en lo anterior, la gente de Sudosecure logró hacer que un PDF infectara otro, como muestran este [...]

  9. The Cheap Computer Geek » Blog Archive » Exploits not needed to attack via PDF files Says:

    [...] (Credit: Jeremy Conway/NitroSecurity) [...]

  10. Anon Says:

    Not difficult in the slightest if someone knows a bit about programming and reads the pdf specification. There has been a metasploit module out for quite a while that uses portions of this technique. I was more impressed with the exploit on foxit.

  11. Anonymous Says:

    [...] [...]

  12. PDF-Attacke ohne Exploit | silicon.de Says:

    [...] [...]

  13. Adobe suggests workaround for PDF embedded executable hack | Zero Day | ZDNet.com Says:

    [...] another researcher has posted a video showing that it’s possible to launch an attack internally from one PDF onto another already [...]

  14. PDFs Exploitable?!? I’m shocked… | ESET ThreatBlog Says:

    [...] unconfirmed research by Jeremy Conway displays the potential for a PDF worm making the vector rapidly scalable across anyone’s network. Jeremy sums up the [...]

  15. Ivan Markovic Says:

    Hello, good job. I create something similiar few months ago … do You using some default Windows “features” for this exploit ? :)

  16. jeremy Says:

    @Ivan It’s not an exploit, just a creative use of the PDF specification. No windows features either.

  17. yunsoul Says:

    I made similar POC. => http://www.youtube.com/watch?v=Cn0j1eJ0FxY

  18. jeremy Says:

    @yunsoul Very nice… Everyone that has emailed me for specifics I have directed them to the PDF specifications guide, as that is all that is really needed to get started. Add that with some creative scripting and we have one nasty mess on our hands. Again great POC and I really like how you infected two PDF files.

  19. sudosecure.net » Blog Archive » Another Proof of Concept Says:

    [...] Are PDF’s Worm-able? [...]

  20. Network Security Podcast » Blog Archive » Network Security Podcast, Episode 192 Says:

    [...] Are PDF’s Worm-able? [...]

  21. Network Security Blog » Network Security Podcast, Episode 192 Says:

    [...] Are PDF’s Worm-able? [...]

  22. philip Says:

    Does this mean that Foxit is also vulnerable? Or is it just Adobe?

    Thnx

    Philip

  23. eeepcforfree.eu » Blog Archive » PDF Virus Demonstrated Says:

    [...] into the wild: Acrobat PDF files can be used as viruses: Jeremy of sudosecure.net has demonstrated a proof of concept of a PDF virus: a malicious PDF containing an embedded executable which modifies other PDFs to include [...]

  24. jeremy Says:

    @philip It works with Foxit as well. Didier Stevens has some good info here with regards to Foxit’s update and how it changed his POC: Didier Stevens Blog

  25. Nieuwe pdf-hack gedraagt zich als wormvirus « Dario PC – Computerdokter – Blog Says:

    [...] Conway, productmanager bij Nitro Security, heeft een nieuwe proof of concept van een gevaarlijke pdf-exploit online gezet. Hij bouwt daarin voort op de bevindingen van [...]

  26. » Warum PDFs als E-Mail-Anhang eher vermieden werden sollten | optivo E-Mail-Marketing-Blog Says:

    [...] Jeremy von SudoSecure.net baute auf Basis dieses Hacks einen Wurm, der sich von PDF zu PDF fortpflanzt: [...]

  27. Adobe issues official workaround for PDF vulnerability Says:

    [...] The vulnerability can also, in principle, be exploited to spread PDF worms, as demonstrated in avideo from blogger Jeremy Conway. The vendor is advising users to deactivate the "Allow opening of [...]

  28. Adobe onderzoekt PDF-worm « Nieuws Nederland Says:

    [...] security-expert Didier Stevens is door collega Jeremy Conway aangepast om PDF-bestanden een besmettingsfunctie te geven. Daarvoor is geen JavaScript nodig; het PDF-formaat volstaat. Conway geeft geen details of code [...]

  29. The real dangers of PDF executable trickery | Zero Day | ZDNet.com Says:

    [...] I decided to make my own proof of concept which can be seen in a video on my personal blog here: Are PDFs Worm-Able.  In this proof of concept I have one benign PDF document titled “empty.pdf” and another evil [...]

  30. eeepcforfree.eu » Blog Archive » More on PDF Dangers Says:

    [...] a technique by which code executed in one PDF can modify another “safe” PDF. His demonstration changes the other PDF so it launches a Web page at the sudosecure.net security blog. Conway [...]

  31. More on PDF Dangers- The Hackers Edge Says:

    [...] a technique by which code executed in one PDF can modify another “safe” PDF. His demonstration changes the other PDF so it launches a Web page at the sudosecure.net security blog. Conway [...]

  32. Occhio alla trappola: un PDF può diventare un worm « Paoblog Says:

    [...] all’utente: un documento PDF diventa insomma un worm. Lo spiegone e il video sono qui su Sudosecure.net (nome quanto mai azzeccato, visto che questa magagna farà sudare di sicuro molti [...]

  33. Friday Summary: April 9, 2010 | Portable Digital Video Recorder Says:

    [...] Are PDF’s Worm-able? [...]

  34. Los archivos PDF pueden ser usados como virus - TechTear Says:

    [...] Conway, especialista en seguridad y escritor en sudosecure.net ha demostrado y probado que se pueden incrustar virus ejecutables dentro de archivos de Adobe Reader, o como la mayoría los conocemos, [...]

  35. Los archivos PDF pueden ser usados como virus | TengoTecno.com Says:

    [...] Conway, especialista en seguridad y escritor en sudosecure.net ha demostrado y probado que se pueden incrustar virus ejecutables dentro de archivos de Adobe Reader, o como la mayoría los conocemos, [...]

  36. Los archivos PDF pueden ser usados como virus | El Tecnologo X Says:

    [...] Conway, especialista en seguridad y escritor en sudosecure.net ha demostrado y probado que se pueden incrustar virus ejecutables dentro de archivos de Adobe Reader, o como la mayoría los conocemos, [...]

  37. Security Blog by Nagareshwar » Blog Archive » Hackers Exploit Launch Feature of PDF to Spread the Bonets Says:

    [...] on how to exploit PDF’s launch action feature to execute any program. This was followed by Proof-of-concept by Jeremy Conway, product manager at NitroSecurity showing how to perform such an attack in action. [...]

  38. Triflex Enterprise | PDFs Exploitable?!? I’m shocked… Says:

    [...] unconfirmed research by Jeremy Conway displays the potential for a PDF worm making the vector rapidly scalable across anyone’s network. Jeremy sums up the [...]

  39. Pdf son los gusanos capaces? Says:

    [...] Ayer me envió sobre un pensamiento que tenía que incrementarse cuando Escape Didier Steven De PDF construido en función de descubrimiento de donde se ejecuta un binario ejecutable incrustado usando algo de hacking astuta. Mi pensamiento era que muy bien puede ser posible lanzar un ataque contra el interior de un PDF a otro ya existente PDF. I [. . . ] URL del artículo original http://www.sudosecure.net/archives/636 [...]

  40. Are PDF’s Worm-able? | Computer Security Articles Says:

    [...] View full post on sudosecure.net [...]

  41. This Month in the Threat Webscape : CU*Secure Says:

    [...] having to exploit any vulnerabilities. Didier Steven’s Escape From PDF hack  and Jeremy Conway's POC show a way to control the message presented to the end user.  When combined with clever social [...]

  42. Exploiting PDF files, without a vulnerability « The FORWARD project blog Says:

    [...] few days later another researcher Jeremy Conway posted an attack showing that PDFs are “wormable”. It’s possible to launch an attack [...]

  43. sudosecure.net » Blog Archive » Adobe Security Patches Don’t Fully Prevent /Launch Attack Says:

    [...] Are PDF’s Worm-able? [...]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>