Snort mailing list archives

Re: [Emerging-Sigs] Rule assist


From: Joel Esler <jesler () sourcefire com>
Date: Tue, 25 Jun 2013 13:57:55 -0400

On Jun 25, 2013, at 1:22 PM, James Lay <jlay () slave-tothe-box net> wrote:
On 2013-06-25 11:10, Joel Esler wrote:
content:"GET /?1 HTTP/1.1"; fast_pattern:only;

is your best bet.

You could break it out like this if you want:

urilen:3; content:"GET"; http_method; content:"/?1"; http_uri;
content:"HTTP/1.1";

"HTTP/1.1" isn't in a buffer, perhaps that's where you are getting the
problem?

--
JOEL ESLER
Senior Research Engineer, VRT
OpenSource Community Manager
Sourcefire

Thanks Joel and Will...here's the full rule:

alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"INDICATOR-COMPROMISED Unknown ?1 redirect"; 
flow:to_server,established; content:"GET /?1 HTTP/1.1"; fast_pattern:only; metadata:policy balanced-ips drop, policy 
security-ips drop, service http; classtype:bad-unknown; sid:10000082; rev:1;)


Sounds good, let me know.

--
Joel Esler
Senior Research Engineer, VRT
OpenSource Community Manager
Sourcefire

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Snort-sigs mailing list
Snort-sigs () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-sigs
http://www.snort.org


Please visit http://blog.snort.org for the latest news about Snort!

Current thread: