lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
From: Valdis.Kletnieks at vt.edu (Valdis.Kletnieks@...edu)
Subject: Coding securely, was Linux (in)security 

On Wed, 29 Oct 2003 13:58:11 +0100, Sebastian Herbst <pz@...chozapp.de>  said:

> The statement was: "There is no programming language that prevents you
> from writing insecure code". And that is true, as long as "insecure
> code" means vulnerability to DoS. IMHO that would be "incorrect" not
> "insecure" code, since an attacker is not able to get sensible data, or
> additional rights("shutting down" the service is public right because of
> incorrect code). 

Anybody who's busy losing business because their webserver is being DoS'ed
will tell you it *is* a security problem....

> Btw (almost) every programming language gives the
> versatile programmer the possibility to write proof-able correct and
> secure programs.

Haven't spent much time doing formal verification have you? "Provably correct"
is a major pain in the butt for anything larger than a trivial program.

http://hissa.nist.gov/~black/Papers/icci98.pdf

Paper from a major conference - it takes the *7 pages* to do a formal proof
of a merge sort.

You're welcome to apply their technique (or any other formal methods, they have
some pointers in their paper) to the 300,000 lines of code in your payroll system.

Oh, and most formal methods are *really* weak at proving that critical-region
locking is properly implemented - so race conditions are a real "open research" area.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.grok.org.uk/pipermail/full-disclosure/attachments/20031029/89c8eeb3/attachment.bin

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