On Wed, 2008-08-13 at 20:17 +0200, Andi Kleen wrote:
I thought I had summed that up. We are not interested in providing
protections against maliciously attacking programs be they root or not.
We are interested in scanning files read and written by root. We are
especially interested in programs run by root.
yum (as root) downloads trojan.rpm from youareanidiot.repo. We aren't
worried about yum maliciously attacking the system. What's going to
happen is that the scanner is going to scan the trojan.rpm when yum
calls rpm and rpm is going to be denied access to that file. Doesn't
matter how you download it, its going to get scanned when you try to
exec it.
Stop thinking this is an LSM or as a new security model. It's a file
scanner and "it ain't perfect security." But its very useful and
practical. If some malicious root application wants to turn it off it
can and I make no claims otherwise. This isn't supposed to help once
root has been subverted, you've already lost as you admit, its supposed
to help keep root form getting subverted.
-Eric
--