Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Trampoline Bypass

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
gunminiho
Expert Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 144
Location: peru

PostPosted: Wed Jun 17, 2009 1:04 pm    Post subject: Trampoline Bypass Reply with quote

hi all Very Happy hmm i was wondering if as much as it can be used ( Trampoline Bypass ) for SendMessage or PostMessage, can i use same method for other API's? like WriteProcessMemory or VirtualProtect, GetPixel?
Back to top
View user's profile Send private message
Deine Mutter
Expert Cheater
Reputation: 1

Joined: 05 Apr 2006
Posts: 181

PostPosted: Wed Jun 17, 2009 2:17 pm    Post subject: Reply with quote

It largely depends on the game or the protection you are trying to bypass. If this protection hooks any of those functions in kernel mode a user-mode trampoline will not work. As far as I remember, GameGuard hooks GetPixel only in user-mode, for example. In this case an usermode-trampoline would work. But WriteProcessMemory is hooked in kernel-mode (NtWriteVirtualMemory), in this case a user-mode trampoline bypass would not be sufficient.
_________________
Back to top
View user's profile Send private message
azfk
Cheater
Reputation: 0

Joined: 26 May 2009
Posts: 37

PostPosted: Wed Jun 17, 2009 9:07 pm    Post subject: Reply with quote

Usually memory based functions like WriteProcessMemory and ReadProcessMemory are hooked on a kernel level,

as for things like sendmessage and such

they are 'trivial' are trampoline bypasses do work, VirtualProtect I'm not so sure of..
Back to top
View user's profile Send private message
gunminiho
Expert Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 144
Location: peru

PostPosted: Thu Jun 18, 2009 12:53 am    Post subject: Reply with quote

hmm well im a begginer programer hmm can someone let me know what is UserMode and KernelMode? i have a idea but im not sure about it hmm please Very Happy Laughing

and system used is HackShield Pro ( MS )

also is there a way to get addys with ollydbg? i mean i wanna get some addys for another game but... im not sure about it, cause i cant use CE or UCE ( Audition - Xtrap )
Back to top
View user's profile Send private message
Deine Mutter
Expert Cheater
Reputation: 1

Joined: 05 Apr 2006
Posts: 181

PostPosted: Thu Jun 18, 2009 2:29 am    Post subject: Reply with quote

What you are trying to do is pretty hard to do for a beginner programer. I would suggest reading tutorials/books or the source of Darkbyte's driver. Driver development is the thing you should be concerned with, because it is the only way to access the kernel. But this is really hard stuff, I do not think that simply saving the original function addresses and restoring them after they are hooked will work, for example. You will also need reverse-engineering skills to observe how the protection you are trying to bypass works.

Working with OllyDBG is also a very hard thing to do. For example you could unpack the game (which isn't easy either) and remove GameGuard. Then you will be able to use OllyDBG, but only if you are not logged in, because the server (most likely) checks if GG (or any other protection) is present. There are a lot of other solutions (protecting OllyDBG from GG with a driver, disable GGin a certain way etc..) but this is very hard to do and I don't think that there are any public solutions/tutorials for this purpose.

The easiest solution would be: Try to make your CE undetected.

_________________
Back to top
View user's profile Send private message
&Vage
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Jul 2008
Posts: 1053

PostPosted: Thu Jun 18, 2009 12:46 pm    Post subject: Reply with quote

Don't think HackShield hooks in r3, not sure about r0. Just disable HackShield's driver and there you go, use any APIs without restrictions.
Back to top
View user's profile Send private message
gunminiho
Expert Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 144
Location: peru

PostPosted: Thu Jun 18, 2009 7:49 pm    Post subject: Reply with quote

well... im not trying to do it i just wanna know about KernelMode Level and UserMode Level...

So... HackShield driver is the one that hooks those API's????????? by not loading them you can use any API hmm

still i just wanna know what is all that KernelMode Level and Usermode Level Sad
Back to top
View user's profile Send private message
Mikage
Newbie cheater
Reputation: 0

Joined: 05 Feb 2010
Posts: 10

PostPosted: Fri Feb 05, 2010 1:06 pm    Post subject: Reply with quote

erm hi all, im new so do u think some1 cud make like a small video? im also a beginner and i wanna bypass Hackshield Pro for S.U.N Online as i keep dieing even tho i put most of me stats on str and vit >.> Please help me.(i learn better from videos than written books or tutorials. sry~)
Back to top
View user's profile Send private message
igoticecream
Grandmaster Cheater Supreme
Reputation: 0

Joined: 23 Apr 2006
Posts: 1807
Location: 0x00400000

PostPosted: Sat Feb 06, 2010 7:57 pm    Post subject: Reply with quote

gunminiho wrote:
still i just wanna know what is all that KernelMode Level and Usermode Level Sad


Kernel is a bridge between applications and hardware and the core of the OS (known as Ring 0).

Usermode (knows as Ring 3 too) basically run applications launched by users

The ring thing stands of protection level. kernel has 0 protection and is zero stupid-tolerance (so if you are gonna program something at this level, the minimum mistake will lead the OS crash with a blue screen)

back to the topic, check with WinDbg your local kernel and see which api does hook gameguard, because they hook the first 5 bytes, means that you can hook after the gameguard's hook Wink

_________________
+~
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites