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

Static analysis result for SHA-256 29951bf84d245809…

MALICIOUS

Office (OLE) / .XLS

66.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2023-09-09
MD5: 5d807bc80888886731d8eec7895aa06e SHA-1: 2b522363459a8ee9998d561c737db529c5c4f7c0 SHA-256: 29951bf84d245809d517354f868152ef0b8f23f4dcab12deff26ec5c52ca220e
422 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The Workbook_Open macro is designed to execute automatically when the Excel file is opened. It utilizes WScript.Shell and CreateObject to download and execute a secondary payload, as indicated by the critical OLE_VBA_HTTP_DROP_EXEC heuristic. The use of WScript.Shell and CreateObject are key indicators of this malicious behavior.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • ClamAV: Xls.Malware.Valyria-10032137-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Valyria-10032137-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Suspicious extracted artifact info 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
bf2012744ae5cdac3716d3577c85f563cd52d0cde50edad3e562f2f9d691bbbe
vba-macro oletools.olevba.extract_macros (decoded VBA source) 28422 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 107 long base64-like blob(s).