Malicious Office (OLE) / .XLSX — malware analysis report

Static analysis result for SHA-256 958f2f85df6eb4e8…

MALICIOUS

Office (OLE) / .XLSX

36.0 KB Created: 2020-11-25 10:42:12 Authoring application: Microsoft Excel
MD5: bf7eae2a814a28a373d630411650908c SHA-1: 2c71143a82a30a104dc3fa0275f0d656b2bccbc7 SHA-256: 958f2f85df6eb4e88fcd3434ed952ff5917619c951bd2fc72d4ac398b40e4ff6
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic for Applications T1059.001 PowerShell

The sample is an Excel file containing Excel 4.0 macros, specifically an Auto_Open macro. This macro is designed to execute dangerous functions, including the RUN function, which allows for arbitrary command execution. The presence of the Auto_Open entry and the use of dangerous functions strongly indicate malicious intent, likely to download and execute a secondary payload. No specific family could be identified, but the technique is common for initial access.

Heuristics 3

  • 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.
  • 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
f7728cfe89ddf2b3c69fe71ff6977c540fcf56e7548cce556619ef5301cec309
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6607 bytes