RustRAT is my implementation of a Remote Access Trojan in Rust, designed purely for educational, research, and defensive security purposes. It demonstrates core concepts in networking, asynchronous programming, and client-server architecture with E2EE using the Rust programming language.
π¨ Disclaimer: This project is intended solely for educational use and must not be used for unauthorized access or malicious purposes. You are responsible for ensuring that you use this tool in compliance with all applicable laws and regulations.
Unauthorized use of this software to access or control devices without explicit permission is illegal and may result in severe criminal penalties. The developers are not responsible for any misuse or damage caused by this software.
End-to-End Encryption: Secure communication between client and server using AES + RSA. β
File Transfer: Upload and download files between server and client. β
Screen Capture: Grab screenshots of the clientβs desktop. β
Remote Shell: Execute shell commands on the client machine and receive the output. π΄
Process Management: List, kill, and spawn processes remotely. π΄
Keylogging: Capture keystrokes. π΄
Cross-Platform: Works on Windows, Linux(currently only rat client). π΄
RataTUI cli interface π΄
Note: Feature set may expand as the project evolves. Check the source code for the latest commands supported.
RustRAT follows a classic client-server model:
Server (rat_server) listens on a configurable port for incoming connections.
Client (rat) connects back to the server, establishing a secure, encrypted channel.
Server cli accepts commands and dispatches them to the client.
Asynchronous Rust (tokio) powers non-blocking I/O for scalability and performance.