Snort mailing list archives

Re: How to write a snort rule match NO content GET or POST in http request


From: kay <kay.diam () gmail com>
Date: Tue, 31 Jul 2012 08:57:26 +0400

No, it is ok. "/" starts and ends regexp. You can even use:

pcre:!"#GET|POST#smi" or pcre:!"!GET|POST!smi", etc.

2012/7/31 waldo kitty <wkitty42 () windstream net>:
On 7/30/2012 01:53, Tran M. Thang wrote:
Thanks Sir,

I make a rule and i got alert with it:

alert tcp any any ->  any 80 (msg:"No GET or POST http_method to Web-server"; flow:to_server,established ;  
pcre:!"/GET|POST/smi"; classtype:Web-application-attack; sid:1260736; rev:4;)

you appear to have the "/" only on "/GET" and not "/POST"... ;)

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Please visit http://blog.snort.org to stay current on all the latest Snort news!

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: