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 


X-trap UCE OpenProcess UCE Bypass? help me!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
SoRi
How do I cheat?
Reputation: 0

Joined: 30 Oct 2012
Posts: 1

PostPosted: Tue Oct 30, 2012 12:20 am    Post subject: X-trap UCE OpenProcess UCE Bypass? help me! Reply with quote

Laughing Hi, i am trying to make a detour of X gangway, l sense the open process.
Don't l sense the open process part if l do the eotteot?


function {Open5rocess}O5(dwDesiredAccess:DWORD;bInheritHandle:BOOL;dwPro4essID:DWORD):THANDLE; stdcall;
var valid:boolean;
process_handle: uint64;
i:integer;
cc,x: dword;
begin
valid:=true;
if dwPro4essID=0 then
begin
result:=0;
exit;
end;

if hdevice<>INVALID_HANDLE_VALUE then
begin
cc:=IOCTL_CE_OPENPROCESS;

if deviceiocontrol(hdevice,cc,@dwPro4essID,4,@process_handle,8,x,nil) then
begin
result:=process_handle
end
else
result:=0;
end else result:=windows.OpenProcess(dwDesiredAccess,bInheritHandle,dwPro4essID);

if result=0 then //you can still access memory using the low level stuff, just not normal stuff
begin
valid:=false;
//openprocess isn't working
if length(handlelist)=0 then result:=100+random(32000)
else
result:=handlelist[length(handlelist)-1].process_handle+1;
end;

//check for a duplicate handle and replace it (closehandle/openproces gets you the same handle)
for i:=0 to length(handlelist)-1 do
begin
if handlelist[i].process_handle=result then
begin
handlelist[i].processid:=dwPro4essID;
handlelist[i].validhandle:=valid;
exit;
end;

end;

setlength(handlelist,length(handlelist)+1);
handlelist[length(handlelist)-1].process_handle:=result;
handlelist[length(handlelist)-1].processid:=dwPro4essID;
handlelist[length(handlelist)-1].validhandle:=valid;
end;

_________________
Hi !
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25794
Location: The netherlands

PostPosted: Tue Oct 30, 2012 2:34 am    Post subject: Reply with quote

Remove all the code that is executed when you open a process and then add it back piece by piece until detected and then go from there

Also, variable names are not detected

And is the driver loaded ?

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
SoRi
How do I cheat?
Reputation: 0

Joined: 30 Oct 2012
Posts: 1

PostPosted: Tue Oct 30, 2012 3:22 am    Post subject: .. Reply with quote

lt is the Korean online game
lf i am trying to catch the process, lt becomes the louse the forcible shot.

_________________
Hi !
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