decalage2 / oletools

oletools - python tools to analyze MS OLE2 files (Structured Storage, Compound File Binary Format) and MS Office documents, for malware analysis, forensics and debugging.
http://www.decalage.info/python/oletools
Other
2.88k stars 565 forks source link

olevba: detect VBA Purging #537

Open decalage2 opened 4 years ago

decalage2 commented 4 years ago

It may be interesting to detect VBA Purging (when VBA P-Code has been removed and only compressed VBA source code is left), as explained in this article: https://blog.nviso.eu/2020/02/25/evidence-of-vba-purging-found-in-malicious-documents/ More VBA Purging links:

decalage2 commented 3 years ago

See also OfficePurge to generate samples: