Created by BackdoorAli aka NotAlita (GitHub: https://github.com/BackdoorAli)
This is a cross-platform Python keylogger built to demonstrate red team tactics and teach ethical cybersecurity awareness.
- Cross-platform: Windows, macOS, Linux
- Clipboard monitoring
- Auto email logs every X minutes
- Logs active window titles
- Dumps system info on start
- Stealth mode (Windows + silent Linux/macOS)
-
Clone the repo:
git clone https://github.com/Mira2720/keylogger-edu.git cd keylogger-edu -
Install requirements:
pip install -r requirements.txt
-
(Linux only) Install
xdotool:sudo apt install xdotool
-
Edit your email/password in
keylogger.pybefore running. -
Run the script:
python keylogger.py
This project is intended to help defenders understand attacker tactics. Use it only in controlled lab environments.
See the CASE_STUDY.md for a practical walkthrough.