by eyalm · 9y ago · 0 comments
On the other hand, this is a great technical write-up that describes thoroughly the internals of some of the linux kernel subsystems. Probably the best documentation you can find for some subsystems. Also shows how they bypassed exploit mitigations technics such as KASLR, SMAP&SMEP.
Create a new user namespace and you have CAP_NET_RAW within your shiny new namespace.
Archlinux has user namespaces disabled, docker does not use them by default and does not allow them inside containers by default, on Ubuntu I make sure to disable kernel.unprivileged_userns_clone on all the servers I deploy to, etc.
These containers are a light way to separate processes. They are not intended as a security measure to isolate malicious processes that tries to escape.
Otherwise no one could ping from a container.