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

Static analysis result for SHA-256 cabf8ee80c59d5a5…

MALICIOUS

Office (OLE) / .XLS

101.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-07-31
MD5: 8d441608c4f38ec8546bc7c2c22f29c8 SHA-1: b1f83b5d8877bcbe2124bdbf3ba74c048d5e2918 SHA-256: cabf8ee80c59d5a5248011b0ca605c8bac643cbb98f68f00bf45d75d3e0f7da7
360 Risk Score

Malware Insights

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

The critical OLE_VBA_SHELL and OLE_VBA_WSCRIPT heuristics indicate the use of WScript.Shell, and the OLE_VBA_HTTP_DROP_EXEC heuristic confirms that the VBA code downloads a file from the internet and saves it to disk. The Workbook_Open macro is automatically executed upon opening the Excel file, facilitating the download and execution of a secondary payload.

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
56e3d0b91405467b6588c2f881427499d4e0c445c998e1bac7b0366d069c849c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 24631 bytes