Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-10-2004, 18:58
boya boya is offline
Friend
 
Join Date: Feb 2004
Posts: 16
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
boya Reputation: 0
Questions again on howto hide APISPY32?

oh, still on the hard pelock question, i want to use apispy to spy the api calls.
but pelocked target can detect apispy. i tried but failed to modify apis32.exe.... to cheat pelocked stuff. anyone has successful experience?


bow.
Reply With Quote
  #2  
Old 06-11-2004, 04:02
e.b
 
Posts: n/a
what did you do in order to modify apispy ?

e.b
Reply With Quote
  #3  
Old 06-11-2004, 04:29
dyn!o's Avatar
dyn!o dyn!o is offline
Friend
 
Join Date: Nov 2003
Location: Own mind
Posts: 214
Rept. Given: 1
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 8
Thanks Rcvd at 0 Times in 0 Posts
dyn!o Reputation: 1
API spying

I suggest to use: ***.rohitab.com/apimonitor.

Also some user level debuggers give you good API spy possibilities. If the app doesn't include telic SEHs then you can dance with it as much as you want. If someone was so bright to include them then you can disable them by configuring different exceptions handling options in your debugger.

The golden rule is: if you don't try - you won't learn.

Good luck.

Last edited by dyn!o; 06-11-2004 at 04:31.
Reply With Quote
  #4  
Old 06-11-2004, 13:15
boya boya is offline
Friend
 
Join Date: Feb 2004
Posts: 16
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
boya Reputation: 0
thx a lot for your mental support( i donno the exact English word here: encourage?)

Quote:
Originally Posted by dyn!o
I suggest to use: ***.rohitab.com/apimonitor.

Also some user level debuggers give you good API spy possibilities. If the app doesn't include telic SEHs then you can dance with it as much as you want. If someone was so bright to include them then you can disable them by configuring different exceptions handling options in your debugger.

The golden rule is: if you don't try - you won't learn.
^^^^^^^^^^^^^^^^yes, try and fail, fail and try......
Reply With Quote
  #5  
Old 06-11-2004, 16:09
JMI JMI is offline
Leader
 
Join Date: Jan 2002
Posts: 1,627
Rept. Given: 5
Rept. Rcvd 199 Times in 99 Posts
Thanks Given: 0
Thanks Rcvd at 98 Times in 96 Posts
JMI Reputation: 100-199 JMI Reputation: 100-199
boya:

I believe the word you may be looking for is "encouragement."

Regards,
__________________
JMI
Reply With Quote
  #6  
Old 06-11-2004, 20:03
boya boya is offline
Friend
 
Join Date: Feb 2004
Posts: 16
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
boya Reputation: 0
yep :) thank you.

Quote:
Originally Posted by JMI
boya:

I believe the word you may be looking for is "encouragement."

Regards,

yep thank you.
Reply With Quote
  #7  
Old 06-11-2004, 20:05
boya boya is offline
Friend
 
Join Date: Feb 2004
Posts: 16
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
boya Reputation: 0
i just want to know which API is called.

Quote:
Originally Posted by e.b
what did you do in order to modify apispy ?

e.b
i am a newbie in unpacking. pelock is too hard for me. so i want to use some tools to log what API is called, maybe it is useful for the IAT rebuilding.
what do you think?

but till now, i have NO success in using apispy32, apimonitor to observe pelocked target.
Reply With Quote
  #8  
Old 06-11-2004, 23:22
e.b
 
Posts: n/a
I'm a newbie too, so I was interested in the modifications you did ...
could you give me some ideas ?

regards e.b
Reply With Quote
  #9  
Old 06-28-2004, 23:54
vgshadow
 
Posts: n/a
Boya,

Apisyp32 works by modifying the import table on the target application. In your case you are trying to spy on an application which doesnt have a valid import table. You cannot use apisyp32.

You can try the followig if you have time and programming interest:

1. start the target application as child process with debug enabled.
2. In dll load event if you need to monitor the functions in the dll, insert cc (int 3) as the first byte for all the exported functions. store the original byte and the address .
3. whenever you get a debug breakpoint event check whether the eip in the target process is in your stored addresses. If yes then log the name in a file. Reset the original byte at the particular address and enable single-step by modifying the control registers. you will receive a sigle step breakpoint event again. there you can insert cc (int 3) instruction for next breakpoint and proceed.

I did this long ago. I dont know whether i still have the program with me. If i find it i will send it to you.

regards,
VGSHADOW
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO:Win XP SP1 Terminal Server? oxagen General Discussion 3 09-18-2005 11:18


All times are GMT +8. The time now is 06:45.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )