Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Diamorphine — 适用于 Linux 内核 2.6.x/3.x/4.x/5.x/6.x(x86/x86_64 和 ARM64)的 LKM rootkit | Kitploit
工具/GitHubGitHub/m0nad/diamorphine
权限提升持久化机制恶意软件分析红队
GitHubm0nad/diamorphine

Diamorphine

适用于 Linux 内核 2.6.x/3.x/4.x/5.x/6.x(x86/x86_64 和 ARM64)的 LKM rootkit

查看仓库
2.4k4843个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Diamorphine

Diamorphine 是一款针对 Linux 内核 2.6.x/3.x/4.x/5.x/6.x(x86/x86_64 及 ARM64)的 LKM rootkit。

功能

  • 加载后,模块以隐藏状态启动;

  • 发送信号 31 可隐藏/显示任意进程;

  • 发送信号 63(任意 PID)可使模块(不)可见;

  • 发送信号 64(任意 PID)可使指定用户成为 root;

  • 以 MAGIC_PREFIX 开头的文件或目录将变得不可见;

  • 来源:https://github.com/m0nad/Diamorphine

安装

确认内核版本为 2.6.x/3.x/4.x/5.x/6.x

root@kitploit:~
uname -r

克隆仓库

root@kitploit:~
git clone https://github.com/m0nad/Diamorphine

进入目录

root@kitploit:~
cd Diamorphine

编译

root@kitploit:~
make

加载模块(以 root 身份)

root@kitploit:~
insmod diamorphine.ko

卸载

模块默认隐藏,需先使其可见才能移除

root@kitploit:~
kill -63 0

然后移除模块(以 root 身份)

root@kitploit:~
rmmod diamorphine

参考

Wikipedia Rootkit https://en.wikipedia.org/wiki/Rootkit

Linux Device Drivers http://lwn.net/Kernel/LDD3/

LKM HACKING https://web.archive.org/web/20140701183221/https://www.thc.org/papers/LKM_HACKING.html

Memset's blog http://memset.wordpress.com/

Linux on-the-fly kernel patching without LKM http://phrack.org/issues/58/7.html

WRITING A SIMPLE ROOTKIT FOR LINUX https://web.archive.org/web/20160620231623/http://big-daddy.fr/repository/Documentation/Hacking/Security/Malware/Rootkits/writing-rootkit.txt

Linux Cross Reference http://lxr.free-electrons.com/

zizzu0 LinuxKernelModules https://github.com/zizzu0/LinuxKernelModules/

Linux Rootkits: New Methods for Kernel 5.7+ https://xcellerator.github.io/posts/linux_rootkits_11/

FlipSwitch: a Novel Syscall Hooking Technique https://www.elastic.co/security-labs/flipswitch-linux-rootkit

下载工具