Open decalage2 opened 2 years ago
olevba (i.e. ppt_parser) also does not handle this file correctly, the structure of the streams is not as expected:
File appears not to be a ppt file (In stream "root" for field "listdir" found value "[['\x05DocumentSummaryInformation'], ['\x05SummaryInformation'], ['Current User'], ['MsoDataStore', 'HFOOÚAINÛÔ0AIÉÊÂCÂÎJKÐ==', 'Item'], ['MsoDataStore', 'HFOOÚAINÛÔ0AIÉÊÂCÂÎJKÐ==', 'Properties'], ['Pictures'], ['PowerPoint Document']]" but expected len = 1!)
However, replacing that error with a warning does not lead to detection of the payload. Will investigate also, just have to finish something else, first
Found the problem: zipfile.is_zipfile
returns True
for this sample, although it clearly is not a zip file. Fixed it in the above branch (which also detects the actual malware content inside the sample)
Fix in #786
When running oleobj on a PPT 97-2003 file (e.g. https://www.hybrid-analysis.com/sample/d1bceccf5d2b900a6b601c612346fdb3fa5bb0e2faeefcac3f9c29dc1d74838d/631b2c1d8501f5745e1ca88d), oleobj tries to parse it as an OpenXML file and triggers exceptions: