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: [Snort-sigs] rule with traffic in both directions |
|---|---|
| Date: | Mon, 25 Apr 2005 10:48:06 -0400 |
On Sat, Apr 23, 2005 at 11:08:05PM +0200, hans wrote:
tcp $EXTERNAL_NET any -> $SMTP_SERVERS 25 (msg:"SMTP RSET"; flow:to_server,established; content:"rset"; nocase; pcre:"/^rset/smi"; classtype:attempted-recon; sid:050313; rev:1; ) now i would like to modify this. it should only fire, if in the traffic some packets bevor, in direction from server to client the following text "Greylisting in action" as part of the stream can be found.
alert tcp $SMTP_SERVERS 25 -> EXTERNAL_NET (msg:"SMTP GREYLIST";
flow:from_server,established; content:"Greylisting in action"; nocase;
flowbits:set,smtp.greylist;)
alert tcp $EXTERNAL_NET any -> $SMTP_SERVERS 25 (msg:"SMTP RSET";
flow:to_server,established; flowbits:isset,smtp.greylist;
content:"rset"; nocase; pcre:"/^rset/smi";)
Brian
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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> |
|---|---|---|
| ||
| Previous by Date: | [Snort-sigs] New OSSRC Mailing List, Alex Kirk |
|---|---|
| Next by Date: | [Snort-sigs] Tony Laster/MOB/Degussa-Huels/US is out of the office., Tony . Laster |
| Previous by Thread: | [Snort-sigs] rule with traffic in both directions, hans |
| Next by Thread: | Re: [Snort-sigs] rule with traffic in both directions, hans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |