Thread: Changing flags from a DLL?

  1. #16
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    It looks to me like they are changing the opcodes themselves. Not quite sure WHAT the changes are, as I have no idea what the original executable looks like, but I would guess that they are either changing some data values to improve things, or such.

    Edit: And the reason they use XOR is that it's automatically reverting back to the original if you do it again: if we do 4 ^ 5, we end up with 1. 1 ^ 5 gives 4, so we're back to what we had to start with.

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  2. #17
    Registered User
    Join Date
    Mar 2005
    Mountaintop, Pa
    Quote Originally Posted by RobotGymnast View Post
    I generally use CE, but it's just weird because that game has hack-protection.. nowadays it's done by searching for the byte signatures of old hacks
    True, if you're trying to hack a simple game such as Windows pinball. Nowadays, hacking in general has become fairly sophisticated. It would behoove you to read Hoglund's book. Especially, chapter six.

    To quote Hoglund:
    Some game developers have gotten wise to the fact that hackers use disassemblers and debuggers to reverse engineer their games and have developed many countermeasures for use against them. These techniques include obfuscating program code and interlacing runtime checks to see if a debugger is present. Hackers can counter almost all of these tricks, but they must know about them first. This is a classic computer security arms race.

  3. #18
    Registered User
    Join Date
    Sep 2007
    hmm.. interesting. I sort of meant this game in particular, but it's not really fun to hack anyway (hacking's more recreational for me.. I only do stuff without security, e.g. offline games).

    Interesting-looking book though, thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Changing a char pointer via DLL
    By rockpaandi in forum C Programming
    Replies: 5
    Last Post: 04-11-2009, 11:16 PM
  2. non-MFC DLL with MFC app question.
    By Kempelen in forum Windows Programming
    Replies: 10
    Last Post: 08-20-2008, 07:11 AM
  3. dll communicating between each other
    By cloudy in forum C++ Programming
    Replies: 5
    Last Post: 06-17-2005, 02:20 AM
  4. DLL and std::string woes!
    By Magos in forum C++ Programming
    Replies: 7
    Last Post: 09-08-2004, 12:34 PM
  5. .lib vs .h vs .dll
    By Shadow12345 in forum C++ Programming
    Replies: 13
    Last Post: 01-01-2003, 05:29 AM