Minggu, 07 Agustus 2005

Opportunity Costs of Security Clearances

Recently a friend asked me if I knew of anyone with a security clearance who has also passed a polygraph. It seems some agency (unknown to me) requires individuals with digital security assessment experience and the designated level of security clearances. I told my friend I did not know of anyone with that combination. He replied that the agency in question was ready to simply find someone with the necessary clearances, and teach them whatever skills were needed to perform the security assessment.

Something about this bothered me. I realized that this unknown agency was more concerned with the supposed trustworthiness of the assessor than with the skills he or she would apply to the agency's digital security interests. In other words, this agency valued a cleared yet unskilled person over a skilled yet uncleared person. In my opinion, that calculation defeats the purpose of the security clearance. Let's examine why.

A security clearance is designed to be a preventative measure that guards against a specific threat: rogue insiders. One of the most dangerous adversaries is someone on the inside, trusted with access to sensitive networks and data. It is important to ensure that people in such positions are worthy of the trust granted to them.

A security assessment is designed as another preventative measure. A security assessment enumerates vulnerabilities so they can be remediated or mitigated. These are the sorts of vulnerabilities one could expect an outsider, or more seriously, an insider, to try to exploit.

We have a situation where an unknown agency is willing to hire someone without the necessary skills to perform a very important task. That task is discovering vulnerabilities and recommending answers. This is not a job for a newbie, even if that newbie is "trusted." By putting itself in this situation, the agency has calculated that it values employing supposedly trusted newbie assessors over the act of discovering and fixing security holes.

Good vulnerability assessors or penetration testers are not born in boot camps. Discovering, validating, and remediating vulnerabilities requires more than knowing how to run Nessus or Metasploit. I doubt someone who has just learned to perform an assessment will deliver the report truly needed by this agency. The "work" by a brand-new "assessor" has just turned into a compliance item; the box has been checked, but who cares about the result?

This brings me to the broader question of clearances. What other trade-offs have been made in the interest of "trustworthiness," and at the expense of "security"? I know of people who could have made significant contributions to various projects, but had to wait months or years waiting for the appropriate security clearances. What damage was done, what missions were lost, what opportunies foresaken while the clearance process was followed? For other economics-trained readers, what is the opportunity cost of security clearances?

I read articles about problems with the clearance backlog, and these are the questions I do not see addressed.

Soccer Goal Security

I found this ad in Network Computing magazine. It did not address a security concern, but I thought the image was priceless. I see the goalie as representing most preventative security countermeasures. Player 9 is the threat. The soccer ball is an exploit. They are attacking an enterprise, represented by the soccer net.

The goalie is addressing the threat he expects, namely someone trying to score from the side of the net he is defending. In many cases the goalie is "fighting the last war;" perhaps the last time he was scored upon came from the side he now defends? The threat is smart and unpredictable, attacking a different part of the net.

The net itself (the enterprise) is huge. Not only is the front of the net open, the net itself is riddled with holes. A particularly clever attacker might see his objective as getting the ball in the net using any means necessary. That might include cutting the ball into smaller pieces and sending the fragments through holes in the net. Another attacker might dig his way under the goal and send the ball up through a tunnel. Yet another attacker might wait for the goalie to get tired, or drop his guard, or lose his vision at night. A really viscious threat would attack the goalie himself.

Network security monitoring is the device that captured this photo. We might collect indicators of any of the previously mentioned attacks. A traditional IDS or IPS might alert or try to block attacks (goals) passing from outside the front of the net to inside the front of the net. NSM data might reveal vibrations from tunneling under the goal, or small pieces or soccer ball being infiltrated through the back. Perhaps the goal itself is slightly raised in the back and the ball is just pushed under!

I would prefer to see a version showing an ice hockey goalie, but I would have to stage and photograph that myself. Apologies to my friends across the pond who call this "football."

Jumat, 05 Agustus 2005

Review of The Visible Ops Handbook Posted

Yes, you are reading that title correctly. After about ten weeks of no reading and reviewing, I have finally finished and reviewed a new book. It's The Visible Ops Handbook, and I gave it four stars. Amazon.com just posted my review:

