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.




Network Security Snort-Signatures
[Top] [All Lists]

Re: [Snort-sigs] Connecting signatures?

Subject: Re: [Snort-sigs] Connecting signatures?
Date: Tue, 31 Aug 2004 12:40:31 +0200 (CEST)
On Sun, 29 Aug 2004, Erik Fichtner wrote:
On Sun, Aug 29, 2004 at 09:02:43AM +0200, Chris Kronberg wrote:
   I'm trying to find a way to write rules provding the following:
   Rule1 fires and sets another rule active, which fires on the
   following traffic (if the criteria are met). Rule2 should never
   fire without rule1 firing first.

Sounds like you want flowbits.

example:

alert tcp any any -> any any (msg:"rule1"; content:"FOO"; flowbits: 
set,saw_foo;);
alert tcp any any -> any any (msg:"rule2"; content:"BAR"; flowbits: 
isset,saw_foo;);

Great! Thank you very much. Works like charm. :-)

For more advanced rule progression like this, you might want to take a look at
Shoki (shoki.sourceforge.net).   It's very very young, but I think it will fill
the gap between Snort and NFR if only people give it a little attention.
(and you know, no one says you have to have ONLY ONE IDS on your network...)

True. I'll take a look at Shoki.

  Cheers,


Chris Kronberg.



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs

<Prev in Thread] Current Thread [Next in Thread>