elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía rápida para descarga de herramientas gratuitas de seguridad y desinfección


+  Foro de elhacker.net
|-+  Programación
| |-+  Programación General
| | |-+  .NET (C#, VB.NET, ASP)
| | | |-+  Programación Visual Basic (Moderadores: LeandroA, seba123neo)
| | | | |-+  Api hooking with dll injection
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Api hooking with dll injection  (Leído 2,355 veces)
ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Api hooking with dll injection
« en: 9 Julio 2008, 15:43 pm »

Good  afternoon 
Big  sorry  i  dont know  spanish but  greek and english 
Iam a coder in  vbasic 6.0 and  this time  play around with api hooking 
I able to hook api localy  but  i cant do it 100% with dll  injection 
RM_code have a  good example (code injection and remote api hooking)
want to use dll injection to  do this .
please  if  someone  know  something to  help  me   
welcome   
thanks  a  lot   



En línea

cobein


Desconectado Desconectado

Mensajes: 759



Ver Perfil WWW
Re: Api hooking with dll injection
« Respuesta #1 en: 9 Julio 2008, 17:43 pm »

I think you first need to be really familiar with DLL injection in VB,  it is not and easy task due VB limitations but is totally possible, I sugest you to check PSC for LaVolpes's Desktop Icon Tweaks, and some samples from Alex Ionescu, both of them using injection. Also if you want you can search in here, I did some samples a while ago.


En línea

http://www.advancevb.com.ar
Más Argentino que el morcipan
Aguante el Uvita tinto, Tigre, Ford y seba123neo
Karcrack es un capo.
ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Re: Api hooking with dll injection
« Respuesta #2 en: 9 Julio 2008, 22:25 pm »

Thanks  for the reply  my  friend 
I  know to inject a dll  and use vbadvance to success it 
U can help  me  about  this sample
i  cant  find  it   
thanks 
En línea

cobein


Desconectado Desconectado

Mensajes: 759



Ver Perfil WWW
Re: Api hooking with dll injection
« Respuesta #3 en: 9 Julio 2008, 22:38 pm »

There you go, the first link is LaVolpe's one, its pretty interesting and a good guide, I think he wrote some basic explanations about how to create the libraries and in this particular example he is using SetWindowsHookEx to acomplish the injection task, if you follow that structure you will not have any probs. 

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=65301&lngWId=1

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=45195&lngWId=1
En línea

http://www.advancevb.com.ar
Más Argentino que el morcipan
Aguante el Uvita tinto, Tigre, Ford y seba123neo
Karcrack es un capo.
ntaryl

Desconectado Desconectado

Mensajes: 95



Ver Perfil
Re: Api hooking with dll injection
« Respuesta #4 en: 10 Julio 2008, 19:38 pm »

thanks  bro 

P.s why  not this  forum come in english   ?
\cya   
En línea

cobein


Desconectado Desconectado

Mensajes: 759



Ver Perfil WWW
Re: Api hooking with dll injection
« Respuesta #5 en: 10 Julio 2008, 22:01 pm »

Well basically because the forum is from Spain and dedicated to spanish talking ppl, besides Spanish is as popular as English. But there's no rule about language as far as I know, so you can keep posting in English and maybe ask someone to help you translate it to spanish (just to be fair to everyone).
En línea

http://www.advancevb.com.ar
Más Argentino que el morcipan
Aguante el Uvita tinto, Tigre, Ford y seba123neo
Karcrack es un capo.
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Win32 API Hooking
Hacking
nts94 0 2,549 Último mensaje 9 Febrero 2012, 23:54 pm
por nts94
API Hooking by IAT Patching
Análisis y Diseño de Malware
Binary_Death 0 2,104 Último mensaje 22 Abril 2012, 17:00 pm
por Binary_Death
Derechos de acceso y API Hooking « 1 2 »
ASM
fary 10 7,151 Último mensaje 23 Septiembre 2012, 20:14 pm
por .:UND3R:.
Hooking ntQuerySystemInformation.
Análisis y Diseño de Malware
APOKLIPTICO 5 4,051 Último mensaje 16 Noviembre 2012, 21:53 pm
por APOKLIPTICO
El arte del API Hooking.
Análisis y Diseño de Malware
fary 5 4,507 Último mensaje 18 Enero 2016, 03:35 am
por zerointhewill
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines