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

Static analysis result for SHA-256 f5a2f74570e928c6…

MALICIOUS

Office (OLE) / .XLSX

142.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 0c710fd078dde5e0d717aa93c74cfcd9 SHA-1: 00110057426ad847e74239b77d7ba3587a8554da SHA-256: f5a2f74570e928c6bb6c6fe6b897ce0a94c3bbbcb220fd9dd468c907b8f5e582
280 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1059.005 Visual Basic

The sample contains a Workbook_Open VBA macro that executes a batch file and a VBScript located in C:\programdata\. The macro uses CreateObject to call Windows Script Host and the FileSystemObject to write and execute these files. The batch file contains obfuscated commands, including a long string that decodes to multiple URLs, likely for downloading additional payloads. The VBScript is also obfuscated but appears to be related to the execution of the batch file. The presence of these elements strongly suggests a downloader or initial access mechanism.

Heuristics 7

  • ClamAV: Doc.Malware.Valyria-10004384-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10004384-0
  • 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
527d0656a0c2c323955d068683ef8f7e20c035cda247a1e24383595c0eb3403b
vba-macro oletools.olevba.extract_macros (decoded VBA source) 7821 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.