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

Static analysis result for SHA-256 ef9f952df519a8aa…

MALICIOUS

Office (OLE) / .XLS

149.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-04-27
MD5: 565f19552cd9dac636aef8ef927ba2ce SHA-1: efce4577295c74e1b952e4f7d67b4b9545c887db SHA-256: ef9f952df519a8aa2dd8fd53a2e1368f12b77d47905b03450f93fb757cc29e90
340 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1059.001 PowerShell T1204.002 Malicious File

The critical heuristic firings for OLE_VBA_SHELL and OLE_VBA_WSCRIPT, along with the Workbook_Open macro, indicate that this Excel file is designed to run malicious code upon opening. The VBA script utilizes WScript.Shell to access special folders and reconstructs a registry path for persistence. The script's intent is to establish persistence and likely download and execute a second-stage 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
  • 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.
  • Suspicious extracted artifact high 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.
  • 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
84229d9d3e7dea14f18dd8ce07e9aa1302a48d28c7290c9d7234b02bd043800d
vba-macro oletools.olevba.extract_macros (decoded VBA source) 27430 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.