Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 23:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Exit Process...

Discussion on Exit Process... within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
Exit Process...

Can someone give me a tip how to hook ex ExitProcess ?? Can i do this in _asm ?
szymek111 is offline  
Old 03/04/2014, 18:20   #2
 
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
MS Detours
qkuh is offline  
Old 03/04/2014, 19:42   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
But i want to make it in dll .
szymek111 is offline  
Old 03/04/2014, 21:06   #4
 
Padmak's Avatar
 
elite*gold: 58
Join Date: Jun 2008
Posts: 2,311
Received Thanks: 8,420
What do you want to approach with your hook? When ExitProcess is called the process has already released all of its handles and resources, so you cannot prevent a process from closing with only hooking ExitProcess

Padmak
Padmak is offline  
Old 03/04/2014, 22:05   #5


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
Quote:
Originally Posted by szymek111 View Post
But i want to make it in dll .
Still MS Detours.
MrSm!th is offline  
Old 03/05/2014, 07:18   #6
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
I want to prevent olly from being detected by xtrap.
szymek111 is offline  
Old 03/05/2014, 07:48   #7
 
​Tension's Avatar
 
elite*gold: 110
Join Date: Jun 2013
Posts: 599
Received Thanks: 510
That wont work with hooking ExitProcess.
You have to create a Bypass for that.
​Tension is offline  
Old 03/05/2014, 10:25   #8


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
Well, it helps analyzing the protected process statically (as the others said, it won't be able to run anymore, but stays frozen), but you have to hook more possible exit points for that (TerminateProcess for example).
And I'm **** sure you won't be able to attach olly anyway, because it also restricts access to the process.
MrSm!th is offline  
Old 03/05/2014, 15:01   #9
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
I know how to make xtrrap bypass i have xtrap driver static adress and also i need to hook K32EnumProcesses .
szymek111 is offline  
Old 03/05/2014, 16:51   #10


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
You shouln't have any problems then.
MrSm!th is offline  
Old 03/06/2014, 17:08   #11
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
My problem is that i don't know how to hook them . I need a example . Because i never hooked winapi .
szymek111 is offline  
Old 03/06/2014, 17:28   #12
 
Padmak's Avatar
 
elite*gold: 58
Join Date: Jun 2008
Posts: 2,311
Received Thanks: 8,420
What about "MS Detours" do you not get?

Padmak
Padmak is offline  
Old 03/06/2014, 17:55   #13
 
elite*gold: 0
Join Date: Oct 2010
Posts: 514
Received Thanks: 65
I get.. ..
szymek111 is offline  
Old 03/06/2014, 19:04   #14


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
There are dozens of tutorials on the internet, even on this board.
MrSm!th is offline  
Old 03/06/2014, 23:50   #15
 
elite*gold: 159
Join Date: Jun 2013
Posts: 1,776
Received Thanks: 2,004
Quote:
Originally Posted by MrSm!th View Post
There are dozens of tutorials on the internet, even on this board.
This for example
Brendan Jordan is offline  
Reply


Similar Threads Similar Threads
olly process terminated, exit code 0
12/15/2012 - CO2 Programming - 3 Replies
Hello, then I load in the olly conquer.exe after few seconds the process terminated and exit code 0, and then I push F9 or play it happend nothing.
Mit Process Explorer /Process Hacker Hs umgehen
05/22/2010 - General Gaming Discussion - 1 Replies
Ich habe hier im Forum gelesen, das man mit Process Explorer bzw. Process Hacker das HS umgehen kann. Leider ist mir irgendwie schleierhaft wie das gehen soll. Vllt erbarmt sich jemand und erklärt es (:, da man den sogenannten Bypasser nur noch las Premium Dings Da bei Upload.to runterladen kann :rolleyes:
C# how to pause a process/freeze process
12/08/2008 - CO2 Programming - 2 Replies
ya so i was semi bored and after little bit of looking around i didnt find to many examples of how to do this so attached is a demo project to show you how. basically it comes down to calling ResumeThread() and SuspendThread() (API functions) on all the threads of a process...simple enough http://img388.imageshack.us/img388/9762/exampleil 6.png please note when you enter the process name there's no ".exe" to the end Warning: this isn't idiot proof . .
SRO exit
03/29/2008 - Silkroad Online - 2 Replies
If i log in, i can play1-5mins, then silkroad just exits, sometimes it gives the ?????????? error too, but most of the time it just exits, i cant play at all... Someone please help?
Exit sometimes... Didnt write anithing just exit... PLS HELP
11/23/2007 - Silkroad Online - 1 Replies
The problem is : I can play for a few minutes and after just exit Didnt write out anithnig... What can i do? What will be the problem ? Pls help For me! TY



All times are GMT +1. The time now is 23:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.