elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
25 Mayo 2012, 09:51  


Tema destacado: Últimos eventos sobre seguridad/inseguridad

+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Bugs y Exploits (Moderador: berz3k)
| | |-+  DLL Injection
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: DLL Injection  (Leído 843 veces)
Crack_X
Anti-War
Ex-Staff
*
Desconectado Desconectado

Mensajes: 2.320


Peace & Love


Ver Perfil WWW
DLL Injection
« en: 6 Enero 2005, 05:13 »

Alguien tiene buenos links donde explique en que consiste , como se hace , el fin de hacerlo , etc. ?
En línea

Shit loads of money spend to show us wrong from right. Say no to war


Yasser Has Things To Say
WarZone
Rojodos
Colaborador
***
Desconectado Desconectado

Mensajes: 3.535



Ver Perfil WWW
Re: DLL Injection
« Respuesta #1 en: 8 Enero 2005, 07:24 »

Pues yo tenia varios textos por ahi, es mas, creo que hay posts por el foro donde se habla de la dll injection, con links a textos y demas.Buscalos

Ademas, en un articulo de phrack, se habla largo y tendido sobre el tema, con numerosos sources y ejemplos. Buscalos.

Tambien busca sobre el programita "firehole", que es muy curioso (ya veras porque, sobre todo si tienes un firewall :))

Espero haberte orientado.

Salu2
En línea

Man-In-the-Middle
Colaborador
***
Desconectado Desconectado

Mensajes: 3.645



Ver Perfil
Re: DLL Injection
« Respuesta #2 en: 8 Enero 2005, 07:30 »

Codigo de Laboratorio

int ProgramIsRunning() {
PROCESSENTRY32 pe32  = {0};

HANDLE hProcessSnap  = NULL;
hProcessSnap = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); // Snapshot all processes in the system.

if ( hProcessSnap == INVALID_HANDLE_VALUE ) {
 return -1;        // Return -1 on error.
}


pe32.dwSize = sizeof( PROCESSENTRY32 );  // Set the size of the structure.

if ( Process32First( hProcessSnap, &pe32 ) ) {
 char pName[512];
 while ( Process32Next( hProcessSnap, &pe32 ) ) { // Now we get each procedure in order.
  strcpy( pName, pe32.szExeFile );
  if ( stricmp( pe32.szExeFile, "program.exe" ) == 0 ) {
   return pe32.th32ProcessID;
  }
 }
}

return -1;
}



// ******************************************************************************
// OpenProgram: Sets the global variables for the Program process.
// ******************************************************************************
bool OpenProgram() {
int I = ProgramIsRunning();
if ( I == -1 ) { return false; }

g_hProcessSnap = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); // Snapshot all processes in the system.
   if ( g_hProcessSnap == INVALID_HANDLE_VALUE ) { return false; }
g_dwProcessID = I;
g_hCurrentProcess = OpenProcess( PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION | PROCESS_QUERY_INFORMATION, false, g_dwProcessID );

if ( g_hCurrentProcess == NULL ) { return false; }
else { return true; }
}

Saluos

MITM


En línea
Rojodos
Colaborador
***
Desconectado Desconectado

Mensajes: 3.535



Ver Perfil WWW
Re: DLL Injection
« Respuesta #3 en: 8 Enero 2005, 07:46 »

Solo decir (y no va por ti man in the middle), que los codigos mejor ponerlos en su TAG, para evitar la aparicion de smileys, ademas de que keda mucho mas profesinoá

Salu2
En línea

Crack_X
Anti-War
Ex-Staff
*
Desconectado Desconectado

Mensajes: 2.320


Peace & Love


Ver Perfil WWW
Re: DLL Injection
« Respuesta #4 en: 8 Enero 2005, 07:55 »

Gracias a los 2 ya encontre el que decias de phrack http://www.phrack.org/show.php?p=62&a=13 y lo del firehole (muy interesante) http://keir.net/firehole.html , tambien encontre informacion en pscode.com , a leer ahora  :P


Saludos,
En línea

Shit loads of money spend to show us wrong from right. Say no to war


Yasser Has Things To Say
WarZone
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
PHP injection
Hacking Básico
chusrubi2 3 1,123 Último mensaje 10 Junio 2011, 19:51
por chusrubi2
Injection sql
Bugs y Exploits
soleshc 0 368 Último mensaje 4 Febrero 2012, 00:11
por soleshc
Sql Injection
PHP
ulises4 2 174 Último mensaje 9 Mayo 2012, 03:46
por ulises4
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines