Skip to content

Backdoor

Ighor Augusto edited this page Mar 1, 2020 · 1 revision

Reptile's Backdoor

The backdoor is a reverse shell triggered by a magic packet sent via TCP, UDP or ICMP protocol. It will call a binary in userland which will connect, trigger Reptile's hidding commands and provide you a reverse shell with some nice features like:

  • File uploader and downloader
  • Possibility to set a delay to connect back in a period of time (in seconds)
  • Full TTY shell (like ssh)

Client

The client is MSF-like and its compilation and usage is very easy. You will need to install libreadline in your attacker machine before building it:

Debian based:

apt install libreadline-dev

RHEL based:

yum install readline-devel

or

dnf install readline-devel

To compile it's just run make client in Reptile's main directory and the binaries will be in output folder. Now it's just cd output and run ./client! Type help to see the commands.



There are another two binaries: listener and packet. The client binary will handle listener and packet but you can use them separately if you want:



Shell

The shell is easy to use, when you got a connection just type help to see the commands.

  • It already hide its process and connection.
  • Its connection is encrypted
  • There is a file uploader and file downloader inside.
  • You can set a delay to receive a reverse connection every time you want.
  • If you run shell you will get a full TTY/PTY shell like ssh.


Clone this wiki locally