Skip to content

Satyam-git-hub/eBPF_process_monitor

Repository files navigation

eBPF monitor

This Repo consist of the code and guide to build a monitor for processes running on the system using eBPF

Step 1

Generate the go bindings for the ebpf command using ebpf2go module

go get github.com/cilium/ebpf/cmd/bpf2go  
go generate -x

Step 2

Build the go program

go build -o monitor ./go_monitor_objects.go ./ebpfmonitoring_bpf.go

Step 3

Run the binary with priviliges

sudo ./monitor

About

a basic implementation of eBPF program and ebpf2go module to implement a process monitor using eBPF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published