DirectX/CEGUI hooking? menu

Shout-Out

User Tag List

Page 2 of 5 FirstFirst 12345 LastLast
Results 16 to 30 of 75
  1. #16
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lanman92 View Post
    Writing the ASM for the codecave will be just as difficult =/ I'll just work on my C++, and look into what you suggested. I think i ran my eyes over a post about the WoW console on gamedeception.net... I'll go look for that again. Thanks again Shynd.
    I've seen a very intersting method of writing ASM code into a Code Cave, you'll declare a naked function and put your code as Inlane ASM in ther, after this lines of code you add another function to calculate the lenght of your naked function. Then You allocate enough memory to store your function change the Page Protection stuff for your function so you can read it's memory and write the hole function into the code cave with WriteProcessMemory (or what it's named didn't use it for ages inprocess ftw :>), if you want to call WoW Functions you should add the update current manager function if you don't want to highjack a wow thread.

    Credit's for this Idea go to a guy named Yesar from ***********.de GuildWars section ^^
    I hacked 127.0.0.1

    DirectX/CEGUI hooking?
  2. #17
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Even with that naked function you'd still need to call CreateRemoteThread or something on it to get it to execute, unless you inject it over top of something that pulses regularly in a loop.

  3. #18
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah didn't mention that cause I thought it was common knowlegde
    I hacked 127.0.0.1

  4. #19
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, that's what I was planning to do... Lol. I thought that's how everyone did it.

  5. #20
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lanman92 View Post
    Yeah, that's what I was planning to do... Lol. I thought that's how everyone did it.

    With WriteProcessMemory?? Hell no. Memcpy or direct access via casting ftw.

  6. #21
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I was planning on using pointers to the Mem locations inside my DLL. I think i misunderstood or something lol. I'm going to just write a DLL, no matter how bad my C++ is... I thought he meant using WriteProcessMemory() to insert the codecave and createremotethread() it. Oh well.

  7. #22
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I missunderstood what you said ^^, didn't realize you want to do a dll :>
    So I posted a way to copy functions from your programm to code caves via WriteProcessMemory() :>
    But If you do a DLL in inject it it's way easier to do your stuff *fg, you can directly access everthing with pointers and memcpy (for opcode changes), and you can create your own Threads with the CreateThread Api and do all you want to do in there, no need to code cave from a injected dll :>
    I hacked 127.0.0.1

  8. #23
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What's the best, least detectable injection method for DLLs? Or i could just remove it from the PEB list, thats an option i guess.

  9. #24
    Greyman's Avatar Active Member
    Reputation
    61
    Join Date
    Oct 2006
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The "least detectable" way would probably involve ring0 or hypervisor privileges. However, if you want to stick to user mode then Darawk's manualmap is quite decent: Evading Hack Detection Mechanisms In Online Games

  10. #25
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Greyman View Post
    The "least detectable" way would probably involve ring0 or hypervisor privileges. However, if you want to stick to user mode then Darawk's manualmap is quite decent: Evading Hack Detection Mechanisms In Online Games

    Hypervisor ftw!

  11. #26
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, I've made a few test DLLs... They seem to work on all processes except for WoW. It's just a blank dll that opens up a msgbox. If i try to inject into WoW, it fails miserably. What method can i use to inject dlls into wow?

  12. #27
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You must grant your process access by changing your SE_DEBUG privilege token. Look in Kynox's out of process object dumper for an example of doing so in C, or in C#/.NET you can just call System.Diagnostics.Process.EnterDebugMode();

  13. #28
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That privilege is for injecting to WoW only? That's a bit of a hassle... It injected into any other process just fine.

  14. #29
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    You must grant your process access by changing your SE_DEBUG privilege token. Look in Kynox's out of process object dumper for an example of doing so in C, or in C#/.NET you can just call System.Diagnostics.Process.EnterDebugMode();

    An easier way is to spawn the process yourself and give yourself the required security token at that point.

  15. #30
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm gonna have to say that Cypher's method is a lot easier. I'll go that way...

Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Problem with DirectX CreateDevice Hooking
    By rik.chong in forum WoW Memory Editing
    Replies: 4
    Last Post: 11-30-2012, 04:50 AM
  2. Diablo III Directx 9 ES, DIP, SSS Hook -- By Bit_Hacker
    By BitHacker in forum Diablo 3 Memory Editing
    Replies: 30
    Last Post: 06-19-2012, 09:30 AM
  3. CEGUI - EndScene Hook - DLL Function Call
    By Orix in forum WoW Memory Editing
    Replies: 5
    Last Post: 02-12-2011, 03:51 PM
  4. Hooking DirectX CreateDevice
    By nitrogrlie in forum WoW Memory Editing
    Replies: 13
    Last Post: 01-22-2010, 02:46 PM
  5. Hook a brother up..
    By HaSh in forum World of Warcraft General
    Replies: 0
    Last Post: 01-21-2007, 03:36 PM
All times are GMT -5. The time now is 11:11 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search