News for hackers. Stuff that matters.
Re:Is the lack of computer security due to programmer lazine... by kstenerud on Wednesday June 29, 2011 @09:56PM (#2712180)
The short answer: Security is HARD.

The long answer:

When even OpenSSH, a product dedicated to security, with highly trained, security focused minds, has new vulnerabilities coming to light on a regular basis, chances are this isn't an easily solved problem.

There can be any number of reasons why a security hole exists, covering laziness, incompetence, ignorance, or simple mistakes. Unless you can mathematically prove the correct functioning of your program (no small feat), there are bugs in it, and chances are some of those bugs are security vulnerabilities.

There have been numerous attempts at protecting so-called "data-only" memory, but thus far they have not stopped buffer overrun exploits completely.

The only way to be more sure that your program is not vulnerable to memory pointer exploits is to use a language that doesn't expose pointers to the programmer. But then you sacrifice speed and executable code size. And even then you can't be 100% sure because the compiler and runtime have bugs in them.

The more safety you bake into a language, the slower programs written in it will run. And even then, you're only safe until the next generation of exploits come out that take advantage of something nobody thought would be a security hole. And round and round we go.

There are no comments on this comment yet.