Microsoft claims secure development success

A program placing strict controls on developers to ensure they build secure code is showing early signs of success, according to a senior executive from the software giant.

The program - known as the Security Development Lifecycle (SDL) - is one of the results of a 2002 company-wide memorandum from Microsoft chairman Bill Gates outlining an increased focus on security, and followed on from a series of serious security vulnerabilities that caused publicity woes.

"It's showing early signs of results for us," Microsoft product manager Rick Samona, who holds responsibility for the .NET framework and the company's developer tools, told an audience at the Tech.Ed conference on the Gold Coast. He went on to outline how the SDL -- a set of processes for secure software development -- had improved Microsoft's security record.

Samona said all of Microsoft's server and commercial products -- even the XBox 360 gaming console -- had to go through the SDL -- and the difference in security when compared with the company's previous software was remarkable.

"Server 2003 went through the SDL, and 2000 did not," he said. "The number of critical reports and security vulnerabilities has been reduced dramatically [when the two were compared]."

"Probably the poster child for the SDL is [Microsoft's Web server] Internet Information Services 6. IIS6 has had one security vulnerability since it was shipped, and it was for a feature that wasn't even on by default."

He added since the third update to Microsoft's SQL database server was released, the software has had zero vulnerabilities in 24 months.

But getting such results has not been easy for the world's biggest software maker.

"Basically all the developers at Microsoft had to go through training to completely revamp the way we do security," said Samona.

"Every developer has to take training within 60 days of joining Microsoft. There's also annual refresher courses you have to take. And [the book] Writing Secure Code by [Microsoft security experts] Michael Howard [and David LeBlanc] is required reading."

Samona added an internal Web site detailed the numbers of untrained employees, categorised by which vice-president they worked under. "We e-mail that out around to everyone," he said, citing executive pride as a key motivator.

In addition, he said, each developer is paired up with a security advisor -- known as a 'buddy'. This process of peer-checking helps keep code clean of problems. But developers also have to spend time on their own reviewing code, according to Samona.

Microsoft developers are also prohibited from using certain coding functions.

"About 100 or so functions are completely banned from being used," Samona said. "Tools like strcopy, strncopy that are really hard to get right, and inherently unsafe as they don't check buffer sizes."

The company has also started using a coding function known as the GS flag to compile its software. The flag helps stop the buffer overflow attacks which are among the most common security vulnerabilities.

"The GS flag was used to compile Windows XP Service Pack 2 and a portion of Server 2003" said Samona, noting the technique had minimised the impact of the destructive Blaster worm on the second. He said Microsoft had set the option on by default in its Visual Studio 2005 development package in an effort to see it more widely used.

At the end of the development cycle, the process gets even more strict. "When we put an application up as a beta [or test version], we don't want to see a security vulnerability in three months," said Samona. "That can actually be part of the criteria before it's shipped."

Ultimately the SDL is aimed at not only creating more secure software, but also on providing cost controls. Ramona noted that the estimated cost to his company each time it issued a security alert for one of its products was around US$100,000. "If you fix a security vulnerability early on, it's actually much, much cheaper than waiting down the road to fix it," he said.

And it looks as if the approach may spread to other organisations.

Microsoft Australia's Ben English -- who recently shifted roles but was the local security chief for some time -- told ZDNet Australia increasing numbers of customers were interested in adopting the SDL internally for their own software development. Details of the methodology were available for free from Microsoft's Web site, he said.

Renai LeMay travelled to Tech Ed as a guest of Microsoft.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

Tech Blueprint

ZDNet Australia Live

RT @CorrieB: An iPad for every child: Inevitable or impossible? http://t.co/I7uS8l9s Thx to @timbuckteeth for this; http://t.co/jxkqIRIp

Interesting tech analysis podcast re: phone cloning and Craig Thomson from zdnet http://t.co/p8jlCvvG

Tout d'abord, avec la monopalme à l'intérieur, la queue est tout à fait vraiment très longue et large. C'est seulement un peu maladro...

14 minutes ago by gawron2593 on Mozilla plans to fund developer community

Pour commencer,maillot de bain 1 piece C'est seulement un peu embarrassante lors de l'exécution qu'il à l' piscine, mais quand c'est go...

15 minutes ago by gawron2593 on Mozilla plans to fund developer community

@zdnetaustralia Thoughtful piece to end the week on. Thanks @joshgnosis

Triple J's Spotify conundrum http://t.co/iy1e2DRp via @zdnetaustralia

RT @zdnetaustralia: NSW outs datacentre deal details: http://t.co/A1Cj4Eot ^LH

BYOD for iOS devices is not a big deal, provided a passcode is enforced and jailbroken devices are excluded. But if Google can sort out ...

18 minutes ago by umbria on BYOD too immature for us: Human Services

Triple J not bound to advertising rules like its broadcast. No diff to ABC online or magazines though... http://t.co/JPUr7Fv4

Triple J's Spotify conundrum: Has Triple J managed to find the balance between meeting editorial policy and keep... http://t.co/8UYsHZ6D

Thank you, Tasmania, for helping NBNCo get the design optimised. Heard a great anecdote this week. Four kids at a little school in one of...

24 minutes ago by umbria on NBN's Tassie upgrade to cost $1.3 million

RT @joshgnosis: Listening to Triple J on Spotify has ads for Commonwealth Bank. But that's okay apparently. http://t.co/O7zmcpvT

Listening to Triple J on Spotify has ads for Commonwealth Bank. But that's okay apparently. http://t.co/O7zmcpvT

How does Triple J find the balance with meeting editorial policy and keeping up with the latest technology? http://t.co/qdWgybfm ^jt

Agree AWY

Early days but the take-up rate for the fastest speed tier needs to accelerate to justify the huge Cap-ex.

33 minutes ago by Vasso Massonic on NBN users opt for 100Mbps

RT @zdnetaustralia: NSW outs datacentre deal details: http://t.co/A1Cj4Eot ^LH

NBN users opt for 100Mbps http://t.co/ftKGRzye

#IT Priorities: #servers and #storage: webinar sponsored by @IBM http://t.co/BGq8LYd5 via @zdnetaustralia

Post 'social' improved speed to information and context: By Oliver Marks | May 24, 2012, 9:47pm PDT... http://t.co/VGN2hxtp #socialmedia

RT @zdnetaustralia: Should bug hunting for biometric systems be restricted to govt and industry? http://t.co/oj0oOkv7 ^ML

Exploring: http://t.co/WzikDISk

There's trouble with three major Linux desktop application developers. #Linux http://t.co/uR07K9W6

IT Priorities: servers and storage http://t.co/BGq8LYd5 via @zdnetaustralia

Couple of things: Firstly the most important one: "We expect to see that ratio shifting around a bit,"- well says it all almost. Basica...

46 minutes ago by AWY on NBN users opt for 100Mbps

Exploring: NBN users opt for 100Mbps: Customers are picking the top fibre plan that is available o... http://t.co/9PwLO0NU #ICTChallenge

Exploring: NBN users opt for 100Mbps: Customers are picking the top fibre plan that is available o... http://t.co/JWTrVow1 #ICTChallenge

Exploring: http://t.co/8iFmRUbZ

NBN users opt for 100Mbps http://t.co/atP8fi1L

Can #Windows Phone bring a new challenge? http://t.co/CpTjZ2lk via @zdnetaustralia

NBN users opt for 100Mbps - ZDNet Australia http://t.co/eVVB5xyS

NBN users opt for 100Mbps - ZDNet Australia http://t.co/4oaTruaN

Where's Mathew whats-his-face complaining about how the secret nasty NBNCo plan is all about "forcing" people onto higher ARPU? Sounds l...

