#Sample Rootkit for Linux
##About
This is sample rootkit implementation for Linux. It is able to hide processes, files and grants root privileges. It also have stealth mode (enabled by default) that prevents it from detecting.
##Usage
Just compile module (included Makefile does this against current kernel) and load it. There will be hidden file in `/proc` called `rtkit`. It's not visible when listing content of proc directory.
Just `cat /proc/rtkit` to see available commands. You can use attached program to give orders or use `echo -n` (don't forget `-n`, there should be no tailing new line).
Examples:
``echo -n thf >> /proc/rtkit``
``./rtcmd.py hp1337``
To gain root you should give "My Pen Is Long" command (popculture reference, without spaces, small letters) and then fork some shell from writing process. rtcmd.py does that for you if second parameter is specified.
``tools/rtcmd.py mypenislong /bin/bash``
##Notes
This code should run on Linux version 2.6.29 and higher, since before that `lookup_address` symbol wasn't exported. Were tested against 3.1.0, 3.1.5 and 3.1.6 and is fully working (both x86 and x86\_64).
Paper describing details of implementation (in polish) is [available](http://issuu.com/ivyl/docs/rootkit).
##License
Dual licensed under BSD and GPL.
##Resources
http://stackoverflow.com/questions/2103315/linux-kernel-system-call-hooking-example
http://linux.die.net/lkmpg/
http://lwn.net/Kernel/LDD3/
##Authors
Ivyl and t3hknr.
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
rootkit.tar.gz (46个子文件)
rootkit
.gitignore 143B
.git
info
exclude 240B
objects
pack
5c
f53ea063faa0f4fbff0f77154e1265c0a2901f 213B
info
66
cb4a4b1bae585adaca590e05b556173dff0597 200B
78
c9b42b748bcfc4829a4771036df766a3483e5b 2KB
9e
3bcc9a1fb6b7371e2884b23879ab9bffd70ccd 52B
c7
54752be5e025267818588c597f178d1a78fedd 165B
bf
de0a95fdf9b2cf0b00e0b6be854fb6c449545b 865B
ea
5599117df7967c7dcbd87160a944fff74e5221 133B
2e
51c7c9b4d5967a87e7f28b294a9f6bf9d6a0a0 174B
cf
da8799a66349347dffd2b5e433757501e1e027 160B
e9
b6369eadc38391d13c0d56c8f72742ff1e30a4 869B
e0
81c06b1a7b008360b56a610a03636acbffb938 181B
50
644b3f6d0e69c5044f2ba4c385a91246e50877 162B
a0
d41be33e4d42b48d417df36e446afd8f3e4784 220B
80
2b034bacd09657c8870e0483428cbca3e1a74f 113B
7b
2bc4426511d4e12fa12303878e4fd46b03165e 7KB
41
a9fce4bf49f6d611316a79df6499f68c249d44 181B
02
543181365ae778ed16bccae5026c31d567c5ad 891B
43
a9733de5848860f69a4ae2ce6afcc9c2d2d692 181B
8d
0394f4ecd7416d0204aaf6216de024aaae42eb 2KB
6b
6812735191dddb56cfb4409d799cc09a82495e 181B
HEAD 23B
description 73B
packed-refs 107B
branches
config 260B
index 551B
refs
tags
remotes
origin
HEAD 32B
heads
master 41B
hooks
commit-msg.sample 896B
pre-rebase.sample 5KB
prepare-commit-msg.sample 1KB
update.sample 4KB
pre-push.sample 1KB
pre-commit.sample 2KB
post-update.sample 189B
applypatch-msg.sample 478B
pre-applypatch.sample 424B
logs
HEAD 172B
refs
remotes
origin
HEAD 172B
heads
master 172B
Makefile 177B
rt.c 6KB
tools
rtcmd.py 231B
README.md 1KB
polis_paper.tex 16KB
共 46 条
- 1
资源评论
a1561649415
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功