lkml.org 
[lkml]   [1996]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: CONFIG_RANDOM (compromise?)
On Mon, 20 May 1996, Theodore Ts'o wrote:

> If you have a "bad guy" running on your machine, they can constantly
> suck numbers from /dev/random. This will cause a "denial of service
> attack", since /dev/random will only issue random numbers if sufficient
> entropy is available to generate them.

There's nothing to prevent setting up a separate group for this device, call
it random, make the device only accessible from that group and setgid the
programs you want to have access to the random number generator, so that
they run with this group id.

This is not foolproof, but depending on what programs you allow access to
the random number generator, this could make a denial-of-service attack a
bit more difficult.

And, as you say, Linux as it stands is highly-prone to denial-of-service
attacks. IMO this is not even one of the first places to start in fixing
this general problem....


lilo


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.036 / U:2.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site