> For the complete documentation index, see [llms.txt](https://docs.qwqdanchun.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.qwqdanchun.com/persistence/rootkit/rootkit.md).

# Rootkit

此处仅讨论狭义的Rootkit，也就是通过加载驱动进入r0实现的权限维持。

#### 方法一： <a href="#h3" id="h3"></a>

利用现有驱动漏洞，实现获取ring0权限，并长期驻留。

#### 方法二： <a href="#h3" id="h3"></a>

自己制作驱动，并添加数字签名，以加载进系统，并驻留。

#### 备注： <a href="#h3" id="h3"></a>

无论是挖掘漏洞还是自己写驱动，都需要多方面的知识，所以此处无法列出合适的POC，但是我会将一些相关资料列在下方，有兴趣的同学可以自己学习。

开源实例：

{% embed url="<https://github.com/uf0o/rootkit-arsenal-guacamole>" %}

参考文章：

{% embed url="<https://en.wikipedia.org/wiki/Rootkit>" %}

{% embed url="<https://bbs.pediy.com/thread-260708.htm>" %}
