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

Static analysis result for SHA-256 716560f3a8276481…

MALICIOUS

Office (OOXML) / .XLSX

111.6 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: b9a06a2fcc3795b516f425e87b226a16 SHA-1: 056fc1099d301b09730a4123b02807395aebec1b SHA-256: 716560f3a82764813d24af2a8be087da4cb88738440b9de8e2e4d60013cda33a
260 Risk Score

Malware Insights

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

The sample is an Excel file containing a Workbook_Open VBA macro that executes obfuscated commands. The macro attempts to create a FileSystemObject and execute a batch file and a VBScript from the C:\programdata directory. The obfuscated PowerShell command 'powershell -e Has4htksdighfdGJSXDghs4tshdkrg zasg3ksjfHXGHJXdfezse34' suggests the download and execution of a second-stage payload from one of the listed URLs.

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
7843dedf062c0b90dd84994eadbfc9ff993013ca8548a2a4712f0d8a926c2b34
vba-project OOXML VBA project: xl/vbaProject.bin 37888 bytes
Detection
ClamAV: Doc.Malware.Valyria-10004384-0
Obfuscation or payload: unlikely