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

Static analysis result for SHA-256 b239da3781e89704…

MALICIOUS

Office (OLE) / .XLSX

142.0 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 012d4d8a881bd6363e8746f83eed4216 SHA-1: 1d2182f2003cbd857681c74b1879c04311ad3ade SHA-256: b239da3781e897048f5437a776bf7b8426d1f0909cc9292b913626e9a5133364
280 Risk Score

Malware Insights

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

The sample contains a Workbook_Open VBA macro that utilizes CreateObject to execute a script. This script, found in the DOC BODY and further detailed in the SCRIPTS section, attempts to download and execute a second-stage payload from multiple URLs. The script reconstructs a command line that includes a Base64 encoded string, which decodes to a series of URLs and a command to execute a file named 'jledshf.bat' from 'c:\programdata\'. The presence of Wscript.Shell and Scripting.FileSystemObject further indicates malicious scripting activity.

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.