Blizzhackers

Return of the Jedi

* Login   * Register    * FAQ    * Search

Join us on IRC: #bh@irc.synirc.net (or Mibbit Web IRC)


MuleFactory


It is currently Thu Jun 20, 2013 2:28 am


All times are UTC [ DST ]





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Function implementation
PostPosted: Sat Apr 25, 2009 5:17 am 
 
User
User

Joined: Sat Apr 25, 2009 5:14 am
I have an application that I am trying to hack.
Before it sends data to the server, it encrypts it.
Using OllyDbg, I found the address of the encryption function.
When the encryption function is called, the unencrypted string is one of the parameters passed to the function.
I want to log this string.

I replace the call to the encrypt function with a call to my function, that writes the data to a file, then calls the encrypt function and returns like nothing happens.

One problem. Where do I write my function? I tried hex editing it into a code cave, but it was not very successful. Do I need to "hook"? Once I am in the address space of the application, what do I do? I know I can read and write the processes memory, but how do I "intercept function calls" and read the parameters passed?

Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron