Use WinDbg to get the index of the SSDT function table and calculate the address

Source: Internet
Author: User
Tags ssdt


When entering RING0 from Ring3, the desired SSDT index is placed in the register EAX.
So here we get the index number of the function in SSDT through the content of eax, and then calculate its address
First open the Windbug, we take the function Zwqueryobject as an example:


From mov eax 0f8h, know our index number is 0f8h.
To verify, see if the function Zwqueryobject.

Let's get to SSDT's address first:

The first 8488a43c is the base address of SSDT, and we know that the address of the function equals the SSDT base site
+4* index number, figure out the function pointer address is 8488A81C

Finally u 84a0e0b5 get disassembled see we got zwqueryobject right

These two days to learn a great God's SSDT hook next time to post it as an experience

Use WinDbg to get the index of the SSDT function table and calculate the address

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.