Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 2464d1c7ac189f29…

MALICIOUS

Office (OOXML)

69.3 KB Created: 2012-10-19 22:33:57 UTC Authoring application: Microsoft Excel 12.0000
MD5: 67c0843e42b40ffc78c913d2909f2759 SHA-1: d3ee2ee061b2bd59cbe6bd06a869ab07a3020aa8 SHA-256: 2464d1c7ac189f291a798b8f262b1d67c078f1129df38195a3795a9530c21586
208 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder

The sample is an Excel document containing a Workbook_Open VBA macro. This macro attempts to create a file named 'qCmdTable.xsl' in the ALLUSERSPROFILE directory using the Scripting.FileSystemObject. It also appears to interact with the Schedule.Service to potentially create a scheduled task, indicating an attempt to establish persistence or execute further malicious code. The use of CreateObject and Environ() calls, along with the Workbook_Open auto-execution, are strong indicators of malicious intent.

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
bea6e48fad6e9160bbd593957969edb3af53eef65f28d9a71a033d66c8dbc897
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3690 bytes
vbaProject_00.bin
e4e9f35e75cf1b769a1d076b82cc6a85820c020027bb8122c6ecc67b944abe74
vba-project OOXML VBA project: xl/vbaProject.bin 16896 bytes