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] The rule 1054 fires up false positives! |
|---|---|
| Date: | Mon, 22 Nov 2004 18:59:50 -0500 |
At 08:44 AM 11/22/2004, Victor Meghesan wrote:
--- Matthew Watchinski <mwatchinski@sourcefire.com> wrote:
<snip>
> web-misc.rules:alert tcp $EXTERNAL_NET any -> > $HTTP_SERVERS $HTTP_PORTS > (msg:"WEB-MISC weblogic/tomcat .jsp view source > attempt"; > flow:to_server,established; uricontent:".jsp"; > nocase; > pcre:!"/^\w+\s+[^\n\s\?]*\.jsp/smi"; > reference:bugtraq,2527; > classtype:web-application-attack; sid:1054; rev:7;) > > Here is how it works. >
<snip>
a) the GET and Referer: lines below match uricontent: .jsp b) the other lines match the negated regexp pcre:!... and nothing in there (the example content I send) is a %
c)the rule fires up with false positives!
because of a) + b) then c) happens
<snip>
> >Referer: http://xxx.xxx.xxx/l/l.jsp
Try this prce instead... it should fix the false match. /^\w+\:?\s+[^\n\s\?]*\.jsp/smi
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Snort-sigs] Strange behavior with http_inspect_server, Joe Patterson |
|---|---|
| Next by Date: | [Snort-sigs] Bleedingsnort.com Daily Update, bleeding |
| Previous by Thread: | Re: [Snort-sigs] The rule 1054 fires up false positives!, Victor Meghesan |
| Next by Thread: | Re: [Snort-sigs] The rule 1054 fires up false positives!, Victor Meghesan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |