⚠️ Disclaimer: This project is intended strictly for educational purposes and should only be used in lab environments or with explicit permission from the system owner. Unauthorized access to devices is illegal and unethical.
This project demonstrates the basics of remote access tools (RATs) and keylogging on a Windows machine, designed for learning about how attackers might compromise systems. It emphasizes the importance of securing your systems against such techniques.
Components
server.py
- Acts as the control center (attacker’s machine).
- Accepts incoming connections from a client.
- Allows file upload/download, command execution, and screenshot capture.
- Integrates keylogger control functions.
keylogger.py
- A Python-based keylogger script for Windows.
- Logs keystrokes to a file located in the
AppDatadirectory. - Can be started, dumped, and stopped via commands from
server.py.
Features
- Remote shell command execution
- File upload/download
- Screenshot capture
- Keylogger control (start, dump, stop)
- Basic persistence setup via registry (educational example)
Usage (In a Controlled Environment)
Server (Attacker Machine)
python server.py