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

Static analysis result for SHA-256 051851a940f92112…

MALICIOUS

Office (OLE) / .XLS

108.5 KB Created: 2023-02-14 21:10:12 Authoring application: Microsoft Excel First seen: 2023-02-14
MD5: 7d9d74f288692c926db35569320ba58e SHA-1: e4906248df2ede9c6dc139bae06dd07400713da5 SHA-256: 051851a940f92112ddf290124d2cea4acd2d0d1f2522c8e942faef9ed6fff244
362 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 leverage WScript.Shell to download and execute a file. The Workbook_Open macro is triggered upon opening, indicating an automated execution flow. The presence of a 'macros.bas' artifact and the critical heuristic for downloading and executing a file via HTTP strongly suggest a downloader functionality.

Heuristics 9

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