MacroMilter icon indicating copy to clipboard operation
MacroMilter copied to clipboard

Analysis of PDF and AutoCAD

Open yoshimo opened this issue 6 years ago • 4 comments

Not sure if this is feasible just yet. Still looking for some kind of decompiler and tools like oletools for ms office files, but this two filetypes might profit from a similiar short decision like ms office files as they can both include macros and executable code that is polymorph and not necessarily in av signatures yet.

yoshimo avatar Dec 10 '18 17:12 yoshimo

Hi. It would be great to be able to filter PDFs to some extent.

For PDFs I found a couple of alternatives here: https://github.com/rshipp/awesome-malware-analysis. PeepPDF looks useful.

dvadell avatar Dec 10 '18 21:12 dvadell

If you want to simply identify PDF files with suspicious content such as JavaScript, OpenActions, etc, another option is to use PDFID from Didier Stevens: https://blog.didierstevens.com/programs/pdf-tools/#pdfid

Many years ago, I made a slightly modified version of PDFID that can be called from a Python application (the original PDFID was just a command line tool):

  • https://www.decalage.info/en/python/pdfid
  • https://github.com/decalage2/exefilter/tree/master/thirdparty/pdfid

It's not fully up to date, but can be a good starting point.

It all depends what you want to detect in PDFs. More info about PDF security issues: https://www.decalage.info/en/file_formats_security/pdf

decalage2 avatar Dec 11 '18 10:12 decalage2

That's a good point - thank you @yoshimo and @dvadell for that. But unfortunately I have no time to implement a "new feature". 😢 There are to many bugs and enhancements which should be fixed first.

Maybe I found some time in the coming holidays to look into that. But feel free to contribute and start coding on that!! 😃

sbidy avatar Dec 12 '18 16:12 sbidy

@sbidy thanks a lot for all your work!

dvadell avatar Dec 12 '18 17:12 dvadell