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

Static analysis result for SHA-256 1c9c7ac0cae8fbbc…

MALICIOUS

Office (OLE) / .XLSX

36.0 KB Created: 2020-11-25 10:38:37 Authoring application: Microsoft Excel
MD5: 1047aafa0e275170c82b0aeb3f80a313 SHA-1: 21dca3e1dc5e6d5390fd6a060147baa3c058e0bc SHA-256: 1c9c7ac0cae8fbbc7835e3f790e45bc888f5f865e717b6ff9ffff4e6314bd39e
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell

The sample is an Excel file containing Excel 4.0 macros, specifically an Auto_Open defined name. This indicates the workbook is configured to automatically execute a macro when opened. The critical heuristic 'OLE_XLM_DANGEROUS_FN' with 'risky-formula=3; RUN=0' confirms the use of the RUN function, which is highly suspicious as it can be used to execute arbitrary commands. The macro sheet itself contains obfuscated data, suggesting an attempt to hide malicious activity. The primary IOC is the use of the RUN function within the Auto_Open macro.

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
46f1e477db6db30a42fda36e23b7b9956b574fff81cb258e8b8e11568eb3b496
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6635 bytes