Kamis, 11 Agustus 2005

Speed Cameras and Other Items

Thanks to Bruce Schneier for pointing me toward a story on weaknesses in MD5 killing a case involving speed cameras. Excerpts from this story provide some details:

"Sydney [Australia] magistrate Lawrence Lawson threw out a speeding case after the RTA [Roads and Traffic Authority] said it had no evidence that an image from a camera had not been doctored.

Mr Lawson had adjourned the case in June, giving the RTA eight weeks to produce an expert to prove pictures from a speed camera on Carlingford Rd, Epping, had not been altered after they were taken.

But RTA lawyers yesterday told Hornsby Local Court they could not find an expert and the case was thrown out...

The case revolved around the integrity of a mathematical MD5 algorithm published on each picture and used as a security measure to prove pictures have not been doctored after they have been taken.

Mr Miralis argued that the RTA had to prove the algorithm it used was accurate and could not be tampered with."

Good grief. The prosecution in the case appears to have lost because they framed the issues incorrectly. If the battleground was the lack of collisions in MD5, of course the RTA would lose. Determining what is required to tamper with speeding camera images is a completely different subject.

This case exemplifies the difference between capturing packets and performing network foreniscs. Most people do the former, which opens their methodology and network-based "evidence" for questioning should it be scrutinized by a clueful defense attorney. One of the reasons I have introduced new material on network forensics in my latest book and training is to elevate the network forensics practice to the point where we have a chance of surviving a clueful defense attorney.

Speaking of forensics, those of you who like your forensics of the Windows host-based variety should check out a new post by Harlan Carvey on his Forensic Server Project.

Those of you who argue with me on the meanings of security terms will enjoy this post at Gunnar Peterson's blog. His Sherlock Holmes post was intriguing as well.

Update: A forensics expert who wishes to remain anonymous sent me a link to the following:

Computer Records and the Federal Rules of Evidence

"Computer records can be altered easily, and opposing parties often allege that computer records lack authenticity because they have been tampered with or changed after they were created...

The courts have responded with considerable skepticism to such unsupported claims that computer records have been altered. Absent specific evidence that tampering occurred, the mere possibility of tampering does not affect the authenticity of a computer record."

Rabu, 10 Agustus 2005

Review of IPv6 Network Administration

Amazon.com just posted my five-star review of IPv6 Network Administration. Wow, this was a great book. I've added it to my Telecommunications recommended reading list. From the review:

"IPv6 Network Administration is an absolutely first-rate technical guide. It is refreshing to read a book that doesn't waste time by assuming the reader has no networking background. IPv6 Network Administration achieves just the right balance between history, theory, and practical application to serve the needs of administrators and interested readers. If you've been waiting for the right resource from which to learn IPv6, this book is it."

The authors maintain a blog to infrequently post IPv6 issues. I plan to give 6to4 a try. The authors discuss 6PE, which I'd like to understand better. They also mention SEcure Neighbor Discovery (SEND) to mitigate link-layer attacks.

Don't Forget Honeyclients

If you read the recent SecurityFocus article Microsoft's "monkeys" find first zero-day exploit, you might notice it did not mention work done on an open source honeyclient project. The HoneyClient.org project is led by Kathy Wang. She provides an open source implementation that you might find interesting.

The idea of both projects is to have vulnerable (and perhaps those presumed not vulnerable) applications connect to various servers on the Internet. When visiting some of the shadier portions of the Internet, those clients (i.e., Web browsers) may be exploited. Analyzing the method of exploitation advances the knowledge of defenders, which is beneficial. Rather than waiting for intruders to attack vulnerable services or clients, pre-emptively sacrifice vulnerable yet disposable clients for the good of Internet security research.

OpenPacket.org Initial Announcement


I would like to announce that I am working on a project called OpenPacket.org. The mission of OpenPacket.org is to provide quality network traffic traces to researchers, analysts, and other members of the digital security community. One of the most difficult problems facing researchers, analysts, and others is understanding traffic carried by networks. At present there is no central repository of traces from which a student of network traffic could draw samples. OpenPacket.org will provide one possible solution to this problem.

