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

Static analysis result for SHA-256 07a877cc1499b20a…

MALICIOUS

Office (OLE) / .XLS

120.0 KB Created: 2021-01-06 16:14:54 Authoring application: Microsoft Excel
MD5: c221348cc4be1ca5c8d1fe510c672e57 SHA-1: b7bbcb23c92782d871a684afc34e4c8264e96b8e SHA-256: 07a877cc1499b20ae7bcaf0200f2576a100754fa661e391f36cbb95aa58a75b9
202 Risk Score

Malware Insights

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

The presence of Excel 4.0 macros, specifically an Auto_Open entry, indicates an attempt to automatically execute code upon opening the workbook. Heuristics indicate the use of cmd.exe and PowerShell to download and execute a payload from the embedded URL http://lankarecipes.com/mages.jp. The script attempts to construct a PowerShell command line for execution.

Heuristics 6

  • 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.
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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 http://lankarecipes.com/mages.jp

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
1b7d73e24cdfb127f706d79a12581aa6c54277f8a8185664fced272ef5c06589
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 1024 bytes