在C ++中获取ring 0模式(Windows) [英] Getting ring 0 mode in C++ (Windows)

查看:128
本文介绍了在C ++中获取ring 0模式(Windows)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Windows 7(或Vista)中为我的进程获取环0操作模式?

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

推荐答案

在环0中运行违反基本的OS安全原则。

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

只有操作系统内核和设备驱动程序在环0中运行。如果要写入环0代码,设备驱动程序。 可能有帮助。

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.

某些安全漏洞可能允许您的代码也在环0中运行,但这不是可移植的,因为漏洞可能会在修补程序中修复:P

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

这篇关于在C ++中获取ring 0模式(Windows)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