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 


Hiding Processes
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Sep 09, 2008 7:37 pm    Post subject: Reply with quote

Even if DKOM isn't the best way to hide a process I would still like to know it. So can you explain this code? Because I really don't get what the point of it is or what it does:

Code:

pIoStackIrp = IoGetCurrentIrpStackLocation(Irp);//provides us with our IO_STACK_LOCATION
   
   if(pIoStackIrp && Irp->MdlAddress)
   {
      target = (var *)MmGetSystemAddressForMdlSafe(Irp->MdlAddress, NormalPagePriority);
      if(target)
      {
         if(pIoStackIrp->Parameters.Write.Length == sizeof(var))
         {

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Wed Sep 10, 2008 9:42 am    Post subject: Reply with quote

pIoStackIrp = IoGetCurrentIrpStackLocation(Irp);//provides us with our IO_STACK_LOCATION

if(pIoStackIrp && Irp->MdlAddress)// if pIoStackIrp != 0 and Irp->MdlAddress != 0) continue
{
target = (var *)MmGetSystemAddressForMdlSafe(Irp->MdlAddress, NormalPagePriority);//DDK Docs states 'The MmGetSystemAddressForMdlSafe is a macro that returns a nonpaged system-space virtual address for the buffer described by the MDL. '
if(target)//if Target != 0
{
if(pIoStackIrp->Parameters.Write.Length == sizeof(var))//check Write length
{
beyond here iono...
Back to top
View user's profile Send private message MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Wed Sep 10, 2008 12:04 pm    Post subject: Reply with quote

UnLmtD wrote:
Oh wow! damn, it's still here. Well, at the time I was just starting out, so don't flame me for the bad coded code. I would suggest you to look into FU/FUTo source codes.

omg I used WriteFile Sad

BTW, hiding an object with DKOM is easily detected without modifying/hooking any other stuff.


That code was a shameless copy and paste from Rohitab and you know it. I have been quiet up until know but I figure since the topic came up, I should tell people.

http://www.rohitab.com/discuss/index.php?showtopic=23880
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Wed Sep 10, 2008 4:32 pm    Post subject: Reply with quote

I already knew it was a copy of Rohitab. In fact seeing as that's the first thing that comes up if you search DKOM on google I'm sure most people do.

@BanMe

Why exactly do you need that code though?

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
the_undead
Expert Cheater
Reputation: 1

Joined: 12 Nov 2006
Posts: 235
Location: Johannesburg, South Africa

PostPosted: Thu Sep 11, 2008 9:10 am    Post subject: Reply with quote

http://somebastardstolemyname.wordpress.com/2007/10/31/c-ring0-hiding-processes-by-the-dkom-method/
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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