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

Static analysis result for SHA-256 5964efaa76919b34…

MALICIOUS

Office (OLE) / .XLS

44.0 KB Created: 2022-04-18 09:37:27 Authoring application: Microsoft Excel First seen: 2022-04-30
MD5: 27ac40a34c7b5d19d21e72ccac3d93d5 SHA-1: 171bb21e8f64e713b20d79359f4eb7e4f2c005d3 SHA-256: 5964efaa76919b34a74b2cc74f58a5f765a2f8c79f6a7ba2b315928cd7c98d55
308 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

The Workbook_Open macro executes cmd.exe to run a series of commands, including setting a timeout and then executing a VBScript named 'ipconfig.vbs' from the temporary directory. This VBScript is constructed from a long, obfuscated hexadecimal string, likely containing malicious code to download and execute a second-stage payload. The macro also attempts to establish persistence by writing to the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\IAccessible2Proxy.

Heuristics 9

  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • 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
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
1af17490d211cc640924ac63969a29c6d2101bb29dbefa2c52010474bfce2b1c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 4467 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 4 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.