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] SID 4638 |
|---|---|
| Date: | Fri, 1 Jun 2007 22:06:28 +0100 |
On 01/06/07, Paul Schmehl <pauls@utdallas.edu> wrote:
--On Friday, June 01, 2007 22:19:27 +0200 rmkml <rmkml@free.fr> wrote:and do you have false alert if you add ip_proto:46; on this rules ?I don't think that's possible, is it? This rule is looking at the data in a packet *not* at the IP header. You would need to sort that out first, and I don't think snort has that ability. Or is the data going to include the protocol somehow? The tenth byte of the IP header would tell you what the protocol is, but I don't think snort has rule syntax that looks at that. (I could definitely be wrong.)
'Fraid so :) eg.:
/etc/snort/rules/bad-traffic.rules:alert ip any any -> any any
(msg:"BAD-TRAFFIC IP Proto 103 PIM"; ip_proto:103;
reference:bugtraq,8211; reference:cve,2003-0567;
classtype:non-standard-protocol; sid:2189; rev:3;)
"2.3.32 IP proto
The ip_proto keyword allows checks against the IP protocol header. For
a list of protocols that may be specified by name, see /etc/protocols.
Note the use of the ip protocol specification in the rule.
Format
ip_proto:[!] <name or number>;
alert ip !$HOME_NET any -> $HOME_NET any \
(msg: "IGMP traffic detected"; ip_proto: igmp;)"
so ip_proto:46; or ip_proto:rsvp; should do.
cheers,
Jamie
--
Jamie Riden, CISSP / jamesr@europe.com / jamie@honeynet.org.uk
UK Honeynet Project: http://www.ukhoneynet.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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: | Re: [Snort-sigs] SID 4638, Paul Schmehl |
|---|---|
| Next by Date: | Re: [Snort-sigs] SID 4638, Paul Schmehl |
| Previous by Thread: | Re: [Snort-sigs] SID 4638, Paul Schmehl |
| Next by Thread: | Re: [Snort-sigs] SID 4638, Paul Schmehl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |