Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Snort-sigs] Substitute for removed MS04-028 exploiting jpeg rule? |
|---|---|
| Date: | Wed, 24 Nov 2004 09:59:35 -0500 |
Matt,
Alex Kirk
That's a good question. We removed the 2 bleeding snort rules from Chas Tomlin with this comment made by myself:
------
Removed, sids 2705, 2706, 2707 in the snort.org rulesets cover this nicely
------
The original rules we had were:
alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:"BLEEDING-EDGE WEB-CLIENT MS04-028 exploiting jpeg"; flow:to_client,established; content:"Content-Type\: image/jpeg"; content:"|FF FE 00 00|"; classtype:attempted-user; sid:200326; rev:1;)
alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:"BLEEDING-EDGE WEB-CLIENT MS04-028 exploiting jpeg"; flow:to_client,established; content:"Content-Type\: image/jpeg"; content:"|FF FE 00 01|"; classtype:attempted-user;sid:2001327; rev:1;)
I don't think we had any serious problem with these rules, but I don't recall exactly.
The snort.org rules that replaced these are:
alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:"WEB-CLIENT JPEG parser heap overflow attempt"; flow:from_server,established; co
ntent:"image/"; nocase; pcre:"/^Content-Type\s*\x3a\s*image\x2fp?jpe?g.*\xFF\xD8.{2}.*\xFF[\xE1\xE2\xED\xFE]\x00[\x00\x01]/smi"; reference:bugtraq,11173; reference:cve,2004-0200; reference:url,www.microsoft.com/security/bulletins/200409_jpeg.mspx; classtype:attempted-admin; sid:2705; rev:4;)
alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:"WEB-CLIENT JPEG transfer"; flow:from_server,established; content:"image/"; nocase; pcre:"/^Content-Type\s*\x3a\s*image\x2fp?jpe?g/smi"; flowbits:set,http.jpeg; flowbits:noalert; classtype:protocol-command-decode; sid:2
706; rev:2;)
alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:"WEB-CLIENT JPEG parser multipacket heap overflow"; flow:from_server,established
; flowbits:isset,http.jpeg; content:"|FF|"; pcre:"/\xFF[\xE1\xE2\xED\xFE]\x00[\x00\x01]/"; reference:bugtraq,11173; reference:cve,2004-0200; reference:url,www.microsoft.com/security/bulletins/200409_jpeg.mspx; classtype:attempted-admin; sid:2707; rev:2;)
Which I just realized I have had commented out for a while. I don't recall if there were problems when I dropped them way back when, so I'm turning them back on to see how they do.
Can anyone comment on their accuracy?
Matt
Chris Kronberg wrote:
Hi,
Has anyone a working rule for that gdi exploit? I've seen that the two rules once on bleedingsnort have been removed (good thing as they produced tons of false positives). Yet I failed to see any alternative. Any idea how the virus scanners find those jpegs without too much false positives?
Cheers,
Chris Kronberg.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Snort-sigs] Substitute for removed MS04-028 exploiting jpeg rule?, Chris Kronberg |
|---|---|
| Next by Date: | Re: [Snort-sigs] Substitute for removed MS04-028 exploiting jpeg rule?, Matt Jonkman |
| Previous by Thread: | Re: [Snort-sigs] Substitute for removed MS04-028 exploiting jpeg rule?, Matt Jonkman |
| Next by Thread: | Re: [Snort-sigs] Substitute for removed MS04-028 exploiting jpeg rule?, Chris Kronberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |