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

Static analysis result for SHA-256 a5dfcf9a827396a6…

MALICIOUS

Office (OLE) / .XLS

101.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-07-30
MD5: c501a3de6004db181b0988adc5990cd6 SHA-1: e7944bf33b65a53e6739501bb355cdac543f97d9 SHA-256: a5dfcf9a827396a6301eaacd4be669f2c936720727c2a00679d0ee1574a86abd
360 Risk Score

Malware Insights

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

The Workbook_Open macro is configured to execute automatically when the spreadsheet is opened. It utilizes WScript.Shell to download and execute a second-stage payload, as indicated by the critical OLE_VBA_HTTP_DROP_EXEC and OLE_VBA_WSCRIPT heuristics. The use of Shell() and WScript.Shell points to 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
86245d3ed97a6a2ff5a87302e3e936dbcade02cd44cdfe183afb02c094c3c0a4
vba-macro oletools.olevba.extract_macros (decoded VBA source) 24558 bytes