3 ms·
The SELinux talks looks interesting. I spent a while trying to get SELinux and Docker working together[1]. I'll need to watch that. [1] https://groups.google.c
by nl 12y ago
The SELinux talks looks interesting. I spent a while trying to get SELinux and Docker working together[1]. I'll need to watch that.
[1] https://groups.google.com/forum/#!searchin/docker-user/SELinux/docker-user/6ETu1vDzR5k/GZ0r4kxCv6QJ https://groups.google.com/forum/#!searchin/docker-user/SELin...
- walterbell 12y agoDoes anyone use AppArmor in production? It isn't very visible. Future hardware isolation: http://css.csail.mit.edu/6.858/2013/readings/intel-sgx.pdf http://css.csail.mit.edu/6.858/2013/readings/intel-sgx.pdf
- nl 12y agoYou may find MBox interesting: Mbox is a lightweight sandboxing mechanism that any user can use without special privileges in commodity operating systems. http://pdos.csail.mit.edu/mbox/ http://pdos.csail.mit.edu/mbox/ I had trouble running it in Ubuntu because of AppArmor..
- walterbell 12y agoThanks. Looks like one of those voluntary rootkits that installs defensive code in a role that malware has been known to occupy. It's a good sign for AppArmor that it prevented it from running :)
- nl 12y agoI wouldn't have said it was much like a rootkit. It's more akin to a container or a chroot, except run without special permissions. What am I missing? (Or is it just that some rootkits use ptrace/Seccomp?)
- walterbell 12y agoLSM, LXC, chroot, seccomp have well defined APIs for separation. My comment was referring to ptrace. Interposing (i.e violating API contracts) with ptrace is great for debugging or research prototypes, but the knowledge gained from that research needs to be made interoperable with existing APIs that have been battle tested. Paper said that ptrace/debug overhead is 100%, seccomp (an existing, non-debug API) reduces the need to use ptrace, halving runtime overhead. Separately, a kernel exploit could break the "sandboxing" of ptrace or docker, hence the need for AppArmor and SE Linux. Here is a year-old Windows article about breaking out of Adobe and Chromium, principles are similar for Linux: https://www.corelan.be/index.php/2013/03/15/blackhateu2013-day2-the-sandbox-roulette-are-you-ready-to-ramble/ https://www.corelan.be/index.php/2013/03/15/blackhateu2013-d...