An educational cybersecurity project that demonstrates keyboard activity logging, clipboard monitoring, screenshot capture, AES-based encryption, and secure data recovery for learning secure software design and digital forensics.
This project showcases a controlled, educational implementation of an activity monitoring system. Collected data is encrypted locally using AES (CFB mode) and can be decrypted using a separate decryptor script for analysis in a lab environment.
- Keyboard input logging (letters & special keys)
- Active window title tracking (Windows)
- Clipboard change monitoring
- Periodic screenshot capture
- System information collection
- AES-128 symmetric encryption with random IV
- Encrypted log archival
- Separate decryption utility
- Windows (required for window title capture)
- Python 3.8+
pip install pynput pycryptodome pyautogui python-dotenv clipboardBuilt-in modules used include socket, os, time, datetime, threading, platform, tarfile, ctypes, smtplib, and email.
Create a Config.env file in the project root:
EMAIL_USER=your_email@gmail.com
EMAIL_PASSWORD=your_app_password
EMAIL_RECIPIENT=receiver_email@gmail.com
Use email app passwords, not personal passwords.
python keylogger.pypython Decrypter.pyRecommended to run inside a virtual machine or sandbox.
system_info.txt.enckeylogger.txt.enckeylogger_letters.txt.encclipboard.txt.encscreenshots.tar.gz.enckey.bin
This project is intended only for educational, academic, and authorized security research.
Running this software on systems without explicit permission is illegal and unethical.
Educational Use Only