"I read The Visible Ops Handbook because a friend told me his company was considering integrating the booklet's ideas into their product line. I had not heard much about the Information Technology Infrastructure Library (ITIL), but I was familiar with the problems caused by poor administration. I perform network incident response (IR), so I am often asked to solve problems in three days that clients have been confronting for three months or years. After reading Visible Ops, I will recommend it to every IR client who asks me to remediate intrusions."

Jennifer Granick Speaks

Jennifer Granick is the executive director of the Stanford Law School Centre for Internet and Society. I saw her work as counsel for the defense at the great hacker court at Black Hat 2003. She is now Mike Lynn's attorney, and she is posting her side of the story at her blog, The Shout. As of this morning there are three parts available. Here are interesting excerpts from each.

2 August 2005:

"His presentation did not give away exploit code, or even enough information for listeners to readily create exploit code. In fact, he said, Cisco employees who had vetted the information were themselves unable to create and exploit from his information. But Mike wanted to show people that (1) he knew what he was talking about and (2) he could do what he said could be done. He included just enough information to make those points. (Following the talk, other researchers who’d seen it agreed that it would take a lot of work to get from Mike’s presentation to an exploit.)"

"I was asking what exactly he was claiming that Lynn had done wrong. It appeared to be three things. First, ISS was claiming copyright in the presentation that Mike had given on Wednesday morning (Wednesday presentation). Second, Cisco was claiming copyright in the decompiled machine code that Mike obtained from the Cisco binaries and had included in his slides. And finally, Cisco was claiming trade secret in the information Mike had obtained by decompiling and studying Cisco source code."

3 August 2005:

"The more interesting claim was the trade secret claim. They were suing under California’s trade secret law. California has adopted the Uniform Trade Secrets Act, which is relatively broad. It prohibits the misappropriation of trade secrets...

So the first question is, “what’s the secret?” The complaint says that Lynn had Cisco source code, but he didn’t. He had the binary code. The binary isn’t secret, since Cisco sells it. Is the decompiled code secret? Is it the fact that there’s a vulnerability? Would the law allow a product flaw to be a protected trade secret? ...

I’m not sure there’s anything here of Cisco’s that the law would protect.

The second question is, even if there is some kind of trade secret, did Mike misappropriate it. Misappropriation means acquisition by improper means, or disclosure without consent by a person who used improper means to acquire the knowledge. The law specifically says that reverse engineering (decompiling) is proper, not improper, means...

It seemed that Cisco was claiming that Mike’s actions were improper because he violated the End User License Agreement (EULAs), which prohibited reverse engineering...

Lynn’s case presented the question of whether EULAs could subvert the legislature’s express desire to allow people to reverse engineer trade secrets...

[M]y best legal argument was that violation of an End User License Agreement is not a trade secret violation. Improper means includes a breach of a duty to maintain secrecy. But the EULA did not impose a duty to maintain secrecy. It was merely a promise not to reverse engineer. A violation of that promise is a violation of contract, but not an improper means of discovering a trade secret.

There was the possibility that Mike had information that was secret as to ISS and that he had promised to keep secret under his employment agreement or NDA. But the complaint didn’t identify any ISS trade secrets and Mike hadn’t disclosed any ISS information other than whatever was in the presentation, so this was a great legal argument."

4 August 2005:

"A friend told me that that there were two FBI agents looking for me and asking questions about Mike’s presentation. They were wandering around the floor of the Black Hat conference, wearing suits and couldn’t be missed. He told me that the agents said they “just wanted to talk” to people. “Talk? F*ck that,” I advised. Always judicious when dealing with law enforcement, I excused myself from my family meal, and ran back to the convention center to see what was going on.

To be continued..."

Update: Here is the final installment.

Congratulations to Shellphish

I'd like to congratulate Shellphish, winners of the 2005 Def Con Capture the Flag contest. The team was led by intrusion detection guru Giovanni Vigna from UC Santa Barbara. Giovanni posted news of the win, which includes pictures like the one shown above. I recommend reading the new Rob Lemos story Annual hacking game teaches security lessons for more information. Props to Kenshoto for running this year's game.

