Re: NT vulnerable to attack on CPU

DUPRE Christophe (duprec@jsp.umontreal.ca)
Wed, 25 Dec 1996 13:39:25 -0500 (EST)


On Mon, 23 Dec 1996, Fabio Yeon wrote:

>
> In article <96Dec20.083941pst.36078@gateway.fluke.com>, David Bezold <bezold@tc.fluke.com> wrote:
> >
> >On Thu, 19 Dec 1996, Oskar Pearson wrote:
> >
> >>
> >> > _Old problem _
> >> >
> >> > Hogging the CPU is one of the oldest known forms of denial of service
> >> > attack. So old, in fact, that many operating systems have developed a
> >> > defense. Many forms of Unix allow administrators to set limits on CPU
> >> > usage by user - limiting any one user to 50 percent of available CPU
> >> > cycles, for example.
> >> >
> >> > Almost all forms of Unix also automatically decrease the priority of
> >> > the highest-priority processes when applications become starved for
> >> > CPU time, which is the opposite of what Windows NT does.
> >> >
> >
> >Once again bitten by insisting on re-inventing Unix and doing so badly.
> >
> >-Dave
>
> Hum, I wouldn't go there... Last I recall, Linux had the same problem with
> this bit of code, spawning processes exponentially until system grinds to a
> halt...
>
> main() {
> while(1) {
> fork();
> }
> }
>

Wait, this is a fork bomb... Wait NT fails to defend against is a single
process (no fork) which hogs all the CPU... Like this program:

main()
{
while (1) {}
}

Christophe Dupre Universite de Montreal
Montreal, Qc, Canada
"Nous ne sommes pas libres de ne pas etre libres, nous sommes obliges de
l'etre" - Fernando Savater

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s:++ a-- C++(+++) UL++++$ UISV++ P+++ L+++ !E---- W+++$ N+ o? K w---
O M- V-- PS+ PE+ Y+ PGP+ t+ 5++ X+ R+ tv+ b++ DI- D G+ e>++ h- r++ z+
------END GEEK CODE BLOCK------

#include <disclaimer.h>