Selasa, 08 Agustus 2006

Review of PGP & GPG Posted

Amazon.com just posted my five star review of PGP & GPG by Michael Lucas, one of the best tech authors around. From the review:

PGP & GPG is another excellent book by Michael Lucas. I thoroughly enjoyed his other books due to their content and style. PGP & GPG continues in this fine tradition. If you are trying to learn how to use PGP or GPG, or at least want to ensure you are using them properly, read PGP & GPG.

Note: Is anyone using GnuPG with a smart card like this one from Kernel Concepts?

Using BSDStats

If you want to have hardware manufacturers and applicationn vendors take you seriously, it helps to have metrics. Today I learned of BSDStats, which uses the sysutils/bsdstats shell script to collect information on hosts. I decided to try it and see what data is collected.

First I installed the script.

orr:/usr/ports/sysutils/bsdstats# make install
...edited...
===> Installing for bsdstats-2.0_5
===> Generating temporary packing list
===> Checking if sysutils/bsdstats already installed
/bin/mkdir -p /usr/local/etc/periodic/monthly
/bin/cp /usr/ports/sysutils/bsdstats/files/300.statistics /usr/local/etc/periodic/monthly
/bin/cat /usr/ports/sysutils/bsdstats/pkg-message

********************
To enable the port, edit or create /etc/periodic.conf and add this line:
monthly_statistics_enable=yes

To enable device reporting, add this line:
monthly_statistics_report_devices=yes

To run it manually the first time, just run it as:
/usr/local/etc/periodic/monthly/300.statistics

To view current statistics, go to:
http://bsdstats.hub.org
********************

===> Registering installation for bsdstats-2.0_5

I looked at /usr/local/etc/periodic/monthly/300.statistics and saw it was a shell script. To enable it I added the lines to /etc/periodic.conf as recommended above. Next I set a HTTP proxy environment variable and ran the script.

orr:/home/richard$ HTTP_PROXY=http://192.168.2.12:3128; export HTTP_PROXY
orr:/home/richard$ env | grep HTTP
HTTP_PROXY=http://192.168.2.12:3128
orr:/home/richard$ sh -x /usr/local/etc/periodic/monthly/300.statistics
+ [ -r /etc/defaults/periodic.conf ]
+ . /etc/defaults/periodic.conf
+ periodic_conf_files=/etc/periodic.conf /etc/periodic.conf.local
+ local_periodic=/usr/local/etc/periodic /usr/X11R6/etc/periodic
+ daily_output=root
+ daily_show_success=YES
...edited...
+ /bin/hostname
+ HN=orr.taosecurity.com
+ /usr/bin/uname -r
+ SYS=6.1-RELEASE
+ /usr/bin/uname -m
+ ARCH=i386
+ /usr/bin/uname -s
+ OS=FreeBSD
+ /usr/bin/fetch -qo /dev/null http://bsdstats.hub.org/scripts/getid.php?hn=orr.taosecurity.com
&sys=6.1-RELEASE&arch=i386&opsys=FreeBSD
+ IFS=

+ /usr/bin/fetch -qo /dev/null http://bsdstats.hub.org/scripts/clear_devices.php?
hn=orr.taosecurity.com
+ /usr/sbin/pciconf -l
+ /usr/bin/grep -v none
+ echo agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00
+ awk -F@ {print $1}
+ DRIVER=agp0
+ awk {print $4}
+ echo agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00
+ cut -c12-15
+ VEN=8086
+ echo agp0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00
+ awk {print $4}
+ cut -c8-11
+ DEV=7190
+ /usr/bin/fetch -qo /dev/null http://bsdstats.hub.org/scripts/report_device.php?driver=agp0&vendor=8086
&device=7190&hn=orr.taosecurity.com
+ echo pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 hdr=0x01+ awk
-F@ {print $1}
+ DRIVER=pcib1
+ echo+ awk+ cut pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086
rev=0x03 hdr=0x01 {print $4} -c12-15
...truncated...

As you can see, various aspects of the system are being posted to a PHP script at bsdstats.hub.org. These populate the release and driver statistics.

Consider running this script to let vendors know you're using their products.

MSSPs: What Really Matters

Bamm Visscher pointed me to this Security Incite post about the new NWC article Managed Security Service Providers by Joanne VanAuken. Ms. VanAuken managed to get five MSSPs -- BT Global Services, Cybertrust, Internet Security Systems, LURHQ and SecureWorks -- to answer. The others?

