Disclaimer: This project is for educational and research purposes only. Any unauthorized use of this software for malicious activities is strictly prohibited. The authors and contributors of LOLRAT do not endorse or support illegal activities. Use this tool responsibly and ethically.
LOLRAT is a fully undetected Remote Access Trojan (RAT) designed to operate entirely in memory without leaving traces on the target system's disk. The name "LOLRAT" humorously emphasizes the project's focus on staying concealed and living only in the land of memory, ensuring stealthiness and minimizing the risk of detection.
The primary goal of this project is to create a remote access tool that operates covertly in a target system's memory and establishes encrypted communication channels between the Command and Control (C2) server and the client.
-
In-Memory Execution: LOLRAT is designed to execute its code entirely in memory, making it extremely difficult to detect by traditional antivirus and anti-malware solutions.
-
Stealthy Persistence: Achieving persistence without writing any files to disk is a critical concern in maintaining the Trojan's stealthiness. LOLRAT achieves this by using registry keys to execute a command on system startup, typically something like
cmd /c "python -c <Malicious code here>"
. -
Modular Execution: LOLRAT divides its functionality into separate modules to prevent code size from exceeding the maximum character limit in Windows Command Prompt (8191 characters). Each module is designed to be small and efficient, facilitating ease of use and customization.
- Executes python script in memory (using "python -c "Content-Here"") that connects to C2.
- When connected to C2 then it will wait for commands and execute
- Typically a command would look like this
exec:whoami
that executes and gets output from the whoami command.
To get started with LOLRAT, follow these steps:
- Clone this repository to your local machine.
- Compile and encrypt your payload with payload builder.
- Deploy the client on the target system.
- Begin communicating with the client through the C2 server.
Please use LOLRAT responsibly and only for legitimate, authorized purposes. Unauthorized use or any malicious activities are strictly prohibited and may have legal consequences.
Contributions to LOLRAT are welcome. If you have any ideas for improvements or new features, please submit a pull request or open an issue.
LOLRAT is licensed under the MIT License, which allows you to use, modify, and distribute the software as long as you follow the terms and conditions of the license.
This project is for educational and research purposes only. The author and contributors of LOLRAT do not endorse or support any illegal activities or the misuse of this software. Use LOLRAT responsibly and ethically, following all applicable laws and regulations.
Stay stealthy, stay ethical!