Skip to content

hailang/rootkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rootkit

Reference: dl.packetstormsecurity.net/papers/unix/bsdkern.htm

Feature

  1. Retriever:

    • Module
      • A character device that communicates with controller
        • TODO:
          • Implement character device to store received command
    • Application
      • Executioner
        • Userland application to execute the command received by the Retriever module
  2. Harvester:

    • Module
      • A character deveice module that gathers victim's information (log, stats, etc)
        • TODO:
          • Implement character device to store info
    • Application
      • Inquisitor
        • Userland application to report information gathered by the Harvester module
  3. Protector:

    • Module
      • A system call module that protects the rootkit
        • TODO:
          • Hide modules from kldstat
          • Prevent modules from being unloaded
          • Hide processes
          • Prevent processes from getting killed
          • Prevent connections from being closed
    • Application

Notes

  1. System Call Service

  2. Hooking

    • Immutability
      • unlink hook
      • rmdir hook
      • rename hook
      • chmod hook
      • chown hook
      • chflags hook
      • utimes hook
      • truncate hook
    • Invisibility
      • open hook
      • chdir hook
      • getdirentries hook
      • stat hook
      • lstat hook
  3. Kernel / User Space Transition

  4. Character Device

  5. ICMP Injection (Direct Commanding Control)

  6. TODO: HTTP Reverse Command Fetching

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published