VeriSign Managed Security Services initially accepted and did an outstanding job completing its RFI, but backed out because of the risk of exposing too much confidential data by publishing its RFI responses online (a requirement to participate). Equant also initially accepted but could not complete our RFI in time due to its rebranding to Orange Business Services. MCI, which has partnered with Verizon Business, declined. Accenture, AT&T Networking Outsourcing Services, Capgemini, Computer Sciences Corp. (CSC), Connetic, EDS, Getronics, IBM Global Services, Perimeter Internetworking, Science Applications International Corp (SAIC), Solutionary, Sprint, Symantec, TruSecure, Unisys and VigilantMinds didn't respond to our invitation.

Symantec didn't respond? And why wasn't Counterpane invited?

Here are a few fun excerpts from the story.

The million dollar question is, Which will be the safest choice? Investigate the financial health of your MSSP. If a provider meets your SLA (service-level agreement) and technical requirements but its business road map and financial health are questionable, walk away.

"The safest choice?" What about caring if the MSSP can deliver?

[MSSP] vendor relationships mean MSSPs often receive advance notice of worm and viruses outbreaks...

Vendor to MSSP: "Hey, a worm outbreak is coming. Watch out!"
MSSP to Vendor: "Ok, thanks."
This doesn't happen. If anything, the MSSP might be lucky to see worm activity and then notify its customers.

All vendors indicated a focus on preventing, rather than detecting, intrusions... In the rare event that an MSSP does suspect a compromise, all vendors said that escalations are immediately executed while potential damage is contained through every countermeasure available until both the MSSP and client agree on whether a compromise actually occurred.

Of course "prevention" is king. Unfortunately, focus on "prevention" often drowns out considerations for detection. As a result, compromise is seldom "rare."

After evaluating five RFI proposals, we gave our Editor's Choice to Internet Security Systems because of it wealth of service offerings, outstanding SLA agreements, highly skilled personnel and bundled pricing options.

"Highly skilled" may indeed be true, but how does NWC know this?

My overall assessment of this "review" is that was a large amount of work for NWC to write the RFI (.doc) and for the vendors to respond. In the end, the process identified many plausibly necessary conditions for running a good MSSP, but none are sufficient to assess if the MSSP is any good at its core task: helping customers resist, detect, and respond to intrusions. (I no longer say "prevent" intrusions. "Resist" seems more accurate when prevention eventually fails.)

Take a look at the Report Card to see how the MSSPs were rated. 25% is assigned to "Service Levels." 20% is "Price." 10% is "Environmental," like physical security and facility features. That's 55% of the score based on non-technical metrics. The remaining areas, "Support" at 25% and "Security Practices" at 20%, dance around the core issue. Items like "Technical Expertise/experience," at 10%, appears to have been measured by "certifications." Throw that out the window. A portal at 7%? Again, irrelevant. Aside from 4% for equipment compatibility and 4% for research organization partnerships, the remaining metrics are all based on plans, policies, and other paperwork.

This is similar to the football analogy I offered last month. Think about the difference in focus. From the review:

[Two MSSPs] earned an edge by describing their power, air conditioning and fire-prevention setups in granular detail, including such items as contracts with diesel fuel suppliers, audits of power performance, the target temperature for SOC (security operations center) rooms, and the time (in seconds) allowed after a smoke alarm sounds for employees to leave the room before the fire-suppression system kicks in.

Great -- will these MSSPs notice if I use stolen credentials to access a monitored customer resource, install a back door, and remove proprietary information using a stateless covert channel?

It's easy for me to criticize, you might say. How would I have done such a review? Well, I have done them. Sometimes I review MSSPs, and sometimes I review in-house teams. My company's NSM Assessment and Evaluation is a two-phase process that works for in-house or outsourced security teams. I use a self-modified version of the NSA-IAM for the Assessment and the NSA-IEM for the Evaluation. The NWC review would be similar to the Assessment, since it is non-technical and hands-off. The Evaluation is technical and hands-on, and tests how well all the MSSP people, products, and processes actually perform.

I've also trained some of the analysts at VeriSign (ex-Guardent), and I've met or spoken several times with the folks at LURHQ and Verizon (ex-NetSec). I also know people at many of the other MSSPs.

If you want to know more, email me: richard [at] taosecurity [dot] com.

As far as Mike Rothman's views go, he says this:

Yes, MSS is a Commodity. So what... There seem to be very little outward differentiation and the biggest decision point is probably how long it takes you to wade through all of the pricing and packaging options. But this is good news, in that the business is mature enough to have tight operational processes - which is pretty much what you want to see in an outsourcing situation.

Ugh, that's the problem. If there's no outward differentiation, then what's being measured may be irrelevant to the core problem. As Bamm Visscher asks, "Is your MSSP just a 'Security Device Management Provider'?"

Senin, 07 Agustus 2006

New Book Arrivals

