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

Static analysis result for SHA-256 40431e3ed51b3805…

MALICIOUS

Office (OLE) / .XLS

136.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2023-08-17
MD5: e2ea080eae95c122ac52d2b0bdaa7ae3 SHA-1: 61043156ea5292a16ec2968099cade07da887bea SHA-256: 40431e3ed51b38051e6bbb7d148ab467a016d7776b2143c64aa158bcd3195923
422 Risk Score

Malware Insights

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

This XLS file contains VBA macros that are automatically executed upon opening, specifically via the Workbook_Open event. The macros utilize WScript.Shell and the Shell() function to download and execute a payload, as indicated by the 'OLE_VBA_HTTP_DROP_EXEC' heuristic. The obfuscated script content and the presence of a 'ClamAV: Xls.Malware.Valyria-10032137-0' detection further support its malicious nature.

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