Quick Tip: Extracting all VBA Code from a Maldoc - JSON Format

Published: 2020-11-22. Last Updated: 2020-11-22 22:06:53 UTC
by Didier Stevens (Version: 1)
0 comment(s)

In diary entry "Quick Tip: Extracting all VBA Code from a Maldoc" I explain which options to use with oledump.py to extract all VBA code with a single command.

I promised that I would update oledump.py so that it can also produce JSON output with all VBA code.

This is now done with version 0.0.55. Existing option -j (--json) produces a JSON object with the content (base64 encoded) of each stream found inside the analyzed ole file. Combining option -j and -v produces a JSON object with the VBA code (base64 encoded) of each stream module found inside the analyzed ole file:

Didier Stevens
Senior handler
Microsoft MVP
blog.DidierStevens.com DidierStevensLabs.com

Keywords: json maldoc vba
0 comment(s)

Comments


Diary Archives