Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 ab8e0b37478ba05e…

MALICIOUS

Office (OLE) / .XLSX

143.5 KB Created: 2022-01-26 02:21:30 Authoring application: Microsoft Excel
MD5: 9a8cce47224e1c45059e9fe8bf3d62fe SHA-1: a5f69e3fa0ab07ef8f9a0fced1f478933fae8fb3 SHA-256: ab8e0b37478ba05e901e66b502b1ee087e7112d092b4b8389e37265d11a4fad3
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The critical heuristics indicate the presence of Excel 4.0 macros with an Auto_Open entry, specifically using dangerous formula APIs like RUN. ClamAV detection confirms this is Emotet, a known downloader. The macro sheet likely executes a second-stage payload, leveraging the Auto_Open function to run code upon opening the malicious time card document.

Heuristics 4

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • ClamAV: Xls.Downloader.Emotet-bd646319c2d29cd6-9951195-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-bd646319c2d29cd6-9951195-0
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
46284ea41c691066b9fe85a87bc7e9bfc77336182ea3b4ed700574b0c8cd3189
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 3141 bytes