Analysts looking for network traffic of a particular type will visit OpenPacket.org, query the OpenPacket.org Database for matching traces, and download those packets in their original format (e.g., Libpcap, etc.). The analyst will be able to process and analyze that traffic using tools of their choice, like Tcpdump, Snort, Ethereal, and so on.

Analysts who collect their own traffic will be able to submit it to the OpenPacket.org database, assuming it is suitable for public review and meets guidelines to be announced later.

I am currently working with some friends and colleagues on this project. We hope to have OpenPacket.org up and running before the end of the year. At present the OpenPacket.org domain name is "parked," and soon it will simply forward to this blog entry. As we enter Alpha and then Beta status, more will be available through that domain name.

Bleeding Snort Hosts bait-and-switch Snort Enhancement

The Bleeding Snort project announced a new Snort preprocessor called bait-and-switch. It's currently available as a patch to Snort 2.4.0. Snort must be running in inline mode, and the current implementation is Linux-specific as it uses SNAT and DNAT features of IPTables.

bait-and-switch lets inline Snort users create rules that redirect traffic when bait-and-switch rules are triggered. The idea is to send suspicious source IPs to another host (perhaps a honeypot) when their actions trigger specially designed rules. I think this is a novel idea but I do not see it being used in most production networks. Will Metcalf says his implementation is a rewrite of an idea by Jack Whitsitt (aka jofny) of Violating.us. I expect to see resources like this used in honeynets, research locations, and tightly-controlled, high-value networks where policies are defined well enough to justify triggering redirection.

Update: Here's the original Sourceforge site.

More Mildly Condescending Comments

Pete has responded to my previous post. Pete says:

"I actually believe the REAL threat exists. While everyone else works on the manufactured stuff, I want to protect my assets against true threats.

Regardless of my level of confidence, however, I don't claim to have evidence and I refuse to manufacture it. And I find general 'cloak and dagger' statements that security professionals make to be lacking any impact whatsoever...

If you really do know and can't say, why would you hang the entire Internet out to dry by keeping in-the-wild exploits against undercover vulnerabilities a secret while you encourage the wheel spinning of research and disclosure?"

Many readers in the DC metropolitan area will recognize that I am in a delicate position here. All I can really do is point to some publicly available documents to try to change Pete's world view. He can then make up his own mind. These are all open source, Internet-available documents hosted on completely public .mil sites for the benefit of visitors.

That's all I can say on the matter. I'm not trying to be devious, but there are lines that cannot be crossed. I hope Pete appreciates the picture of Gamera I managed to find for him.

Selasa, 09 Agustus 2005

Ptacek v. Lindstrom

There's a major battle over vulnerability and exploit disclosure occurring between Thomas Ptacek and Pete Lindstrom. I've linked the first post in each side of the debate. I don't know which one should be Godzilla or Mechagodzilla, but I liked the photo at left.

I think each side makes some valid points. I agree with Tom that vulnerability disclosure has resulted in elimination of many security problems. I agree with Pete that, in some sense, nothing has really improved, as victims are still being compromised. In the end I would lean more towards Tom; clueful people have a better chance of defending their networks, and at least knowing what is happening if their preventative measures fail. Remember that ten years ago their was no Snort, no Ethereal, no Nessus. Fifteen years ago there was no Argus, and no FreeBSD! Would you believe that Tcpdump is over eighteen years old though?

Tom does make an excellent point regarding cryptanalysis: why is it ok to analyze and break crypto algorithms, but supposedly not security software? Could it be that the people who really need strong crypto, like .gov and .mil types, know that bad guys are always trying to break the good guys' crypto?

If we are to believe Pete, we would not recognize this fact. Because Pete doesn't have first-hand knowledge of the sorts of research that occurs "in the shadows," he is quick to poke fun at people like Adam Shostack who say "We've always known that there's lots of exploit code for unannounced vulnerabilities out there." Pete and friends, there are people who have developed techniques months, and in some cases, years, before they appear in mailing lists or Black Hat talks.

With regard to discussions on specific new vulnerabilities and exploits, all I can tell you is "those who say don't know, and those who know can't say."