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

Static analysis result for SHA-256 798913e36afbde61…

MALICIOUS

Office (OLE) / .XLS

723.0 KB Created: 2020-05-20 22:00:05 Authoring application: Microsoft Excel
MD5: 29502a2f25b8b9d9ff39644fd6a035e3 SHA-1: 0595d6ba719eadda9b099e2cac94d45aefbda795 SHA-256: 798913e36afbde615c9fedc4eb9e8a36ab529eca814b2d7c57a2b117a3ee0e9c
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The critical heuristics indicate the presence of Excel 4.0 macros with an Auto_Open entry, which is a known technique for executing malicious code. The macro sheet contains a formula that calls the RUN function (423), which is used to execute external programs. The DOC BODY contains a heavily obfuscated string that, when partially reconstructed, appears to be a URL. This suggests the macro is designed to download and execute a second-stage payload from this URL.

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
3e926e9ca5a9744dbe71f496e89c682de7f2e09f3270dff3e10f75bab5a1cd30
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 61918 bytes