Getting ring 0 mode in C++ (Windows)

c++, windows

Solution

Allowing arbitrary code to run in ring 0 violates basic OS security principles.

Only the OS kernel and device drivers run in ring 0. If you want to write ring 0 code, write a Windows device driver. This may be helpful.

Certain security holes may allow your code to run in ring 0 also, but this isn't portable because the hole might be fixed in a patch :P

Problem

How I can get ring 0 operating mode for my process in Windows 7(or Vista)?

Original source

Related problems