Snort mailing list archives

[SPAM] Re: C2 - Zeus?


From: rmkml <rmkml () yahoo fr>
Date: Thu, 13 Jun 2013 21:17:50 +0200 (CEST)

Hi Paul and Joel,

Thx you for sharing and comments,

Joel: Im curious why Sourcefire VRT rule sets contains {1} on this few rules please ? (maybe already fixed ??)
sid 23137 rev 6: ...(\s*\x27\s*|\s*\&\#39\;\s*|\s*\&\#x27\;\s*|\s*\\u0027\;\s*){1}...
sid 23136 rev 6: ...(\s*\x27\s*|\s*\&\#39\;\s*|\s*\&\#x27\;\s*|\s*\\u0027\;\s*){1}...
sid 4638 rev 4: ...\x01.{1}...
sid 15709 rev 11: ...\d{1}...
sid 25588 rev 1: ...\d{1}...
sid 23257 rev 3: ...[0-9a-f]{1}...
...

Regards
@Rmkml


On Thu, 13 Jun 2013, Joel Esler wrote:

Paul,
A couple comments, 

In your pcre you end with "id\=[0-9]{2,}", is there something after the two digits?  or does it end there?  (Can we do 
"id\=[0-9]{2}$")  As it stands right there, "2," will keep searching on and on.

Also, [a-zA-Z]{1}…  The {1} is unnecessary in this case.

Any pcaps here?


On Jun 13, 2013, at 7:28 AM, Paul Bottomley <Paul.Bottomley () betfair com> wrote:

      Might need running in your test lab for a week or so to see what it picks up… From observation so no reference.
 
alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:"MALWARE-CNC Win.Trojan.Zeus outbound connection"; 
flow:established,to_server; content:"/images/"; fast_pattern:only; http_uri;
pcre:"/\/images\/[a-zA-Z]{1}\.php\?id\=[0-9]{2,}/Ui"; classtype:trojan-activity; sid:xxxxxx; rev:1;)
 
Thanks
------------------------------------------------------------------------------
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: