Skip to content
/ bpfsec Public

basic ebpf playground to work and play a little with it

License

Notifications You must be signed in to change notification settings

hoomaac/bpfsec

Repository files navigation

  ____         __ _____           
 |  _ \       / _/ ____|          
 | |_) |_ __ | || (___   ___  ___ 
 |  _ <| '_ \|  _\___ \ / _ \/ __|
 | |_) | |_) | | ____) |  __/ (__ 
 |____/| .__/|_||_____/ \___|\___|
       | |                        
       |_|    

What is it about?

Bpfsec is a basic implementation based on eBPF and KRSI (Kernel Runtime Security Instrumentation). It just uses BPF LSM concept to monitor processes currently and in the future it can block them (TODO).

Setup

Just run build.sh and it handles everything for you. There is also Vagrantfile to facilitate the setup of the virtual machine, You can use vagrant up to setup the desired machine, then use vagrant ssh to ssh to the machine and test the bpfsec. Note: libbpf is submodule of this project, so you don't need to build it from kernel source directly.

Knowledge Sharing

There are multiple helpful websites and resources that are listed below:

About

basic ebpf playground to work and play a little with it

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages