Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2152b6f22a46d01e…

MALICIOUS

Office (OLE)

170.5 KB Created: 2020-05-14 09:51:38 Authoring application: Microsoft Excel
MD5: f531ed3559f9e2384cdf8377c2f63fb8 SHA-1: 61d4e63a6e9408a39ef74218362ab32b73c7390d SHA-256: 2152b6f22a46d01efeeb7e841eadef6641d0ba88d8c65422c08ac8c3256416d4
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 4.0 macro-enabled workbook. Static analysis revealed an Auto_Open defined name, which is a common technique for automatic execution upon opening. The critical heuristic firings indicate the use of dangerous formula APIs, specifically the RUN function, which is used to execute arbitrary commands. The script attempts to construct a string using CHAR functions and then executes it via the RUN function, indicating it's likely a downloader for 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
17446cc3b799fe5d5bfcdd94846daf25c2bec159441e88df056f2e7e825fb9af
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 128366 bytes