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

Static analysis result for SHA-256 ba7731b6dc348e53…

MALICIOUS

Office (OLE) / .XLSX

243.0 KB Created: 2021-07-24 09:17:42 Authoring application: Microsoft Excel
MD5: 38dad5dbfc291ff10af3af06093e5a1f SHA-1: c98f1cb50a7e0980060e3d78aff5e7d2d1eb38cb SHA-256: ba7731b6dc348e539c3e92a30f7811579de525f4346b223430b0b668e68e30c0
348 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File T1071.001 Web Protocols

The sample is an Excel file containing obfuscated VBA macros. The Workbook_Open event triggers the execution of these macros, which utilize WScript.Shell and CreateObject to download and execute a second-stage payload. The extensive obfuscation and use of Windows scripting host indicate a downloader or droppper functionality.

Heuristics 9

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