SELinux and covert channels
Andi Kleen <[email protected]>:
Quoted 31 lines · Bennett Todd
Quoted 9 lines
If you really want to block all covert channels, you end up designing an OS on the same basis that cryppies design protocols to thwart traffic analysis: you pad all resource utilization to constant values with dummy load-inflictors, while imposing soft limits that are hard to accurately discern. And even this is very hard to get right: you end up having to define ceilings on permitted utilization, and then you have to prevent the sender from communicating covertly with the receiver by intermittently pushing the system against those limits.
Another thing is that it plugging all channels would require flushing CPU caches on all context switches (I believe some secure version of SCO does that). It would kill all performance.
I think with a virtual machine like vmware or plex86 you could do a reasonably job at separating, at the cost of burning some CPU when you also add a virtual clock.
Quoted 4 lines
Lessee, besides load average, other bounded and so exhaustable, as well as modulatable, resources would include pids, network ports, and disk space.
Separating these is not very hard and has been already done.
Unfortunately there are many more such things.
Quoted 1 line
Quoted 6 lines
Quoted 4 lines
Today, I'd say most software engineers familiar with the problem consider the gyrations required to close all covert channels to be too painful, and so design systems where preventing covert channels is not a security requirement.
Especially since it is very cheap now to buy just two PCs.
But it is not cheap to buy two (or more) beowulf clusters... or two 8/16/32 CPU SMP systems...
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]
Any opinions expressed are solely my own.
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 9 lines · Jesse Pollard
Quoted 6 lines
Quoted 4 lines
Today, I'd say most software engineers familiar with the problem consider the gyrations required to close all covert channels to be too painful, and so design systems where preventing covert channels is not a security requirement.
Especially since it is very cheap now to buy just two PCs.
But it is not cheap to buy two (or more) beowulf clusters... or two 8/16/32 CPU SMP systems...
When you need to flush caches on context switch then beowulf gets completely useless. Only way would be to partition them (half the cluster for this, half the cluster for that)
-Andi
--
You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.