Skip to content

null8000/RAT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAT-8000 : Remote Access Trojan for educational purposes.

🐀 Description: RAT-8000 is a Remote Access Trojan. Features include: keys logging, capture screenshot(s), send email(s), and remote control. See To-do List for upgrades (WIP)

1. To-do List

  1. Persistence
  2. Send screenshots via email
  3. Reverse Shell
  4. Communication Module:
    1. DNS Smuggling

2. Files

  1. key_capture.py

  2. storage.py

  3. context.py

  4. config.py

  5. screenshot.py

  6. smtp.py

  7. agent.py

Start
    open file
  └─> Initialize hook / listener
        └─> On key event:
              ├─> Capture keystroke + timestamp
              ├─> get active window
              └─> Append to log 
              └─> local and remote grab screen
              └─> send email (f10)
                  └─> clear log file              
  └─> * DNS smuggling (WIP)
  └─> HTTP/HTTPS port 8000: Plain-text JSON ATM (bypasses Windows Defender)
        └─> remote screen grab
              └─> send to email
  └─> On flush interval (5MB):
        └─> Write log file  
Stop
  └─> Unhook listener
  └─> Close log file

3. Tech Stack (Example: Python)

Component Library
Key capture pynput or keyboard
Active window pygetwindow (Windows)
File I/O Built-in open()
Timestamps datetime module
Threading threading module
Screenshot pyscreenshot module
Smtp smtplib module
HTTP http.server module

4. Log File Format (Example)

[2026-04-02 10:15:32] [Chrome] H
[2026-04-02 10:15:32] [Chrome] e
[2026-04-02 10:15:33] [Chrome] l
[2026-04-02 10:15:33] [Chrome] l
[2026-04-02 10:15:33] [Chrome] o
[2026-04-02 10:15:34] [Chrome] key.ENTER