Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c282f0902a1442d6…

MALICIOUS

Office (OOXML)

67.1 KB Created: 2012-10-19 22:33:57 UTC Authoring application: Microsoft Excel 12.0000
MD5: 79315445872c628ae0476eb05099e6d6 SHA-1: b6020db4a6ec95097cdd8353545a8b939fdd8c60 SHA-256: c282f0902a1442d6fb7cff2500d740ecf76710c4cbf049d1694cfa49f67f59fe
208 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059 Command and Scripting Interpreter T1105 Ingress Tool Transfer

The sample contains a Workbook_Open VBA macro that executes upon opening the Excel file. This macro utilizes CreateObject to interact with the Scripting.FileSystemObject, creating a file named 'qReport1.xsl' in the ALLUSERSPROFILE directory. The macro also appears to be assembling a payload from values within the document's cells, which is then likely executed. The presence of a Workbook_Open macro and the use of CreateObject 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
723b829ec9a44ef7f40cad2e890b8281514a904ff8b8ef37f3282957eb97ae34
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3676 bytes
vbaProject_00.bin
ae4044e659013481a454a8a2e528c475699bb19a611230300828d0fea50fc526
vba-project OOXML VBA project: xl/vbaProject.bin 16896 bytes