Skip to content

secdev02/bpfhacks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

eBPF tools

A (short) collecton of eBPF enabled tools (need root privileges to run);

Prerequisite: Install the latest bpftrace tool:

curl -o bpftrace -fsSL https://github.com/iovisor/bpftrace/releases/latest/download/bpftrace
chmod 755 bpftrace

Sniff all ssh/login/xterm session:

Record all PTY sessions and sniffs all ssh/sudo/su passwords of all users.

export BPFTRACE_STRLEN=200
./bpftrace -Bnone ptysnoop.bt

ptysnoop

Tools by others: SSHLog.

About

eBPF hacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published