Feeds

Microsoft to devs: Bug users about security … now!

Redmond reveals how and when it decides to remind you about security

Securing Web Applications Made Simple and Scalable

Microsoft has revealed the guidelines it gives its own developers to help them decide when users need a rude reminder to stop putting themselves at risk of security problems.

Redmond's rules boil down to being neat and spruce, but the two adjectives are acronyms rather than items in a dress code. NEAT stands for the following

  • Necessary: A warning should only interrupt a user if it is absolutely necessary to involve the user. Sometimes, a system can automatically take a safe course of action without interrupting the user. Sometimes, a security decision can be deferred to a later point in time.
  • Explained: If it is actually necessary to interrupt the user with a security warning, the warning should explain the decision the user needs to make and provide the user with all the information necessary to enable them to make a good decision. Since the Explained part of NEAT is perhaps the most important, we devised another acronym, SPRUCE (see below), to help engineers remember what information to provide in a security warning.
  • Actionable: A security warning should only be presented to the user if there is a set of steps the user could realistically take to make the right decision in all scenarios, both benign (where there is no attack present) and malicious (where an attack is present).
  • Tested: Security warnings should be tested by all means available, including visual inspection by many eyes and formal usability testing.

SPRUCE stands for:

  • Source
  • Process
  • Risk
  • Unique
  • Choices
  • Evidence

SPRUCE's tenets are visible in the graphic below, which is one of two helpful mini-posters Microsoft has made available (PDF) for you to print and pin into your cubicle.

Microsoft's SPRUCE secure development methodology spelled out

Microsoft's SPRUCE secure development methodology spelled out

Both NEAT and SPRUCE are also explained in detail in a document (DOCX) that explains both in detail, and also outlines the thinking behind their creation.

Among those thoughts is the revelation that Microsoft convened a committee to cook up guidelines on when to inform users about security issues. That effort, the document explains, “... produced a paper that captured a consensus view of the most important aspects of knowledge [and] … consisted of 24 pages, with 68 items of advice arranged into a hierarchy 3 levels deep.”

Redmond's boffins quickly realised this was impractical, because:

“Microsoft engineers do not have time in their day to read 24 pages and 68 bullet points about usable security. The list of concerns for a Microsoft engineer is long ... but usable security is only a tiny slice of usability (most of a product’s user experience has nothing to do with security) and a tiny slice of security (security includes both the development of security-related features and product-wide activities like threat modeling and penetration testing). Time for usable security is thus very limited.”

NEAT and SPRUCE are therefore watered-down versions of the best practices Microsoft's security and UI thinkers put into the topic, rather than the source material.

The document says, however, that the simplified guidance on offer has proved powerful, with the mnemonics NEAT and SPRUCE representing “a great first step in helping engineers deliver more usable security.” ®

Mobile application security vulnerability report

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you been on YouPorn lately, perhaps? White House website?
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Black Hat anti-Tor talk smashed by lawyers' wrecking ball
Unmasking hidden users is too hot for Carnegie-Mellon
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
NUDE SNAPS AGENCY: NSA bods love 'showing off your saucy selfies'
Swapping other people's sexts is a fringe benefit, says Snowden
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.