Several books arrived at my door last week. I have time to add two to my reading list, after which I will read and review them. The others I will skim and not review, since I don't review books I don't at least try to read fully.

The first of the two books to make my short list is Syngress' Combating Spyware in the Enterprise. This book does not appear to have a lead author, but it has a technical editor and seven contributors. Sometimes this is a recipe for disaster. However, I want to read this book because it is the first on the spyware topic from one of my mainstream publishers. I also liked Syngress' related books Inside the Spam Cartel, Phishing Exposed, and Software Piracy.

The second book I plan to read is another Syngress book that I did not expect: How to Cheat at Securing a Wireless Network. This is another book in the Syngress format, with one lead author (Chris Hurley) and a ton of contributing authors. I gave Chris Hurley's previous book WarDriving three stars, but I hope this one is better.

I don't plan to read the following, but I may skim them for useful information. You can expect me to not sell these on eBay (as I'm sure some other review copy recipients do!) but I will probably give them away at NoVA Sec or ShmooCon gatherings.

Staying with the "cheating" line we come to How to Cheat at Managing Information Security. I don't plan to read this book because it seems to repeat a lot of information I already know. If this book concentrated on management issues, I would probably read it. Instead, I see short discussions of technical material across a wide range of issues. The book is probably aimed for managers who need to know some security, not security people who need to know some management. If you prefer books written by one author, though, this book is for you -- Mark Osborne wrote it.

Incidentally, I'm not a big fan of a "How to Cheat" theme, since I graduated from a military academy with an Honor Code. Staying with the management theme we come to Syngress' Syngress IT Security Project Management Handbook. This book is similar to the previous one, since Susan Snedaker wrote it, with Russ Rogers as technical editor. I'm not sure how much of this book I can skip and still feel comfortable about reviewing it. While there is more management than the previous book, I still see plenty of "tech overview" chapters. We'll see.

The last book is Cisco Press' Advanced Host Intrusion Prevention with CSA. I don't use Cisco host-based products. This book looks like a good manual for Cisco Security Agent, but I don't need to read one.

By the way, while searching I found this upcoming book: Designing BSD Rootkits by Jospeh Kong. I found this related Phrack article by the same person. I can't wait to read this book. Since that link just went did, here is another.

Someone Explain This Cartoon

I'm going to withhold commentary until I hear some other opinions on this cartoon. Would anyone care to share their interpretation? I emailed Bruce Schneier to get his ideas as well.

Sabtu, 05 Agustus 2006

Review of Building an Internet Server With FreeBSD 6 Posted

Amazon.com just posted my 200th technical book review. That's roughly 200 books since May 2000.

I did review one book in August 1999, and then nothing until May 2000. Since then I have reviewed fairly regularly -- 17 in 2000, 42 in 2001, 24 in 2002, 33 in 2003, 33 in 2004, 26 in 2005, 23 so far in 2006.

If you wonder why my "Reviews Written" count is 208, I commented on 8 items that were not technical books.

For my 200th title I read and reviewed a self-published book by Bryan Hong called Building an Internet Server With FreeBSD 6. I gave this book four stars; from the review:

I've been using FreeBSD in production environments since early 2000. I've also written articles on FreeBSD administration for magazines like Sys Admin. One of my favorite aspects of FreeBSD is its ports tree, which currently offers over 15,000 applications. Although the ports tree greatly simplifies installing software on FreeBSD, there's more to most programs than just installation. Bryan Hong's "Building an Internet Server With FreeBSD 6" (BAISWF6) helps readers take those few crucial steps past the ports tree, into the world of functional, deployed services. If you need a quick guide for a variety of popular open source software on FreeBSD, BAISWF6 is for you.

As of this blog post I am ranked 392 and have 3408 helpful votes, for an average of about 16 helpful votes per review. If you like my reviews, please mark them helpful. It's the only feedback I receive, and Amazon certainly doesn't pay me! I appreciate it.

Thanks also to Bryan Hong for sending me a review copy of his book. Right now his Amazon.com Sales Rank is 191,531 and his Lulu Sales Rank is 869. Let's see if we can sell more copies of Bryan's book!

The Old Man Still Has It

Last week you may have seen this Packet Analysis Challenge posted by at the SANS Internet Storm Center. I downloaded the trace and looked at it using Tcpdump. After about five minutes I recognized the pattern as one I wrote about in late 1999 and presented that paper at SANS 2000.

I submitted a link to my paper as an explanation, and Lorna wrote back

Yes, this traffic falls into the category of the one you discuss in "A Final Case". The traffic I posted was sumitted to us by a university. You are the first person to get this right! Nicely done!

I also wrote about this patten in the DNS chapter in The Tao of Network Security Monitoring.

If you want to read SANS' explanation of the trace, please read today's solution.