βββ ββββββββββββββ ββββββ βββββββ βββββββ βββββββ βββββββββββββββ
βββ ββββββββββββββββ βββββββ βββββββββββββββββ ββββββββ ββββββββββββββββ
βββββββ ββββββ βββββββ βββ βββ ββββββ βββββββ ββββββββββ ββββββββ
βββββββ ββββββ βββββ βββ βββ ββββββ ββββββ βββββββββ ββββββββ
βββ βββββββββββ βββ ββββββββββββββββββββββββββββββββββββββββββββββ βββ
βββ βββββββββββ βββ ββββββββ βββββββ βββββββ βββββββ βββββββββββ βββEducational keylogger for security research demonstrating input capture, window tracking, and C2 delivery techniques.
Learn Docs are in the learn modules.
- Real-time keyboard event capture with microsecond-precision timestamps
- Active window tracking across Windows, macOS, and Linux
- Log rotation with configurable size limits (default 5MB)
- F9 toggle control to pause and resume capture at runtime
- Remote delivery simulation via webhooks for C2 research
- Thread-safe operations with proper resource locking and cleanup
git clone https://github.com/CarterPerez-dev/Cybersecurity-Projects.git
cd Cybersecurity-Projects/PROJECTS/beginner/keylogger
uv sync
python keylogger.pyPress F9 to toggle capture on/off. Press Ctrl+C to stop.
Disclaimer: For authorized security research and education only. Unauthorized use of keyloggers is illegal. Always obtain explicit written consent before monitoring any system you do not own.
Tip
This project uses just as a command runner. Type just to see all available commands.
Install: curl -sSf https://just.systems/install.sh | bash -s -- --to ~/.local/bin
This project includes step-by-step learning materials covering security theory, architecture, and implementation.
| Module | Topic |
|---|---|
| 00 - Overview | Prerequisites and quick start |
| 01 - Concepts | Security theory and real-world breaches |
| 02 - Architecture | System design and data flow |
| 03 - Implementation | Code walkthrough |
| 04 - Challenges | Extension ideas and exercises |
AGPL 3.0