View previous topic :: View next topic |
Author |
Message |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Thu Apr 24, 2008 5:25 pm Post subject: [C] Relinking a Hidden Process |
|
|
I know how to hide a process using DKOM, but how do you "find" the process to relink after it is hidden? Btw, I'm trying to do this for the processes GG hides.
|
|
Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Thu Apr 24, 2008 6:12 pm Post subject: |
|
|
Easiest way is Bruteforce method, which is to loop the pID from 0 to 0x41DC and call OpenProcess on each of them, if its valid then store the info.
then use CreateToolhelp32Snapshot and compare the list, any differences are hidden.
_________________
|
|
Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Fri Apr 25, 2008 3:52 pm Post subject: |
|
|
How do I find the address of its EPROCESS block after you find the process ID?
|
|
Back to top |
|
 |
lurc Grandmaster Cheater Supreme
Reputation: 2
Joined: 13 Nov 2006 Posts: 1900
|
Posted: Fri Apr 25, 2008 4:21 pm Post subject: |
|
|
I think You could use the kernel routine PsLookupProcessByProcessId to get it
Code: | NTSTATUS PsLookupProcessByProcessId(
IN HANDLE ProcessId,
OUT PEPROCESS *Process
); |
http://msdn2.microsoft.com/en-ca/library/aa489311.aspx
_________________
|
|
Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Sun Apr 27, 2008 5:09 am Post subject: |
|
|
x0r wrote: | Walk the PspCidTable. |
+1
_________________
|
|
Back to top |
|
 |
|