Skip to content

52funny/ebpf-hook-ifunc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hook GLIBC

This is demo to hook IFUNC strlen in glibc.so.6 using ebpf.

Compile ebpf program and run it.

cargo build -r && sudo ./targer/release/ebpf-hook-ifunc

1

Compile a strlen demo

gcc strlen.c

Then execute strlen demo

./a.out

ebpf program will intercept and output information

2

About

ebpf hook glibc ifunc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages