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

Static analysis result for SHA-256 030c8b1fb91fbd1b…

MALICIOUS

Office (OOXML) / .XLSX

111.6 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: dbfa6ff081a25923cef9263858b50062 SHA-1: fddad33f481c4b72e8863f099c0c28a3e8feaad7 SHA-256: 030c8b1fb91fbd1baa709964c8c44de188d3ccef27907a3706812b5e6d22d0e1
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

This XLSX file contains a Workbook_Open VBA macro that is designed to execute obfuscated commands. The macro attempts to create a VBScript file and a batch file in the programdata directory, and then execute a PowerShell command with a Base64 encoded string. This PowerShell command likely downloads and executes a second-stage payload from one of the provided URLs. The presence of the Workbook_Open macro and the obfuscated execution flow strongly suggest a malicious document intended to deliver further malware.

Heuristics 6

  • ClamAV: Doc.Malware.Valyria-10004384-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10004384-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
527d0656a0c2c323955d068683ef8f7e20c035cda247a1e24383595c0eb3403b
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 7821 bytes
vbaProject_00.bin
77a348a5f1cec786cebc19e70aea7ca26378bad618451907bb2eb00016f920fe
vba-project OOXML VBA project: xl/vbaProject.bin 37888 bytes
Detection
ClamAV: Doc.Malware.Valyria-10004384-0
Obfuscation or payload: unlikely