Computerworld
Can obscurity make cryptography better?
Managing security risk is always a cost/benefit trade-off
Roger A. Grimes (InfoWorld)  22 July, 2008 12:43

I often disagree when the so-called experts talk about security in terms of binary decisions. Managing security risk is always a cost/benefit trade-off compared to the value of the thing being protected.

I have always been particularly bothered by security proponents who repeat the mantra, "Security by obscurity is no security," when that declaration is demonstrably incorrect. Obscurity does have value, sometimes significant value, especially in the context of the defense-in-depth paradigm. I've written several articles defending obscurity each year, both here and elsewhere. Even though I can present facts and numbers, and readily demonstrate repeatable experiments to back up my conclusions, my critics usually rely solely on emotional arguments. At the very least, they can never show me how obscurity decreases security without coming up with hyperbolic, unlikely scenarios. A friend shared a popular saying with me: "I can show you the facts, but never convince you."

I was discussing obscurity and crypto with the same friend while we waited hours in an airport. If there is anywhere that obscurity shouldn't apply, it's in cryptography. Crypto needs to be open, tested, and truly secure. But I argue that obscurity can even play a role here. Here are three examples:

Salting password hashes

The clearest example is the salting of password hashes. In most modern authentication databases, the authentication "secret" (password, token, digital certificate, biometric measurement) is usually not stored in plaintext. It is normally obscured using a random or predetermined (based on user's account name or time event, for instance) "salt" value. The salt adds one more wrinkle, that, although trivial in the crypto world, means hackers can't immediately begin cracking hashes into their plaintext equivalents if they have access to the authentication database.

Linux, Unix, and BSD password hashes are often salted with a random value. Although some Microsoft Windows password secrets are salted, the main log-on authentication password hashes (LM and NT) are not. The argument against salting is that in order to collect a Windows password hash, you have to be an administrator, and once you have that, it's pretty much game over already. And while that may be true, any password cracker knows that if you find two password hashes with the same value (which is often the case with shared admin passwords), you can readily and easily see the worth of salts. Salting provides some minor, additional level of obscurity that adds more complications to password cracking.

Hiding crypto

There are instances where hiding the fact that cryptography itself is used can be a good thing. I travel internationally a fair amount. Customs and border control agencies usually have the legal right to inspect my laptop hard drive (a right I don't agree with without a reasonable suspicion that I've committed a crime, but I'm not on the Supreme Courts of these countries).

I often have personal data stored on my laptop, that although not illegal, I'd rather not have unrelated third parties viewing. For instance, why should a customs agent have access to e-mails and letters sent to my wife, or to family vacation pictures? They are private moments not meant to be shared with people I know nothing about.

Computerworld Buyer's Guide - Vendors Matched to this Article

Comments

Post new comment

Login or register to link comments to your user profile, or you may also post a comment without being logged in.
The content of this field is kept private and will not be shown publicly.
Enter the fully qualified URL, eg. http://www.example.com/
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Add to Google
Computerworld Buyer's Guide - Vendors Matched to this Article
Zones
Zone logoZones provide focussed content from Computerworld and leading technology partners.
Newsletter Subscription
Newsletter Subscription
Sign up for our Computerworld newsletters!
Syndicate content
 

Computerworld Webinar

Thursday, June 11th, 2009
10:30am EST (Sydney, Australia)
Screening at your PC

Computerworld is hosting a 30 minute live webinar to help you to learn how unified communications can save you money, foster innovation and business agility by making it easier for people to find, reach and collaborate with one another.

Register Now

Computerworld Community Comments
Whitepaper

Providing Business Continuity and Disaster Recovery for Microsoft Cluster Server and Windows Server 08 Failover Clustering Apps

Clustering provides high availability for mission critical applications. A well implemented cluster tolerates failure of individual components to deliver a much increased level of availability and resilience. Get implementation tips now.

Enterprise IT Buyer's Guide
Find Technology Vendors Fast
 
Find vendors by name | Find by category
Sponsored Links
 
Send Us E-mail | Privacy Policy
Features List | Media Kit | Advertising | Contact Us

Copyright 2009 IDG Communications. ABN 14 001 592 650. All rights reserved.
Reproduction in whole or in part in any form or medium without express written permission of IDG Communications is prohibited.