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

Static analysis result for SHA-256 1435c5d20f923b04…

MALICIOUS

Office (OLE) / .XLS

158.5 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-07-29
MD5: 02fe879594d2b9ec2a25eb165208ea3d SHA-1: e13c0b5913d3a9b66fd0466abdadfef8f6d421be SHA-256: 1435c5d20f923b04d70a6aec7a1c85c7e4ec562d81b6fcf3cce4a4bb4d011f75
360 Risk Score

Malware Insights

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

The critical OLE_VBA_SHELL and OLE_VBA_WSCRIPT heuristics indicate the use of WScript.Shell for execution. The OLE_VBA_HTTP_DROP_EXEC heuristic confirms that the VBA code downloads a file from an HTTP resource and saves it to disk, likely for execution. The Workbook_Open macro is automatically executed upon opening the Excel file, initiating the malicious chain.

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