Tao of Security Monitoring
The book starts with an fun, exciting background section introducing security, addressing both risks and the need to monitor networks and systems. Topics such as the classic "threat x vulnerability x value = risk" formula to threat modeling and limitation of attack prevention technologies are included. A nice thing on the process side is the "assess -> protect -> detect -> respond" loop, defining at a high level a reasonable security process for an organization. The threat-analysis material seems to have military origins, but is enlightening for other types of organizations as well.
The concept of network security monitoring, as in the book's title, is introduced as being 'beyond IDS' -- with some coverage on why IDS deployments fail and what else is needed (NSM process and tools, that is).
Bejtlich makes the important, rarely appreciated point that intruders are often smarter than defenders. It presents a stark contrast to the "staying ahead of the hackers" theme of many security books, an approach which makes no sense in many cases as the attackers are in fact far ahead to start with. The NSM approach will indeed work against advanced attackers, albeit (as the author admits) at a high resource cost to the defending organization. Such 'worst case' scenario preparations are extremely rare in other security books. Detecting such intruders is covered as part of a breakdown of the compromise process into five phases (from reconnaissance to using/abusing the system).
Another gem is the idea of a "defensible network": not "secure" or "protected," but defensible. A defensible network is one that can be watched, is configured to limit possible intruder actions, can be kept up to date, and runs only the minimum necessary services. A network so configured assures that if bad things happen there, they can be handled effectively.
I liked how the tools are covered in the book. The explanation of each tool is not simply a rephrasing of that tool's manual, but rather presents the tool's best use in the context of the entire system. While the paradigm "products perform collection, people perform analysis" might grow stale as the products get smarter, having training analysts still is one of the best investments in security. On the process side, the book covers complete analyst training. People are indeed the critical component of NSM, since most of the decision-making relies on trained analysts and their investigation, classification and escalation of alerts.
A chapter on netflow and other types of session/connectivity data presents considerable interest to those monitoring networks. Example case studies show how such data helped identify intrusion action that did not directly produce IDS alerts. Same applies to traffic visualization and statistical tools that enrich the IDS data and can sometimes provide early anomaly indications as well.
NSM event-driven analysis in Tao of NSM is centered on Sguil - a new GUI frontend to NIDS, session and other context data, facilitating easy and effective event classification and escalation (if needed).
Emergency NSM vs ongoing monitoring NSM procedures are also covered in the book. Even if an organization does not maintain an ongoing security monitoring program, it can still benefit from NSM that is deployed after a suspected intrusion.
Attacks against NSM processes and technologies also fill a dedicated section. Such attacks include intruder tools as well as attacks against the human (such as simply attempting to overwhelm the analysts) and process components of the NSM.
The book should be required reading for any security professional, and for those wishing to enter the field. It helps to broaden the horizons of seasoned professionals as well as educate the beginners in monitoring techniques. While the value of NSM as an approach can be debated in modern organizations (where tuned sensors and skilled analysts are an exception rather than the rule), the book is a superb security resource even for those who do not choose to implement NSM at the moment.
info-secure.org maintainer Anton Chuvakin, Ph.D., GCIA, GCIH is a security strategist and author of Security Warrior . You can purchase Tao of Security Monitoring from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
This seems like common sense. Shouldn't all network admins be doing this anyway?
Dude, I already downloaded SP2. I'm invincible now. Looks like this guy was just a little late with the book!
I bet you were too tired the next day to realize your network had been 0wned which was Mr.Bejtlich's plan all along.
Naked Networks perhaps...
His other book Incident Response covers what to do once you've been attacked.
Hmm. I wonder if it has a chapter on finger pointing and avoiding blame?
Maybe he lost the sleep because after reading it he realized how vulnerable his network was.
Thanks to the internet, we can now all die alone together! -SomeWoman
"If you're serious about security and aren't afraid of the mailing lists, OpenBSD is really the only way to go."
- Richard Bejtlich
. . . no longer clever to use the word "Tao" or "Zen" in your book title.
Thank you for your attention regarding this matter.
-Peter
no no.. linux users just don't have sex.
but this is where it's at..
I have been reading this authors blog for a while now...
If you are in to BSD/Security, you should really check it out.
I'am also a application maintainer of some web application. During mine holliday the application started to have some random problems. When I returned I begin the investigation to the cause.
I Couldn't reproduce the errors, so it took some time to get futher with finding the cause. After some time I looked at the eventviewer (Yes it is Win2000 and not linux) and saw that the computer rebooted on average twice a day. The error messages said "Unexpected reboot". The sysadmin could find a cause also. In most cases this error was caused by a hardware error. So what I did is download etherreal and monitor the network traffic from the server. (This shows how nice opensource is. You just download in for free as in bear. If there was not FOSS i couldn't do this). I saw some strange network trafic to port 445 on the computer. I also saw that it uses a specific function. When I googled with this function I saw that there was I bug in the 'lsass' program regarding this bug. Then I checked the network traffic from the source host and saw some strange network traffic to outside the organisation on port 445, what is verry strange. After the investigation of the computer (desktop) they found the pedodo (I think it is called this way) trojan. (It collect passwords and creditcard numbers)
Now we patched the server (it was only SP4) and every thing was fine. This solved the problem. So I think this solved the problem. Mine conclusion was that this trojan disturbed the server.
This showes how fucked windows is and how great foss is.
- Stealing the network: How to Own a Continent
This one is co-authored by a bunch of well know hackers/crackers ieIt's for real. I normally don't go for these things but...Free ipods (click here to get yours) .
So my plans to publish "The Tao of Zen" should be put on hold? "The Tao of Zen" - double whammy. How about "The Zen of Tao?"
That's not true, Linux users do it in clusters...and they don't have to pay.
Where would we be if Wheel had hid her round rock in a cave instead of showing everyone how it rolls?
Shameless Plug: Check out SGUIl if you have a chance. http://sguil.net/
------------ scottder
I know I've said this before, but that particular report of a "security problem" (why that's in quotes, I'll get to in a moment) in the Linux kernel is an excellent illustration of the difference between Microsoft's (and presumably other proprietary vendors) attitude to "security" vs. most open source projects.
This problem can be simplistically summarized thusly: "Someone who can log into a linux system can conceivably run a malicious program that might crash or lock up the Operating System". In Linux, this is characterized as a "Security Problem".
Now, think about it - if you called Microsoft (picking on them since that's the proprietary vendor we're talking about at the moment) and said "Hey, I have a program that when I run it, it crashes the system"...what kind of response will you get? "Well, don't run that program. It's obviously either defective or a trojan." Which would be the truth. But they have historically not considered that a problem in the OS AT ALL, let alone a security problem. Remember all those years ago when they claimed that most windows crashes are caused by anti-virus software?...)
Yes, FOSS also has flaws. Sometimes even serious ones. But it usually seems like FOSS projects more readily and more quickly address those flaws than proprietary ones do.
Hacker Public Radio is our Friend
I hate when people assume they're smarter than I am. I hate those "For Dummies" and "For Idiots" books, because I am in no way a dummy nor an idiot. I simply don't have the same information.
Tell me I'm misinformed, tell me I don't know everything, I'll agree with you. Tell me that some hacker is smarter than I am, and I'll tell you that you need to find a new definition of smarter. The only thing that hacker might have on me is knowledge of a few things I don't.
Anyway, rant over, and this actually sounds like a good book otherwise. I'll probably pick it up.
My blog. Good stuff (when I remember to update it). Read it.
to the bible of all IDS analysts, Network Intrusion Detection by Stephen Northcutt & Judy Novak (ISBN# 0735712654)?
Would you consider this a compliment to, or overlap of aforementioned text? If so, in what ways?
akad0nric0
This sentence no verb.
Guess I won't be buying that book.
Free bears? What next, Armed bears?
I haven't slept for ten days!
.
.
.
Because that would be too long.
Things like fast-spreading infectors that got past your A/V proxies because they got to them before the vendor's new pattern file did.
Attempts by employees to download things like Back Orifice for use as revenge tools.
Engineering failures.
Misconfigurations.
Vendor screwups.
Stealthy host sweeps that dribble one TCP/21 packet every 75 minutes into your Internet-facing DMZ. No, that last one totally blew by our worthless network IDS; we ended up blackholing the IP at the border router. No choice, our DMZ ftp server used wu-ftpd.
Porn download attempts.
Boxes in your trusted network infected by viruses.
I spent twenty months doing log monitoring. I caught all these event types and more. There is a whole wide, wacky wonderful World Of Hurt out there that you can duck or mitigate if you just monitor your logfiles. And most shops never really do.
27.
A good traveler leaves no trail.
A good speaker leaves no argument.
A good planner needs no sketch.
A good door needs no latch.
A good binding needs no rope.
Thus the sage is good at helping, so no one is rejected;
Good at saving, so nothing is wasted.
This is called Stealing the Light.
Good is the model for bad, but bad is the origin of good.
This is not OT, but I know it's probably irrelevent for most of you, but what is it with the abuse of people who write "The Tao of Management" and "The Tao of Security MOnitoring" and "The Tao of Funds Management" and "The Tao of trying-to-use-the-word-tao-to-seem-really-cool"?
As a Taoist, I'm more than a little bugged that the word Tao is used haphazardly by every joe shmoe to title their new instructional book.
Using the word without understanding it or true reverance is almost sacreligous for me.
The sound, my friend, is *fwapfwapfwapfwapfwapfwapfwapfwap*
"Never attribute to malice that which can be adequately explained by stupidity." -- Hanlon's Razor
Maybe when you have a little less ego and a bit more Tao in you you can come back and do something Lao Tzu would have appreciated.
Laugh at it.
I don't want knowledge. I want certainty. - Law, David Bowie
"Here is a really cool security book that made me lose half a night's sleep when I first got it."
I read that book, it wasn't that scary...
Clusters? So that's what you kids are calling a circle jerk now?
Has someone gotten married in some unknown country where men take their wives' family names? Or are was your comment in response to a parent that has been modded into oblivion?
At any rate, Incident Response is an excellent book, whoever it's by.
What is the robbing of a bank, compared to the founding of a bank? -- Bertolt Brecht