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

Static analysis result for SHA-256 e2a00774cf440f96…

MALICIOUS

Office (OLE) / .XLSX

36.5 KB Created: 2020-11-27 11:39:46 Authoring application: Microsoft Excel
MD5: 5d8392b54cea79c62371689a923d4aee SHA-1: ff97bd47419c16d2de3e6da92c9789897a61a546 SHA-256: e2a00774cf440f96c1bb1e9b450d67e66780688fb200c7f65097c5e47d59072d
140 Risk Score

Malware Insights

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

The file is an Excel spreadsheet containing Excel 4.0 (XLM) macros. Critical heuristics indicate the presence of an Auto_Open defined name, which is a common technique for automatically executing malicious code upon opening the document. The XLM macro sheet contains a reference to dangerous formula APIs, specifically the RUN function, suggesting the macro is designed to execute arbitrary commands. The presence of the Auto_Open function strongly implies the intent to download and execute a second-stage payload.

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
8c2855e23f2d412dc097228d826073dd1157a25320e04c92684fbe81a85a355a
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6900 bytes