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 


SSDT

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

Joined: 26 May 2009
Posts: 37

PostPosted: Thu Feb 18, 2010 3:03 am    Post subject: SSDT Reply with quote

How do you find the base of the loaded kernel and its size?

Also, when you copy it and get an address to the function, is the address relative or absolute? Do you add it to the base or subtract?
Back to top
View user's profile Send private message
Guy
Expert Cheater
Reputation: 0

Joined: 30 May 2009
Posts: 187

PostPosted: Thu Feb 18, 2010 9:25 pm    Post subject: Reply with quote

GetModuleHandle("ntoskrnl.exe");


Haha, just kidding.

Here's a quick link I found on locating it in kernel land, which uses four varying techniques to do so, good luck! http://uninformed.org/index.cgi?v=3&a=4&p=5

_________________
Has anyone seen Hitler around..? If so, PM me!
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: Fri Feb 19, 2010 1:30 am    Post subject: Re: SSDT Reply with quote

azfk wrote:
How do you find the base of the loaded kernel and its size?


Well, kernel base address is 0x80000000 and it size is (0xFFFFFFFF - 0x80000000)

_________________
+~
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Fri Feb 19, 2010 6:36 pm    Post subject: Reply with quote

the driver can also be loaded at 80400000

anyhow, you can use psapi's EnumDeviceDrivers api combined with GetDeviceDriverBaseNameA to get the name of the drivers

ntoskrnl**.exe is the name of the driver you need

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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