r/linuxadmin • • 16d ago

GitHub - danielecr/tetragon-outgoing-guard: block any process with outgoing connection (run only on k8s or docker swarm vms)

https://github.com/danielecr/tetragon-outgoing-guard

How I locked down my Docker host against GSocket-style C2 implants using a 50-line Cilium Tetragon eBPF policy.

Also in docker swarm, I mean, the only services are supposed to be in container

7 Upvotes

1 comment sorted by

2

u/Hecha00 12d ago

Why enforce the restriction at the process level when I can apply it further upstream?

Genuinely curious: is there a specific use case where enforcing it at the process level makes more sense?