Windows process Internal Mechanism learning summary

Source: Internet
Author: User

The process object, the thread object is in system space, but PEB,TEB is in user space. Because they need some user-state code to modify them.

CSRSS creates a csr_process structure for each process in the session.

Win32k.sys creates the w32process structure for the process that the thread that first uses the GUI belongs to.

WinDbg view: DT NT!_EPROCSS DT _kprocess

!process 0 0 You can view all the process information: the process + process address can switch the current process to that session.

Windows also has a protected process. This process can deny some of the administrator's access rights. The process of receiving protection is differentiated by marking the tag bits of the EPROCSS structure.

So you can load a bit of kernel-mode drivers by disabling the tag bits.

Windows process Internal Mechanism learning summary

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.