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

Static analysis result for SHA-256 618606a83396138d…

MALICIOUS

Office (OOXML) / .XLSX

67.7 KB Created: 2012-10-19 22:33:57 UTC Authoring application: Microsoft Excel 12.0000
MD5: 59ec4a5b8f358beacd0b701017ffd1ce SHA-1: bd78cca373c5cc38c5e50bad31a17d7dc20b1c38 SHA-256: 618606a83396138d3e5840cc5bd3f5d8e5c32f2e1401606b80cbbd3b197ef838
208 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder T1037.005 Environment Variables T1204.002 Malicious File

The Workbook_Open macro executes VBA code that attempts to create a file named 'qListDataTypeCurrency.xsl' in the ALLUSERSPROFILE directory. It also interacts with the Windows Task Scheduler service to schedule a task, likely to download and execute a second-stage payload. The use of CreateObject and Environ() calls, along with the Workbook_Open auto-execution, strongly suggests a malicious intent to compromise the system.

Heuristics 6

  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
85c61a50e9bc0d79e172c6bc4531721df46a1bb5d8f7bb5db5cf35dcb8a33d3a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3596 bytes
vbaProject_00.bin
e3fd0a5b18bedb1c1c14c6064e0146211e5f5d9d775624de70c766061101181a
vba-project OOXML VBA project: xl/vbaProject.bin 16896 bytes