Secure Coding mailing list archives

Microsoft Pushes Secure, Quality Code


From: coley at linus.mitre.org (Steven M. Christey)
Date: Mon, 8 Oct 2007 16:07:41 -0400 (EDT)


On Mon, 8 Oct 2007, Gary McGraw wrote:

Not surprising.  Last time I looked, attack surface is subjective.
McCabe is not.  BTW, McCabe's Cyclomatic complexity boils down to 85%
lines of code and 15% data flow if you do a principal component analysis
on it.

Hopefully the SEI people are monitoring this list and can provide their
feedback.  They've done some concrete work in making attack surface as
objective as possible, enough to the point where they compared 2 FTP
servers about a year ago.  One of their papers comments that they wanted
to use the code scanners to make the calculations for them, but for some
reason they couldn't.

I was under the impression from Mike Howard's comments over the years,
that MS had some concrete (perhaps subjective) comparisons between
different MS variants, and this was part of the argument for Vista's
security over past MS operating systems.

Just throw the code in the box and turn the crank.  Then discard the
results and you're done!

While I understand the sentiment, it seems to me that you can't get very
far without metrics of some sort.  Perhaps more importantly, the real
decision-makers need them because it's not their job (and probably not
their expertise) to pore through endless details.

- Steve


Current thread: