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

Static analysis result for SHA-256 0c2ddec2fca51fd4…

MALICIOUS

Office (OLE) / .XLS

180.0 KB Created: 2021-10-27 10:31:49 Authoring application: Microsoft Excel
MD5: d105703698cc7bd50f3c432ca5cf7b89 SHA-1: 9c952f1f1f5b766585d3cb73e4afc4931d2b8a74 SHA-256: 0c2ddec2fca51fd49d5490140da3af24f7b392e2aadab51b862d36b59af4138f
202 Risk Score

Malware Insights

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

The sample is an Excel file containing Excel 4.0 macros, specifically an Auto_Open macro that utilizes dangerous formula APIs. The macros reconstruct and execute a command that includes a URL, indicating an attempt to download and execute a second-stage payload. The reconstructed command `EXEC("wm"&"ic "&"pro"&""&"ce` suggests the execution of a Windows Management Instrumentation command, likely to fetch and run a malicious binary from one of the embedded URLs.

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.
  • URL reconstructed from XLM cell array (4 URLs) critical OLE_XLM_CELL_ARRAY_URL
    Excel 4.0 macro sheet stages its payload URL across the BIFF8 Shared String Table (one quoted-char SST entry concatenated with & at runtime) or across individual numeric cells (one ASCII charcode per cell). The reconstructed URL is invisible to literal-bytes URL extraction because it is never contiguous in the workbook stream. URLs were recovered by walking the BIFF8 record stream and decoding SST entries plus LABELSST/RK/NUMBER cells.
  • 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://149.129.254.152:8080/6tfcnfucknugget4gpenis3dade5z6cpc
    • https://cdn.discordapp.com/attachments/911246617275957290/915526473467719720/KsXtuXmxoZvgudVwhoreniggagay.bin
    • https://cdn.discordapp.com/attachments/911246617275957290/915526468073848872/xTpcaEZvwmHqwhoreniggagay.bin
    • https://cdn.discordapp.com/attachments/911246617275957290/915526461379727370/GYRxsMXKtvwSwhoreniggagay.bin

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
7a14edba6cceef9df350668fbb5711c1b5f25bb5a616ca305cda17543910d703
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 2164 bytes