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

Static analysis result for SHA-256 31fb147d60b4c3eb…

MALICIOUS

Office (OLE) / .XLSX

36.5 KB Created: 2020-11-25 10:40:01 Authoring application: Microsoft Excel
MD5: 0c87dc28821939bf818102476d33a404 SHA-1: 7aaee5e9a4d31912d2f12535755745c41c156f8d SHA-256: 31fb147d60b4c3eb625364949e845a5543d4c075a7fc3c6eae9c2932d716a963
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical finding. The presence of 'RUN=0' within the macro indicates a direct execution of a command. While the exact command is not fully reconstructed due to truncation, the technique strongly suggests the execution of a malicious payload. The macro sheet itself is named 'OkBqzfBCLcs', which is unusual and may be part of the obfuscation or a specific identifier.

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
500e771b0baeb0ba9ed525cd144c27ffa90f44351be6c1691dc5a2cdcf70cb39
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6709 bytes