TechRepublic : A ZDNet Tech Community

IT Security

Host: Chad Perrin
Contact

Security 101, Remedial Edition: Obscurity is not security

I know I’ve addressed this security issue before — many times, in fact. Apparently, it needs to be said again:

Obscurity is not security!

Arun Radakrishnan wrote about how Red Hat decided to open the source to its security certificate system in TechRepublic’s IT News Digest blog, in the article Does open sourcing security framework lead to more secure software?

In the article, he references not only Red Hat’s announcement, but also a ZDNet post by Dana Blankenhorn wherein he decided to take on the “open source security meta-hole“, as he calls it. His comments imply that, just by making the source code for a piece of software available, that software’s security is somehow compromised. He fails to actually make a case for that line of reasoning (probably because it’s based entirely on assumptions, and not at all on any actual understanding of principles of security and software design), but he does link to an article in ZDNet UK that discusses the uninformed security concerns of Australian Taxation Office CIO Bill Gibson (not to be confused with speculative fiction author William Gibson), and the open source community’s reactions to his expression of those concerns.

In a ZDNet Australia interview, Bill Gibson said:

We are very, very focused on security and privacy and the obligations that we have as an agency to ensure that we protect those rights of citizens’ information in that respect. So, we’ve continued to have concerns about the security related aspects around open source products. We would probably need to make sure that we will be very comfortable — through some form of technical scrutiny — of what is inside such a product so that there was nothing unforeseen there.

There are basically three different types of people telling the world what to do to ensure their computing environments are secure, in my experience:

  1. There are truly knowledgeable security experts such as Bruce Schneier and Phil Zimmerman, people who articulate security principles for the rest of us to help us understand how best to protect ourselves, and who develop legendary security solutions like the Blowfish cipher and PGP. These people universally understand one of the most basic, important principles of security — Kerckhoffs’ Principle — which states that a cryptosystem should be secure even if everything about the system except its key is public knowledge. A reformulation known as Shannon’s Maxim states:

    The enemy knows the system.

    The lesson to take from this is simple — the effectiveness of your security policy should not depend on the secrecy of the policy, because it can always be discovered or reverse-engineered. These are the security experts who understand the value of peer review. They tend to understand that the benefits of security through visibility are far more important than any unwarranted fear of losing the obscurity of the system.

  2. There are those supposed security experts who, regardless of whether they understand Kerckhoffs’ Principle, exhort others to use systems whose implementation details are kept secret. The justification is that this secrecy somehow reduces the likelihood of someone being able to crack the system by examining the implementation details. These are people who are typically either plagued by a conflict of interest (they want to sell closed-source software, but can’t sell it if they’re telling people their software would be safer if it were a popular open source project) or not nearly as knowledgeable as they thought.
  3. There are, finally, people who hear some security-unconscious CIO’s uninformed statements in an interview and run with it, without bothering to actually read up on the subject at all.

It’s harsh, but it’s true.

Educate yourself. Understand that hiding the implementation details of your security system doesn’t help anyone but the “bad guys”, because it prevents the “good guys” out there in the general public from helping you improve the system — but the malicious security crackers will use the same reverse-engineering, vulnerability fuzzing, and stress-testing techniques to find chinks in the armor that they always use. Only the most obvious security issues in an implementation (like a complete lack of input validation in a typical Web application) can be found very easily by looking at source code, and any errors that simplistic can be found in moments by way of other techniques.

Not only does open source software provide for a development process more likely to result in secure software, but it also places security software like GnuPG, Nessus, ClamAV, OpenSSH, WinSCP, and PuTTY in the hands of people everywhere who might otherwise never use them. Open source software is near and dear to my heart, as a security professional interested in helping as many people as possible better protect themselves from the malicious security crackers (and unscrupulous, privacy-invading corporations) of the world. Because of that, I tend to get a little annoyed when people spread such nonsense as the notion that open source software is somehow inherently less secure.

Sure, maybe I’m biased, but in this case, it’s because I value actual security over the mere illusion of it.

Chad PerrinChad Perrin is an IT consultant, developer, and freelance professional writer. He holds both Microsoft and CompTIA certifications and is a graduate of two IT industry trade schools. Read his full bio and profile.

Print/View all Posts Comments on this blog

