Snort mailing list archives

Writing custom rule for SSL 401 errors


From: "Eric Joe" <sysop () tje1 com>
Date: Tue, 13 Aug 2002 14:23:59 -0400 (EDT)

Hello,
I am trying to write a snort rule that sends an alert when someone gets a
401 "Authorization Required" error while using SSL. I have the non-SSL
rule working as such
alert tcp $HTTP_SERVERS $HTTP_PORTS -> $EXTERNAL_NET any (msg:"ATTACK
RESPONSES Http Failed Authorization"; content: "HTTP/1.\
1 401 "; flags:A+; classtype:bad-unknown; sid:1000001; rev:1;)

It works fine, but with SSL encryption I am having trouble with the
"content" parameter. I guess if I knew what HTTP/1.1 401  looked like when
its encrypted, it would be a piece of cake.
Anyone have any insight on this?  Thanks in advance.


-- 
Eric Joe
Network Operations
Journey's End Internet/Computer Connection Inc




-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: