![]() |
|
#1
|
||||
|
||||
|
http://blog.didierstevens.com/2010/0...cape-from-pdf/
Quote:
|
|
#2
|
||||
|
||||
|
http://blogs.zdnet.com/security/?p=5929
Quote:
|
|
#3
|
||||
|
||||
|
Confirmed with Foxit
__________________
. Malware = You don't scare me A different perspective https://rt.com - https://rt.com/on-air |
|
#4
|
||||
|
||||
|
Nuance PDF Reader and PDF-XChange Viewer give an error message and prevent it. SumatraPDF prevents it without error message.
|
|
#5
|
|||
|
|||
|
Although he is correct that the exploit doesn't require a vulnerability, embedding binary executables in PDF files has been done before, and for the unpatched victim, there is no message box, so it's not a social engineering exploit, rather, simple remote code execution:
Sophisticated, targeted malicious PDF documents exploiting CVE-2009-4324 http://isc.sans.org/diary.html?storyid=7867 Quote:
Likewise, his PoC file doesn't work. From the article, regarding the social engineering part of his exploit: Quote:
What to do? I discussed this with Peter2150 some time ago and in his office, his solution is Sandboxie, so that any untoward malicious actions will be contained. Since these malicious PDF and MSWord documents all launch a embedded binary executable, Anti-executable solutions will prevent these exploits from succeeding, as I showed with a malicious RTF document exploit last summer, which requires the user to click in a message box: http://www.wilderssecurity.com/showthread.php?t=244726 ---- rich |
|
#6
|
||||
|
||||
|
PDF-XChange Viewer - shows a warning icon "Show Broken Info" with the info:
Quote:
2. The document re-saved is without the warning . |
|
#7
|
|||
|
|||
|
In Adobe Reader, the setting Edit->Preferences->Trust Manager->'Allow opening of non-PDF file attachments with external applications' affects whether the command prompt executes or not.
|
|
#8
|
||||
|
||||
|
Someone asked about it on Foxit's forum:
Quote:
|
|
#9
|
|||
|
|||
|
Quote:
Yes, and this is the message you will get: |
|
#10
|
||||
|
||||
|
an alternate .pdf viewing option:
Quote:
|
|
#11
|
|||
|
|||
|
Quote:
But I found it slow for large pdf files ![]() |
|
#12
|
||||
|
||||
|
the story spreads...
Quote:
|
|
#13
|
|||
|
|||
|
Quote:
Very handy, Thanks. |
|
#14
|
||||
|
||||
|
PDFExchange viewer in Win 7.
__________________
Ubuntu 12.10 AX64 Time Machine, Comodo FW & Defence Plus, Last edited by aigle : March 31st, 2010 at 08:30 PM. |
|
#15
|
||||
|
||||
|
Quote:
My pleasure. I think I'll be defaulting to gPDF for .pdf files myself for the time being, at least on my XP box, all things considered... http://www.theregister.co.uk/2010/03...eader_attacks/ http://www.blade-defender.org/eval-lab/ Last edited by mvario : March 31st, 2010 at 09:15 PM. |
|
#16
|
||||
|
||||
|
The gPDF is great! I have the entire office using it now.
|
|
#17
|
||||
|
||||
|
Quote:
I've ditched Adober Reader in favour of super-configurable - and portable! - PDF-XChange Viewer and I've been very satisfied! http://www.docu-track.com/product/pdf-xchange-viewer
__________________
The really important kind of freedom involves attention, and awareness, and discipline, and effort, and being able truly to care about other people and to sacrifice for them, over and over, in myriad petty little unsexy ways, every day. - David Foster Wallace |
|
#18
|
||||
|
||||
|
Quote:
|
|
#19
|
|||
|
|||
|
Of course this exploit didn´t work on my machine, since no app is allowed to launch any other app without my permission.
However, this PDF attack is quite a simple one, so I do wonder if my HIPS still protects against more advanced attacks (see link). I have tried to post a comment asking to test a classical HIPS like Malware Defender or SSM against this exploit, but somehow my comment doesn´t appear on the site. Can perhaps someone else try it? http://pandalabs.pandasecurity.com/d...vulnerability/ |
|
#20
|
|||
|
|||
|
Does UAC stop this?
|
|
#21
|
|||
|
|||
|
Quote:
Unless exploit will try to do that will require adminstrative rights. But simply opening cmd.exe dosent require it. So the pdf file which he gave as test file, will not trigger UAC warning. But at the same time, the malware which will be excuted may need admin rights, so it may trigger UAC... I think in this case it UAC will ask permission for PDF reader!? So User may be mislead... Similar thing goes to HIPS programms, most likely they will not warn when pdf file just wants to launch cmd.exe. Maybe they will, in this case it will mean that it's a bit sensative and warning on a a lot more things aswell.. ![]() Quote:
adobe reader? SRP? AppLocker? AntiExacutable? Some HIPS programm? or any other software? |
|
#22
|
|||
|
|||
|
Quote:
This PoC demonstrates that the PDF code can launch an executable. It uses a trusted executable, cmd.exe, so it is allowed to open. When this exploit becomes used in cybercriminal exploit kits, it's a pretty good guess that it will not launch cmd.exe or the calculator! So, a better test is to modify the PoC PDF file to open a non-approved (non-white listed) executable and then see what your security does: ---- rich |
|
#23
|
|||
|
|||
|
Quote:
From the link: Quote:
Here I use an IE6 exploit to attempt to download the same non-approved executable I used in the PDF test above: These web-based remote code execution exploits that download trojans have no chance against any security that watches for non-approved (non-white listed) executables. ---- rich |
|
#24
|
|||
|
|||
|
Quote:
That's what I meant. We can't really test this exploit and different security setups against it. As the exploit Template file which he gave us is harmless, so our testing security will not stop it. Otherwise it would have been False Positive!? Thank you for clarifying, Rmus |
|
#25
|
|||
|
|||
|
You are welcome.
Here is a different PoC from Security-Labs.org that you can easily modify to test your security: http://seclabs.org/fred/docs/sstic09...aunch/calc.pdf Open the file in a text editor and you see the command line to launch the the calculator, calc.exe: Here is what I just helped someone do to test: 1) Insert a CD with a setup.exe file 2) In the PoC PDF file, replace the path to calc.exe with the path to the CD ROM setup file. 3) Close and save the PDF file. 4) Then open the PDF file and OK the prompt to run this test. Since the Setup file is not already installed and authorized on your computer, your security should alert when it attempts to open: This simulates what a cybercriminal would do with a malicious executable embedded in the PDF file and how your security would prevent the running of that executable. ---- rich Last edited by Rmus : April 8th, 2010 at 04:45 PM. |
| « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|
|