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

Static analysis result for SHA-256 0579f660e3087207…

MALICIOUS

Office (OLE) / .XLS

186.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-07-23
MD5: ff1d418a593b67d2fabc338d1b1dbd58 SHA-1: 0f8d2f9a7df714864913b9c80fc90a72ca1d8d4e SHA-256: 0579f660e3087207714180f271bd21e9ecaea4e7103e1a140ebadf378473416f
360 Risk Score

Malware Insights

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

The sample is an Excel file containing VBA macros. Critical heuristics indicate the use of WScript.Shell and a Shell() call, along with a critical finding for VBA downloading and executing a file via HTTP. The Workbook_Open event is also present, suggesting automatic execution upon opening. The obfuscated script content and the nature of the heuristics strongly suggest a downloader or dropper functionality.

Heuristics 8

  • 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

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
46e5eb7de6f7cd36398973bf55828839ba0e52aaf9794cb98f9c8419d069dd7b
vba-macro oletools.olevba.extract_macros (decoded VBA source) 12785 bytes