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 to detect three strings? |
|---|---|
| Date: | Thu, 05 May 2005 17:03:11 -0400 |
Rich Adamson wrote:
Can someone help me write a rule that would detect when three strings occur within the same tcp packet/stream? Strings: "John" "Doe" "12345" in any order within the same tcp packet. (Since presumably this is a data record, each string is expected to be in close proximity to the others.)
Just use three content statements in the same snort rule, in the order specified. You can use distance and within keywords to restrict where in the packet it searches, relative to the last match. http://www.snort.org/docs/snort_htmanuals/htmanual_233/node21.html#SECTION00457000000000000000 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ 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] rule to detect three strings?, Rich Adamson |
|---|---|
| Next by Date: | [Snort-sigs] Bleedingsnort.com Daily Update, bleeding |
| Previous by Thread: | [Snort-sigs] rule to detect three strings?, Rich Adamson |
| Next by Thread: | Re: [Snort-sigs] rule to detect three strings?, Brian |
| Indexes: | [Date] [Thread] [Top] [All Lists] |