Skip to content

devjanger/BPFHound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿพ BPFHound

BPFHound is a lightweight Linux hunting script to detect signs of the stealthy BPFDoor backdoor.

It scans for suspicious processes using raw sockets, traces specific kernel stack patterns, and checks for known BPFDoor artifact files.


๐Ÿš€ Features

  • Detects processes calling packet_recvmsg in the kernel stack
  • Checks for BPFDoor-related artifacts such as:
    • /dev/shm/kdmtmpflush
    • Dropper-related PID files such as:
      • /var/run/haldrund.pid
      • /var/run/hald-smartd.pid
      • /var/run/system.pid
      • /var/run/hp-health.pid
      • /var/run/hald-addon.pid
  • Identifies abnormal processes using raw sockets
  • Performs MD5 hash comparisons of suspicious binaries to locate matching files across the system
  • Automatically generates a timestamped report

๐Ÿ”ง Installation & Usage

git clone https://github.com/devjanger/BPFHound.git
cd BPFHound
chmod +x BPFHound.sh
sudo ./BPFHound.sh

๐Ÿ–ผ๏ธ Screenshot

image

About

BPFDoor Detection Tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages