[Snort-users] Mcafee IDS rule processing
itsa.aacgood at ...11827...
Tue Feb 16 22:47:10 EST 2016
I am attempting to troubleshoot a particular snort rule that has been added
to a custom attack set on our Mcafee IDS, and I am hoping that someone can
point me in the right direction.
The rule is below (sid:31229):
alert tcp any any -> any
(msg:"EXPLOIT-KIT Bleeding Life exploit kit outbound Adobe Flash exploit
request"; flow:to_server,established; content:"/modules/";
fast_pattern:only; http_uri; pcre:"/\/modules\/(n?\d|nu)\.swf$/U";
metadata:policy balanced-ips drop, policy security-ips drop, service http;
classtype:trojan-activity; sid:31229; rev:1;)
The content from the PCAP is the following:
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Cookie: BCSI-CS-c87fda4ff6f22bb5=2; BCSI-CS-8d18d10a705be693=2;
The kicker is that the IDS is showing a Translation Warning for this rule
which states - "Ignored snort option(s): fast_pattern".
Looking into the pcre regex I cant seem to get it to match what the full
HTTP GET request is (unless my regex troubleshooting is flawed), so I am
assuming that the pcap is matching the "content" (/modules/) and with
fast_pattern effectively off, its making a positive match based on the
"content" alone and skipping over "pcre".
Would this assumption be correct? or is anyone able to tell me how rule
processing would work with "content", "pcre" and "no fast_pattern" for this
I hope I have been able to put the question clearly, if not please let me
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Snort-users