mirror of
https://gitlab.kube.huskypup.net/Scooby/Homelabv4.git
synced 2026-08-20 23:16:49 +00:00
Initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
apiVersion: cilium.io/v1alpha1
|
||||
kind: TracingPolicy
|
||||
metadata:
|
||||
name: privilege-escalation-detection
|
||||
spec:
|
||||
kprobes:
|
||||
- call: __x64_sys_setuid
|
||||
syscall: true
|
||||
args:
|
||||
- index: 0
|
||||
type: int
|
||||
selectors:
|
||||
- matchArgs:
|
||||
- index: 0
|
||||
operator: Equal
|
||||
values:
|
||||
- "0"
|
||||
matchActions:
|
||||
- action: Post
|
||||
- call: __x64_sys_setgid
|
||||
syscall: true
|
||||
args:
|
||||
- index: 0
|
||||
type: int
|
||||
selectors:
|
||||
- matchArgs:
|
||||
- index: 0
|
||||
operator: Equal
|
||||
values:
|
||||
- "0"
|
||||
matchActions:
|
||||
- action: Post
|
||||
Reference in New Issue
Block a user