1 hour ago by Gwyntaglaw on NBN users opt for 100Mbps

Story filed for @zdnetaustralia. Please don't tell @engochick that I've waffled on for 1200 words. I'm exhausted now.

RT @markjohnston_au: Australian Privacy Laws catching up with the world http://t.co/OCU7uwqe but will this help change tickbox security to real protection?

Given the early priority given to Tasmania, it is around 90% likely that the entire state will receive the full NBN rollout as originally...

1 hour ago by Gwyntaglaw on NBN's Tassie upgrade to cost $1.3 million

NSW outlines datacentre migration plans - ZDNet Australia: NSW outlines datacentre migration plansZDNet Australi... http://t.co/MosIfczQ

NBN users opt for 100Mbps - ZDNet Australia: Brisbane TimesNBN users opt for 100MbpsZDNet AustraliaCustomers are... http://t.co/T5oBSVZQ

A relevant lesson for NZ - NBN users opt for 100Mbps http://t.co/KScaSdRI via @zdnetaustralia

RT @zdnetaustralia: #NBN users are opting for 100Mbps plans on fibre more than any other, according to NBN Co http://t.co/oTl5R1UY ^jt

RT @ninefold: Interesting Q&A on #cloud security, debating Patriot Act & more: ZDNet Australia http://t.co/qc933yKJ

#DataCentre NSW outlines datacentre migration plans - ZDNet Australia: NSW outlines datacentre migration plansZD... http://t.co/ViOllBWa

Interesting Q&A on #cloud security, debating Patriot Act & more: ZDNet Australia http://t.co/qc933yKJ

NBN users opt for 100Mbps http://t.co/YwwtyyNP

If you’re running 1:1 then whoever it was that did the original design did not future proof. You should aim to 10:1 for small use stati...

1 hour ago by amckern on 30 servers to 7: BUPA redoes virtualisation

Yes, after all when you do your personal tax return, you don't say to your accountant: "oh, give the government a couple of thousand out...

1 hour ago by meski on Much ado about Google's tax

That would be Ayn, not Ann. And if you read Atlas Shrugged and came away with the impression of selfish, there's not much I can say to c...

1 hour ago by meski on Much ado about Google's tax

Download Angry Birds Space free

2 hours ago by EminnyAssence on iiNet undercuts Internode with NBN pricing

I think the CBA point here is fairly much moot now. There was some, limited, argument for it before the NBN began, but as many people hav...

3 hours ago by seven_tech on NBN cost-benefit analyses are so 2011

Reading this article is like stepping back in time. If I was Paul Berryman I would hang my head in shame. How embarrassing!!! I can’t b...

5 hours ago by MikeSkoey on 30 servers to 7: BUPA redoes virtualisation

The registration sticker provided a visual reminder to the driver to renew regardless of what happened to the renewal letter. The experie...

6 hours ago by dccharron on NSW ditches rego stickers for tech

"xfire: Why is telecommunications being treated different to roads, water and electricity?" Good question, my guess is AUS is far behind...

6 hours ago by ngoctranminh on Five pros and cons of the NBN

Thanks for the response Luke, Given that the quotes are accurate, then the person in charge of the Vic Health App needs to find another j...

6 hours ago by butterflyeffecs on Android fragmentation steers Vic Health

Nice analogy. Another factor is whether you can find 50 people with powerful enough weapons. Minassian's argument is essentially that the...

6 hours ago by Mukimu on National Botnet Network coming: Earthwave

It's nice to see Tas finally get some decent internet connectivity, for too long Tas has been stooged on decent internet connectivity but...

6 hours ago by Jingles on NBN's Tassie upgrade to cost $1.3 million

Who is Luke Hartsuyker? He must be the Apprentice FUDster. As PaulPC has already said regional consumers want, deserve and are entitled...

7 hours ago by dickster on Regional review highlights NBN, mobile

This story has been voted 12000 times in the last 24 hours!

1 day ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar