oletools is a package of python tools to analyze Microsoft OLE2 files (also called Structured Storage, Compound File Binary Format or Compound Document File Format), such as Microsoft Office documents or Outlook messages, mainly for malware analysis, forensics and debugging. It is based on the olefile parser. See http://www.decalage.info/python/oletools for more info.
News
2016-11-01 v0.50: all oletools now support python 2 and 3.
olevba: several bugfixes and improvements.
mraptor: improved detection, added mraptor_milter for Sendmail/Postfix integration.
rtfobj: brand new RTF parser, obfuscation-aware, improved display, detect executable files in OLE Package objects.
setup: now creates handy command-line scripts to run oletools from any directory.
2016-06-10 v0.47: olevba added PPT97 macros support, improved handling of malformed/incomplete documents, improved error handling and JSON output, now returns an exit code based on analysis results, new --relaxed option. rtfobj: improved parsing to handle obfuscated RTF documents, added -d option to set output dir. Moved repository and documentation to GitHub.
2016-04-19 v0.46: olevba does not deobfuscate VBA expressions by default (much faster), new option --deobf to enable it. Fixed color display bug on Windows for several tools.
pyxswf: to detect, extract and analyze Flash objects (SWF) that may be embedded in files such as MS Office documents (e.g. Word, Excel) and RTF, which is especially useful for malware analysis.
oleobj: to extract embedded objects from OLE files.
rtfobj: to extract embedded objects from RTF files.
Download and Install: The recommended way to download and install/update the latest stable release of oletools is to use pip:
On Linux/Mac: sudo -H pip install -U oletools
On Windows: pip install -U oletools
This should automatically create command-line scripts to run each tool from any directory: olevba, mraptor, rtfobj, etc. To get the latest development version instead:
On Linux/Mac: sudo -H pip install -U https://github.com/decalage2/oletools/archive/master.zip
On Windows: pip install -U https://github.com/decalage2/oletools/archive/master.zip
See the documentation for other installation options.
Documentation: The latest version of the documentation can be found online, otherwise a copy is provided in the doc subfolder of the package.