Skip to content
/ Trevent Public

A keyboard input monitoring and logging tool for cybersecurity research. Designed for Ethical Testing ⌨️

License

Notifications You must be signed in to change notification settings

5odead/Trevent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Trevent — Linux Keylogger & Exfiltration (for Red Team & Cybersecurity)

Trevent is a Python-based lightweight keylogger and exfiltration tool designed for cybersecurity research and educational purposes.

Features

  • System-wide Key Logging
    Captures keystrokes from your keyboard on a Linux system.

  • In-Memory Log Storage
    Stores logs temporarily in memory (not on the hard drive) to avoid leaving traces.

  • Stealthy Operation
    Runs quietly in the background, making it hard to notice.

  • Telegram Exfiltration
    Sends the captured logs to a Telegram chat securely.

  • Auto-Cleanup
    Deletes the log file after it's successfully sent, leaving no trace behind.

Example Usage:

Clone the Repository:

git clone https://github.com/5odead/Trevent.git
cd Trevent

💡 Note:

  1. Set KEYBOARD_DEVICE to your actual keyboard event number, or the logger won't capture anything.

  2. Update CHAT_ID and BOT_TOKEN in your exfiltration script, or the data won't get sent.

Run the Keylogger:

python3 Keylogger.py

Run the Exfiltration Script:

python3 Exfiltration.py

⚠️ Disclaimer:
This tool is intended for educational purposes only. It should only be used in controlled environments with explicit permission. Unauthorized use is illegal and unethical.

About

A keyboard input monitoring and logging tool for cybersecurity research. Designed for Ethical Testing ⌨️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages