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

Static analysis result for SHA-256 5df812e1d7fa82b2…

MALICIOUS

Office (OLE) / .XLS

137.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel
MD5: b8dcc352dca07f877e0060ff83ca4449 SHA-1: 366e7e0392152eb4dd5ed7907d4f9b7099fb7dc9 SHA-256: 5df812e1d7fa82b2d43bf7f02bc8b86195774c8eb85dbcd22d61a38381e42c29
490 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer T1059 Command and Scripting Interpreter T1204.002 Malicious File

This Excel file contains a Workbook_Open VBA macro that is heavily obfuscated and uses WScript.Shell to execute commands. The macro is designed to download a second-stage payload from a hardcoded URL and save it as 'macros.bas' in the user's profile directory, which is then likely executed. This indicates a downloader or droppper functionality.

Heuristics 12

  • 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.
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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
96a3b1d3baa7260830332b783e256f759140d54b169e7d81b241bc14f6fe3b14
vba-macro oletools.olevba.extract_macros (decoded VBA source) 58052 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 127 long base64-like blob(s).