Kamis, 04 Agustus 2005

Cool F-15s over Cape Canaveral Photos

This is probably going to kill my bandwidth, but I thought you might like these two cool photos of F-15s flying over Kennedy Space Center during an unidentified Shuttle mission. I received them from a buddy who is still in the Air Force, but they may not be anything related to the latest mission. The photo at left shows an F-15 flying by the Space Shuttle as it sits on the launch pad. The photo at right shows an F-15 flying with the Shuttle roaring towards Earth orbit. I got a ride in the two-seat F-15E Strike Eagle as a cadet at the Air Force Academy in the summer of 1992.

Latest Book Pre-Reviews

I've had a ton of new books dropped at my door in the last week. Here are my initial impressions.

I finally got my copy of Visible Ops by virtue of attending a Tripwire Webinar. The Information Technology Process Institute published this book by Kevin Behr, Gene Kim, and George Spafford. I plan to integrate the Visible Ops methodology into the remediation section of my network incident response training classes. This guide is indeed a "handbook" -- it's only 106 pages and measures about 7" x 5" in size. The text inside is really small though. I would have preferred a bigger format like Ben Rothke's Computer Security: 20 Things Every Employee Should Know.

I noticed that page 10 references this 2001 Gartner story titled "NSM: Often the Weakest Link in Business Availability." The "NSM" is "network and systems management," not my beloved network security monitoring. The article contains one source of the "80%" quote I've mentioned before:

"Gartner research shows that an average of 80 percent of mission-critical application service downtime is directly caused by people or process failures. The other 20 percent is caused by technology failure, environmental failure or a disaster."

Next is a new Syngress book called Network Security Evaluation Using the NSA IEM by Russ Rogers, Ed Fuller, Greg Miles, Matthew Hoagberg, Travis Schack, Chuck Little, Ted Dykstra, and Bryan Cunningham (whew). I am interested in this book because my local ISSA chapter is offering training on the topic and I am attending. I haven't seen too many books on conducting formal vulnerability assessments, although I did like Ajay Gupta's Hack I.T..

Now we come to another Syngress book, with one of the more interesting covers I've seen in the last several years: Stealing the Network: How to Own an Identity by Timothy Mullen, Ryan Russell, Riley (Caezar) Eller, Jeff Moss, Jay Beale, Johnny Long, Chris Hurley, Tom Parker, and Brian Hatch (another whew). Syngress sure likes to assemble author teams and then give some poor leader author or editor the job of keeping this group on track! I liked previous "Stealing the Network" books because they push the envelope of publicly discussed threat vectors. Their fictional content allows for great creativity.

>Speaking of threats, I've been looking forward to a new Addison-Wesley book titled Rootkits : Subverting the Windows Kernel by Greg Hoglund and James Butler of HBGary and Rootkit.com. I'm glad the subtitle refers to Windows, as this is what Rootkits is about. I reviewed drafts of the book and I thought it was valuable. I think the book's genuine audience is fairly small, though. You have to really know programming and Windows to appreciate Rootkits, but the work you put into understanding the material will be rewarded.

If you're a programmer, but not ready to write rootkits, consider reading a new McGraw-Hill Osborne book called 19 Deadly Sins of Software Security by Michael Howard, David LeBlanc, and John Viega. All three are known for their own work on secure coding. Now they have teamed to write this sub-300 page treatise. The title reminds me of the X-number-step books popular in the business press. I wonder if we will start to see a similar number of security books based on the 11 Ways to Secure Your Enterprise or the 7 Security Gurus You Meet at Def Con?

Finally we have a new Wiley book titled Debian GNU/Linux 3.1 Bible by Benjamin Mako Hill, David B. Harris, and Jaldhar Vyas. I have been eagerly anticipating this book too. I don't forget to show Linux some love when it's the only OS I can install on some of my more exotic hardware. I've always thought Debian would be a great OS for servers as I highly value package management. This is the first real Debian book in four years, but I see another arriving next month from No Starch press. Everyone considering an alternative to Red Hat should given Debian a look.

I will probably kickstart my reading program by re-engaging with the shortest book on this list, and then working as time allows.