File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1296
1296
BPF is a kernel technology that can be misused for malicious purposes, like "Linux Kernel Module Injection". This
1297
1297
rule should be considered an auditing rule to notify you of any unprofiled BPF tools running in your environment.
1298
1298
However, it requires customization after profiling your environment. BPF-powered agents make bpf syscalls all the
1299
- time, so this rule only sends logs for BPF_PROG_LOAD calls (bpf cmd=BPF_PROG_LOAD ) in the enter event. If you also want to log
1299
+ time, so this rule only sends logs for BPF_PROG_LOAD calls (bpf cmd=5 ) in the enter event. If you also want to log
1300
1300
whether the syscall failed or succeeded, remove the direction filter and add the evt.arg.res_or_fd output field.
1301
1301
condition : >
1302
1302
evt.type=bpf and evt.dir=>
You can’t perform that action at this time.
0 commit comments