I produced videos showing how I created my “Test File: PDF With Embedded DOC Dropping EICAR” and how to change the settings in Adobe Reader to mitigate this.
I produced videos showing how I created my “Test File: PDF With Embedded DOC Dropping EICAR” and how to change the settings in Adobe Reader to mitigate this.
RSS feed for comments on this post. TrackBack URI
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Nice Tutorial and great work!!! 🙂
I just Installed the latest Phyton 3-Version and tried to use your script, but as a Result a 1kb not readable PDF will be created.
That is the complete Output:
C:\exploit>make-pdf-embedded.py -a -s Anschreiben.doc a.pdf
Traceback (most recent call last):
File “C:\exploit\make-pdf-embedded.py”, line 117, in
Main()
File “C:\exploit\make-pdf-embedded.py”, line 114, in Main
CreatePDFWithEmbeddedFile(pdfFileName, embeddedFileName, embeddedFileContent, options.filters, options.nobinary, options.autoopen, options.button, options.stego, options.message)
File “C:\exploit\make-pdf-embedded.py”, line 80, in CreatePDFWithEmbeddedFile
oPDF.stream2(8, 0, embeddedFileContent, ‘/Type /EmbeddedFile’, filters)
File “C:\exploit\mPDF.py”, line 156, in stream2
self.appendBinary(encodeddata)
File “C:\exploit\mPDF.py”, line 55, in appendBinary
fPDF.write(bytes(str, ‘ascii’))
TypeError: encoding or errors without a string argument
Any suggestions?
Thanks!
Comment by Martin — Tuesday 15 December 2015 @ 12:01
Take a look at this post: https://blog.didierstevens.com/2015/07/20/if-you-have-a-problem-running-my-tools/
Comment by Didier Stevens — Tuesday 15 December 2015 @ 14:53