Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: newbie quetsions (on how much Snort sucks) |
|---|---|
| Date: | Fri, 7 Jan 2005 16:20:10 -0500 |
On Jan 7, 2005, at 1:03 PM, Dave Aitel wrote:
Martin Roesch wrote:
Dave,
I'm interested to know if you think Snort's stream reassmbler can't handle your 1-byte segment test *by design* or as the result of a *bug*?
I had to assume it was by design. Is it a bug?
Well, a Snort box is useful for network monitoring and to look for worms, even if you aren't using it to look for hackers. Most CIOs really don't care about hackers, and do care a lot about worms, so I think in some senses, the marketplace doesn't differentiate.
Likewise, a lot of the new technologies Sourcefire is working on are really cool.
Thanks.
That being the case, if you were in the "open source spirit" I would probably expect to see a bug report someplace like snort-users or snort-devel or even in my inbox rather than blanket statements like "Snort's stream reassembler is horrible because it failed my test case" in forums like this one.
Aside from the presentation from October on Immunity's web site, the public announcement on this list, and the many announcements to the CANVAS mailing list dating back at least a year, I had to assume Sourcefire had done the basic QA.
And of course, that's all assuming the attacker doesn't get a copy of your IDS engine and do real analysis to evade you, which I haven't done, and don't plan to do.
You could even take an extra step and actually help out (really getting into the open source spirit now!) by making a simple pcap of the failed session so that we could do the debugging for you and let you know what's going on if you didn't want to take an hour and figure it out yourself.
Everyone I've talked to has assumed it's a "feature" of the engine. I assumed you guys knew about it. I personally find the snort signature language nearly impossible to read, so I didn't push deeply into it.
Now, just off the top of my head I suspect I know what the problem is, but really, couldn't you do anything more than just show up here and talk about how badly we suck?It's my job to say when defenses are weak. That's all my company does. It's what people need to know when they're deploying defenses. The CRI is a reproducable test everyone can use for free, both customers and vendors. Neither I nor my company is taking money to bash or promote any particular IDS or IDS technology.
As for the fragmented DCERPC records, you're right, you got us there. Interestingly enough, we have made allowances for just this sort of thing in Snort by building several APIs that allow you to extend Snort's functionality in case something like this comes along that we didn't think of when we first developed Snort. In this particular case, I'd say we need to normalize the DCERPC calls which would indicate to me that a Snort DCERPC normalization preprocessor would be the appropriate route to solving this problem.
Immunity doesn't sell a Snort-based product.
If we did, we no doubt would have to go into Snort and build all of this. Realisitically it would make Snort a little bit faster, since it would be running one rule for each RPC bug, instead of six.
P.S. I've been working on a new stream reassembler since November that'll be introduced to Snort RSN. If you look at the new IP defragmenter that I implemented which was checked into Snort CVS back in November, you can probably get an idea where I'm headed with the new stream reassembler.
Is this even an IP-level flaw? I assumed it was somewhere else. It's funny that the major benefit of the Open Source development model claims is "lots of QA".
-Marty
-- Martin Roesch - Founder/CTO, Sourcefire Inc. - +1-410-290-1616 Sourcefire - Discover. Determine. Defend. roesch@sourcefire.com - http://www.sourcefire.com Snort: Open Source Network IDS - http://www.snort.org
-------------------------------------------------------------------------- Test Your IDS
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: newbie quetsions, Mike Paquette |
|---|---|
| Next by Date: | Re: newbie quetsions (on how much Snort sucks), Martin Roesch |
| Previous by Thread: | Re: newbie quetsions (on how much Snort sucks), Dave Aitel |
| Next by Thread: | Re: newbie quetsions, Mike Paquette |
| Indexes: | [Date] [Thread] [Top] [All Lists] |