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

Static analysis result for SHA-256 c5d3de05ae979f17…

MALICIOUS

Office (OLE) / .XLS

176.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2023-09-11
MD5: f47e83421de7278b9e69b9ee4109b46d SHA-1: 33604e090aedfb8b5f25d674e6e129bb0a617cdb SHA-256: c5d3de05ae979f172612527eb099472aa182fff015ab59ea89c07d45f458ee90
422 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1105 Ingress Tool Transfer T1204.002 Malicious File

The Workbook_Open macro in the VBA script utilizes WScript.Shell to access the user's Templates directory. It then proceeds to download and execute a second-stage payload, as indicated by the 'OLE_VBA_HTTP_DROP_EXEC' heuristic. The specific download URL and the executed payload are not fully discernible due to obfuscation and truncation, but the intent is clear.

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