Security through obscurity: do you think it works? apotheon | 03/28/08
The illusion of security Sterling "Chip" Camden | 03/28/08
Absolutely right tuomo@... | 04/01/08
Hiding implementation details is more secure, obviously. robo_dev | 04/01/08
Not a particulary good analogy that is it? Tony Hopkinson | 04/01/08
not quite apotheon | 04/01/08
On a safe, this would tell you where to drill the hole robo_dev | 04/02/08
Equally a software cracker Tony Hopkinson | 04/02/08
The whole point is that the first step of hacking anything robo_dev | 04/02/08
I would have put vulnerability disclosure in a different Tony Hopkinson | 04/02/08
@Tony, re: "code police" $$$$$$$$$$ | 04/15/08
Yes: source code santeewelding | 04/15/08
Come on, I'm a shy and retiring person Tony Hopkinson | 04/16/08
Then the security design of the system was already bad seanferd | 04/04/08
Actually . . . apotheon | 04/01/08
The key ozi Eagle | 04/01/08
precisely apotheon | 04/02/08
Avenue santeewelding | 04/01/08
If I read your question correctly . . . apotheon | 04/02/08
It does santeewelding | 04/02/08
specifics apotheon | 04/02/08
Offal santeewelding | 04/03/08
butting in $$$$$$$$$$ | 04/15/08
So if my task is to drill thru the lock to open the safe... robo_dev | 04/02/08
Seems to me Dumphrey | 04/02/08
try again apotheon | 04/02/08
tumblers $$$$$$$$$$ | 04/15/08
blueprints should not depreciate security unless the display the key too Neon Samurai | 04/02/08
Duplicate post - TR needs to fix this issue Neon Samurai | 04/02/08
Agreed, other Cnet properties don't have these problems $$$$$$$$$$ | 04/17/08
CNet's flash crashes more frequently Neon Samurai | 04/22/08
Oh, I did not know that. $$$$$$$$$$ | 04/22/08
IE6, winXP, Flash Neon Samurai | 04/23/08
If it did Jaqui | 03/29/08
Precisely askell@... | 04/01/08
And to add to your statement Jaqui Dumphrey | 04/01/08
time line for patches Jaqui | 04/01/08
Yup NT Dumphrey | 04/01/08
No, but they still have to try Jack | 03/29/08
Well said Michael Kassner | 03/29/08
RE: Security 101, Remedial Edition: obscurity is not security steve@... | 04/01/08
RE: Security 101, Remedial Edition: obscurity is not security eric.diehl@... | 04/01/08
explain apotheon | 04/01/08
You are right: DRM is one example eric.diehl@... | 04/01/08
Transalation difficulty? Are you saying Tony Hopkinson | 04/01/08
Trust does not mean authorized eric.diehl@... | 04/01/08
If you are running bob in a sandbox Tony Hopkinson | 04/02/08
trust vs. authorization apotheon | 04/02/08
you have a fundamental flaw in your understanding Jaqui | 04/02/08
Keys are not in the source eric.diehl@... | 04/05/08
So now you are saying Tony Hopkinson | 04/05/08
Malware is security software . . . ? apotheon | 04/05/08
To Chad Tony Hopkinson | 04/05/08
broken link in there eric Jaqui | 04/01/08
Sorry. A long day for me!!! eric.diehl@... | 04/01/08
The secret is not visible, only the mechanism is Neon Samurai | 04/01/08
You find the point eric.diehl@... | 04/01/08
But it's Bob's computer Neon Samurai | 04/02/08
two very different examples apotheon | 04/02/08
Keys in source code . . . ? apotheon | 04/01/08
I agree eric.diehl@... | 04/01/08
DRM and keys in memory apotheon | 04/02/08
Restricted view on DRM eric.diehl@... | 04/05/08
I have yet to find a situation where DRM isn't malware. apotheon | 04/05/08
re: Open source is perfect Jaqui | 04/01/08
Your second example needs a better business process I think Neon Samurai | 04/01/08
Keep it up guys, Im learing a lot. NT Dumphrey | 04/01/08
Is this an argument for open source? CG IT | 04/01/08
90%? Jaqui | 04/01/08
OS X to become open source? MarkGyver | 04/01/08
well Jaqui | 04/02/08
server market and patch times are good indicators Neon Samurai | 04/01/08
I'd say it's good security vs bad security in general Neon Samurai | 04/16/08
Security Policy sarah.kahler@... | 04/15/08
unfortunately true apotheon | 04/15/08

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



IT Manager's Tool Kit, Third Edition
Proven peer-authored advice and over 30 templates cover a variety of management topics to help you overcome staffing, financial, disaster planning and other technology challenges.
Buy Now
IT Help Desk Survival Guide, Third Edition
TechRepublic's IT Help Desk Survival Guide, Third Edition provides tools and recommendations to help you better manage help desk services, improve end-user support, troubleshoot frustrating hardware issues, identify quick fixes to vexing Windows problems, and help users make the most of Microsoft Office 2003.
Buy Now

Popular Sanity Saver Videos