• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 6 of 6
    1. #1
      Newbie
      Umm...
       
      Feeling Normal
       
      nb81's Avatar
      Join Date
      Oct 2013
      Posts
      29
      Thanks (-->)
      8
      Thanks (<--)
      3

      Question Reverse Engineering and hooks

      Silent VPN
      Hello,

      I just started looking into reverse engineering, hooks and things like that.

      So I would have some questions about these things. I tried to search after these but I couldn't find any description/tutorial that could help me :/.

      1. What is hooking exactly? What do we do when we are hooking, and what kind of hooking methods can I use/which is the "best"?
      2. What is detouring, and how can I do it?


      I have a very basic knowledge of reverse engineering.

      Thanks in advance!
      Last edited by Fleep; 11-02-2013 at 04:42 AM. Reason: Invalid title

    2. #2
      Respected Hacker
      Learning to hack games!
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340
      Quote Originally Posted by nb81 View Post
      Hello,

      I just started looking into reverse engineering, hooks and things like that.

      So I would have some questions about these things. I tried to search after these but I couldn't find any description/tutorial that could help me :/.

      1. What is hooking exactly? What do we do when we are hooking, and what kind of hooking methods can I use/which is the "best"?
      2. What is detouring, and how can I do it?


      I have a very basic knowledge of reverse engineering.

      Thanks in advance!
      Hooking and detouring is basically the same I think, you can hook through E9 jumps, calls and modifying IAT or VTBL I think. So you either modify function pointers or the function itself by placing a jump or call into it (to your function)

    3. #3
      Coder
      Kappa
       
      Hacking
       
      Szaka's Avatar
      Join Date
      Mar 2013
      Posts
      168
      Thanks (-->)
      1
      Thanks (<--)
      6
      Generally hook is a jump to your code. Id doesnt have to be in the first API bytes, but you can for example gather interesting register value in some moment of programs flow, for example when function resolves player pointer you can just jump out and store it. Thats the basic option
      You can also hook entire functions. Professional way is about reconstructing the function params and call convention, writing own function to handle the real api call and decide what to do (if you want execute normally, or if you want to spoof smth).

    4. #4
      Respected Hacker
      Learning to hack games!
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340
      I think there are also system-wide (global) and specific hooks for just 1 program.

      You could make a hook everywhere in the function, in the beginning,mid-hook or when it's about to return.

    5. #5
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      492
      Hooking = detouring. Which means modifying the programs flow so it would at a specific point execute your code.
      Reverse Engineering and hooks

    6. #6
      Coder
      Kappa
       
      Hacking
       
      Szaka's Avatar
      Join Date
      Mar 2013
      Posts
      168
      Thanks (-->)
      1
      Thanks (<--)
      6
      Silent VPN
      The way im hooking is allowing the function to run inside my hook function and then analyze the result

    Similar Game Hacker Threads

    1. [Discuss] Reverse Engineering Videos
      By [GH]Rake in forum General Hacking Discussion
      Replies: 11
      Last Post: 10-04-2016, 09:35 PM
    2. Guidance on reverse-engineering Blade & Soul MMORPG
      By farmith in forum Other Game Hacks
      Replies: 10
      Last Post: 04-01-2016, 10:18 AM
    3. [Discuss] What's the best Windows platform for reverse engineering games?
      By Zuva in forum General Hacking Discussion
      Replies: 3
      Last Post: 10-04-2015, 08:34 PM
    4. [Help] Java Reverse Engineering & Address finding.
      By Stealing in forum Hacking Help
      Replies: 11
      Last Post: 04-26-2015, 06:53 AM
    5. [Tutorial] Basic Reverse Engineering
      By dons12 in forum Game Hacking Tutorials
      Replies: 5
      Last Post: 09-11-2014, 04:29 AM

    Tags for this Thread