Snort mailing list archives

Quick uricontent question


From: James Lay <jlay () slave-tothe-box net>
Date: Wed, 19 Sep 2012 14:32:29 -0600

So...doing some reading:

http://www.sophos.com/en-us/why-sophos/our-people/technical-papers/zeroaccess-botnet.aspx

 From the text:

The first phone home mechanism is through a specially crafted HTTP Get 
Request that
takes the following form:

GET /<unique ID>/counter.img?theme=%u&digits=10&siteId=%u HTTP/1.1\r\n
Host: <hostname>\r\n
User-Agent: Opera/9 (Windows NT %u.%u; %s; %s)

So far here's what I have:

alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS 
(msg:"INDICATOR-COMPROMISE ZeroAccess phone home"; 
content:"User-Agent|3a| Opera/9"; http_header; 
uricontent:"/counter.img?theme=";

As I am reading the info on uricontent, the content is already 
normalized...does that mean I don't have to hex anything with 
"/counter.img?theme="?  Or does it matter.  Thanks all.

James

------------------------------------------------------------------------------
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-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: