Re: How to develop a random number generation device
- From: MooseFET <kensmith@xxxxxxxxx>
- Date: Tue, 11 Sep 2007 19:16:34 -0700
On Sep 11, 6:43 pm, krw <k...@xxxxxxxxxx> wrote:
In article <pan.2007.09.11.16.28.29.359...@xxxxxxxxxxx>,
nob...@xxxxxxxxxxx says...
On Tue, 11 Sep 2007 07:44:01 -0700, John Larkin wrote:
Cool. When can we expect buffer overrun exploits to be impossible
under Windows?
When it stops letting you run arbitrary machine code.
Many have said that Windows is useless. Your proposal would seal
that.
Nothing the OS does can prevent machine code from overrunning a buffer.
Absolute nonsense. Perhaps buffer overruns can't be prevented using
C++, but they *can* be prevented.
A C++ compiler could be created that inserted checking code in every
operation that may overrun. Every buffer would have to have its
length recorded somewhere.
The OS can let your program single step and check what every
instruction does.
The OS can always leave a dead page after every malloc() block so you
get a segment fault on stepping off the end.
The only thing that the OS can do in this regard is to either restrict
what machine code you can run (e.g. cryptographic signing), and/or run
untrusted code in a heavily-restricted environment so that a buffer
overrun cannot be "exploited".
..or do what decent OSs do; protect tasks from each other.
Given that:
a) this would make Windows totally incompatible with most existing
software, and
No change.
b) about the only thing that Windows has in its favour is the mass of
existing Windows software,
M$ broke that with VIsta and still didn't fix buffer overruns.
I don't expect this to happen any time soon.
I don't either. Quality and security aren't priorities.
--
Keith
.
- Follow-Ups:
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- References:
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: John Devereux
- Re: How to develop a random number generation device
- From: MooseFET
- Re: How to develop a random number generation device
- From: John Devereux
- Re: How to develop a random number generation device
- From: John Larkin
- Re: How to develop a random number generation device
- From: Nobody
- Re: How to develop a random number generation device
- From: krw
- Re: How to develop a random number generation device
- Prev by Date: Interview with Jim Williams and Bob Dobkin
- Next by Date: Re: Global Warming: Junk science at it's [best] worst
- Previous by thread: Re: How to develop a random number generation device
- Next by thread: Re: How to develop a random number generation device
- Index(es):
Relevant Pages
|