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

Static analysis result for SHA-256 7f7b507838dab5d4…

MALICIOUS

Office (OLE) / .XLS

141.0 KB Created: 2018-12-06 20:43:11 Authoring application: Microsoft Excel First seen: 2022-03-08
MD5: 2d5a1dfc5747e03f6edeb625cd4fda83 SHA-1: 07489ca22daf0ad907bf5bc48da2dfc9e410b5ea SHA-256: 7f7b507838dab5d476ce2b64aa83185409788f2e9f0e5a3d207c72bb9cc8dc83
340 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1218.011 Signed Binary Proxy Execution: Rundll32

This XLS file contains VBA macros that are automatically executed upon opening, as indicated by the Workbook_Open event. The macros utilize WScript.Shell to create an object and access special folders, likely to download and execute a second-stage payload. The presence of WScript.Shell and Shell() calls strongly suggests a malicious intent to compromise the system.

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
b2ea53130139e84ecef00e25d61f9ab0c4de13e1332f2eb7ac1ce6a5f5f78f93
vba-macro oletools.olevba.extract_macros (decoded VBA source) 15100 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved artifact contains 2 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.