Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2007, 05:09
zzsx
 
Posts: n/a
Question How to get the base addresses of segment descriptors

Hi,

Are there any ways for a user-mode program to obtain the base addresses of the segment descriptors? I have been able to get the segment limits via the "LSL" instruction, but I couldn't find any instructions to obtain the segment base address.

The Global Descriptor Table cannot be directly accessed, since it resides within the kernel memory . However, OllyDbg does be able to display the segment information in the register window. Therefore, I guess the segment base addresses should be accessible from User Mode applications. Can anyone provide any suggestions?

Thanks,
Reply With Quote
  #2  
Old 06-22-2007, 10:09
deroko's Avatar
deroko deroko is offline
cr4zyserb
 
Join Date: Nov 2005
Posts: 217
Rept. Given: 13
Rept. Rcvd 30 Times in 14 Posts
Thanks Given: 7
Thanks Rcvd at 30 Times in 15 Posts
deroko Reputation: 30
Use GetThreadSelectorEntry, you may find more here about this API: hxxp://msdn2.microsoft.com/en-us/library/ms679363.aspx
__________________
http://accessroot.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Base Encoding Library for Delphi XorRanger Source Code 0 04-30-2015 15:37
can't use BIOS comments base(*DA pro 4.3) Cheema Dev General Discussion 1 02-08-2003 18:32


All times are GMT +8. The time now is 08:44.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX