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

Static analysis result for SHA-256 4c6d5d7ecfdd0bc5…

MALICIOUS

Office (OLE) / .XLS

260.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-12-19
MD5: 7b181358abbdcfcfa4feefacda706437 SHA-1: 34f5295468f66eb58fe8a94bc9135dc3c0833637 SHA-256: 4c6d5d7ecfdd0bc5c47ee420ccabd9230e8ea78b28fef589fa595fe8e43d28e5
422 Risk Score

Malware Insights

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

The sample is an Excel file containing VBA macros, specifically a Workbook_Open macro designed to execute automatically. The script utilizes WScript.Shell to create an object and display a popup message, likely as a distraction. It also contains logic for downloading and saving a file, indicated by the 'OLE_VBA_HTTP_DROP_EXEC' heuristic. The presence of 'WScript.Shell' and the automatic execution via Workbook_Open strongly suggest a downloader or initial access mechanism.

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
8a86c2a32276cccf29c12aa464f0f4c08af2a8615e6cd7cb1d49f1fb058e97a5
vba-macro oletools.olevba.extract_macros (decoded VBA source) 15779 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 69 long base64-like blob(s).