Selasa, 09 Agustus 2005

Review of Snort Cookbook Posted

Amazon.com just posted my three star review of Snort Cookbook. From the review:

"I read the Snort Cookbook because I am always trying to learn more about Snort. I've read almost every book on the open source intrusion detection system, so I hoped the Snort Cookbook might offer advice not found elsewhere. Unfortunately, whatever good material appears in the book is overshadowed by outdated or outright bad advice. The best Snort book is still Syngress' Snort 2.1, so I recommend reading that title."

I suggest reading my review before considering buying this book. The authors are quality people who are trying to contribute to the security community, but there are some serious problems with Snort Cookbook. (I know these authors can write -- see Syngress' Ethereal Packet Sniffing for one example.) O'Reilly is batting 0 for 2 with its Snort books (remember Mangling (I mean, "Managing") Snort and IDS Tools?), but I expect its books on FreeBSD and IPv6 to be better.

Senin, 08 Agustus 2005

Review of Network Security Evaluation Using the NSA IEM Posted

Amazon.com just posted my four-star review of Network Security Evaluation Using the NSA IEM. I've mentioned the IEM before and I am scheduled for IAM and IEM training this month and next. I expect it to be good, as long as I can ignore all of the INFOSEC terminology. I cannot STAND the term "INFOSEC". Why all capitals? It's not an acronym! It must have Navy roots, e.g. SPAWAR. Argh. Anyway, from the review:

"I am a security consultant in the DC area, so I have heard the NSA IAM and IEM terms bandied about the Beltway. I read Network Security Evaluation Using the NSA IEM (NSE) to get a better understanding of the IEM side of the equation. I found the business process coverage of this book helpful, along with the general understanding of the goals of the IAM and IEM. For these two reasons you may find NSE helpful too."

Many of the authors of this IEM book work for Security Horizon, which provides IAM/IEM services and training. You may recognize founder Russ Rogers, who just published the latest issue of his quarterly Security Journal.

Speaking at National InfraGard Conference Tomorrow

If you're attending the InfraGard 2005 National Conference in Washington, DC this week, stop by my talk tomorrow at 1430. I will be presenting for one hour on network forensics. By network I mean traffic-centric, not "computer" or anything to do with hard drives. The material is based on a chapter on network forensics I wrote for my next book, Extrusion Detection.

Short Interview with Giovanni Vigna

I used a congratulatory email to Giovanni Vigna to ask about his team's recent Capture the Flag win. Here is the short interview.

Bejtlich (B): What sorts of skills were required to win Capture the Flag?

Vigna (V): The skills required are many, from network analysis (looking at the traffic and figuring out what the hell is going on) to code auditing (both source and binary).

B: Did you practice?

V: We didn't really practice, but I organize an international inter-university CTF competition every year, as part of my grad class on network security. Therefore, we had (maybe) more experience in that sense.

B: How did this year's contest compare to those of the past run by the Ghetto Hackers?

V: The contest was somewhat different than the one run by the Ghetto Hackers. The new things I like the most where the SLA (service level agreement, or something like that) and the "breakthroughs".

The SLA represented how much your services were up during the contest. Your final score was weighted by that. Pretty cool idea. The Ghetto Hackers had something similar, but it didn't take into account the whole duration of the game.

The breakthrough were sort of advisories that you could submit to the organizer when you found new vulnerabilities, so that you could get credit for being the first to find a specific flaw.

Finding flaws is a big part of the game and previously when you found a flaw you had a small window of advantage, because the exploit was very soon copied by others.

By using breakthroughs it was possible to give credit (and points) to the people who actually did the hard work.

B: What can you say about your team members?

They are mostly UCSB grad students and they are definitely the best people I have ever worked with... so I would say I got lucky!

David Bianco on Sguil at LinuxWorld Expo

Do you live near San Francisco, CA, and want to learn more about Sguil? If yes, you will like reading a new announcement at the Snort Web site. David Bianco will present "Network Security Monitoring with Sguil" tomorrow at 5:30 pm at the LinuxWorld Expo. It's all free.

Using md5deep

Thank you to Harlan Carvey for reminding me of Jesse Kornblum's md5deep. md5deep is a suite of tools to recursively compute a variety of hashes. It is not limited to the MD5 algorithm. In the example below I run the sha256deep tool to provide sha256 hashes of various files. The -r flag initializes recursive behavior, and -z says display file size before the hash.

bourque:/home/analyst$ sha256deep -r -e -z *

93506 1a6da6a2a849eb27fb7522939afab63ec59bcdb9412c2460fe611543b573d95f
/home/analyst/2005-041-santini_air/sample

111 43450978e07f87dfbc4918fec928209c54f4d5804367960fbde617e71ee50985
/home/analyst/2005-041-santini_air/sample.sha256

209.180.018.089.02001-156.023...: 391MB of 1405MB done, 00:01:22 left

The last entry shows sha256deep is busy computing the hash for a 1405 MB file. By passing the -e flag, I told the program to estimate time until hash completion. This is useful for processing large files. The resulting hash is eventually shown below.

1473577526 3f4eb24ae943dba4bdb1126540d309854824ac64ff6f288020c9c2bdc4793de9
/home/analyst/2005-041-santini_air/209.180.018.089.02001-156.023.170.238.02001

md5deep and related tools simplify maintaining forensic evidence as the program can rapidly produce hashes in an investigator-friendly format. There's also a FreeBSD port. For forensic applications, you would save the hashes to a file instead of standard output.

Minggu, 07 Agustus 2005

Review of Host Integrity Monitoring Using Osiris and Samhain Posted

It's true, I've reviewed a second book in one weekend. The review flood gates have opened. Amazon.com just posted my four-star review of Host Integrity Monitoring Using Osiris and Samhain by Brian Wotring. From the review:

"Host Integrity Monitoring Using Osiris and Samhain (HIM) is an excellent book on a frequently overlooked security discipline. Most people who hear about host integrity monitoring nod their heads and agree that performing it is a good idea. These same people usually don't implement HIM, and frequently cannot count the number of hosts, operating systems, and applications working in their enterprise. Thankfully, HIM provides a way to use open source tools to help remedy this situation. Consistent with the Visible Ops methodology, HIM provides guidance on how to keep track of host integrity."

I really liked this book, and I added it to the System Administration section of my Listmania Lists. I gave four stars because I would have liked to have read case studies on using each tool. Coverage of a related program, Radmind, for open source change management, would also have been nice.

PS: The drivers.exe program used to show loaded Windows kernel modules is available for free online in the Windows 2000 Resource Kit.