[Snort-users] Relation between events and rules set.

bmcdowell at ...7861... bmcdowell at ...7861...
Thu Apr 24 13:18:12 EDT 2003

I'm a rules-newbie, but could you not just Find-Replace `(msg:"` with `(msg:"From X ruleset - `?  It might take writing a script, but then the alert should (maybe) fire as `From X ruleset - TCP inbound to 80 http` rather than just `TCP inbound to 80 http`.  Right?

-----Original Message-----
From: snort-users-admin at lists.sourceforge.net
[mailto:snort-users-admin at lists.sourceforge.net]On Behalf Of Julio Jaime
Sent: Thursday, April 24, 2003 2:33 PM
To: 'snort-users at lists.sourceforge.net'
Subject: RE: [Snort-users] Relation between events and rules set.

Hi John,

       Im sorry, english is not my language and is difficult to me explain

       You have differents set of rules :

       web-cgi.rules, web-coldfusion.rules, web-frontpage.rules,
web-iis.rules, web-misc.rules, x11.rules... etc.

       The events trigger specific rules ( rules on these set of rules ).

       Ex : WEB-IIS cmd.exe access ---> on web-iis.rules

       The only reference to the set of rules on snort alert is the msg
header, and is not reliable. ( ex. on web-misc.rules you have msg with

        If we can to know the set of rules that trigger the events, we can
use it to calculate the event severity.

        "WEB-IIS cmd.exe access" alert is not dangerous on Apache Web

	 It's ok ?

Thanks a lot.


-----Mensaje original-----
De: John Sage [mailto:jsage at ...2022...]
Enviado el: Miércoles, 23 de Abril de 2003 10:10 p.m.
Para: Julio Jaime
CC: 'snort-users at lists.sourceforge.net'
Asunto: Re: [Snort-users] Relation between events and rules set.


Let's do a little trimming:

On or about Wed, Apr 23, 2003 at 04:47:30PM -0300, Julio Jaime posited:
> Hi all,
>      We are working on threath management system using snort +
> logsnorter + syslog servers, but the core is snort.


>      I need know , how find the relation between the event and the
> set of rules that trigger it event.

Is the question "which specific rule was triggered by a specific
event" ie: alert?

cd /wherever_your_snort_rules_are/
grep 'insert_phrase_from_alert' *

To wit:

[**] [1:0:0] TCP inbound to 80 http [**]
[Priority: 0]
04/21/03-18:07:00.234228 ->
TCP TTL:120 TOS:0x0 ID:14681 IpLen:20 DgmLen:48 DF
******S* Seq: 0xDEEB0032  Ack: 0x0  Win: 0x2238  TcpLen: 28
TCP Options (4) => MSS: 1460 NOP NOP SackOK

[toot at ...8592... /storage/snort]$ grep 'inbound to 80' *
tcp191-local.rules:alert tcp $EXTERNAL_NET any -> $HOME_NET 80
 (msg:"TCP inbound to 80 http";)

- John
"You are in a twisty maze of weblogs, all alike."

    PGP key: http://www.finchhaven.com/pages/gpg_pubkey.html
Fingerprint: C493 9F26 05A9 6497 9800 4EF6 5FC8 F23D 35A4 F705

This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

More information about the Snort-users mailing list