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

Static analysis result for SHA-256 03b7487aa7876869…

MALICIOUS

Office (OLE) / .XLS

70.0 KB Created: 2020-09-20 21:17:44
MD5: 827892319bfce46ced32c8bf4c98f5e9 SHA-1: 1eeff14de9e9cb2e2e3ddc8bb48ccb0236384970 SHA-256: 03b7487aa7876869f84270daac3ab23d253add10c2ecc1f613cb89fe84b3e980
162 Risk Score

Malware Insights

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

The sample is an Excel 4.0 (XLM) macro-enabled workbook that contains an Auto_Open macro. This macro uses the EXEC function to run obfuscated PowerShell commands, which appear to download and execute a file named 'pd.bat' from a shortened URL. The commands also attempt to hide and move the batch file to the temporary directory.

Heuristics 5

  • 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.
  • XLM workbook contains URL shortener medium OLE_XLM_URL_SHORTENER
    Workbook contains an Excel 4.0 macro-sheet marker and visible URL-shortener targets in the OLE bytes. This is a common XLM downloader shape even when formula recovery is incomplete.
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://cutt.ly/FhmRlOB

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
5fddd3c71be3b344af7434f2976fbef5f256aacd2bea89eba0358e50bf513ca0
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 1947 bytes