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] False positive - sid 1365 |
|---|---|
| Date: | Fri, 18 Mar 2005 14:15:14 -0600 |
"%20rm%20" instead of "rm%20". Wouldn't you need a space on either side for the command to be parsed/understood?
"%20rm%20" will not catch attempts ala "somescript.cgi?rm%20/etc/passwd" or "somescript.cgi?bla=blub;rm%20/tmp/laber". I had seen attempts like that in the past (although the script in question was not vulnerable). Some attackers used "rm", others used "/bin/rm". A more recent example may be "awstats.pl?configdir=|rm%20/path/to/file|"
The only thing you know for sure is the space after the "rm". If you are sure to catch all possible combinations a pcre rule should reduce the fps significantly (I'll try to write a rule after a night of sleep; can't think straight right now).
How about this:
For 1365 - pcre:"[\/\s;\?\|]?rm\s"; For 1344 - pcre:"[\/\s;\?\|]?cc\s";
Or simply this: For 1365 - pcre:"\W?rm\s"; For 1344 - pcre:"\W?cc\s";
Or this: For 1365 - pcre:"[\W\d]?rm\s"; For 1344 - pcre:"[\W\d]?cc\s";
Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer The University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu
------------------------------------------------------- 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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ 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] False positive - sid:1344, Paul Schmehl |
|---|---|
| Next by Date: | [Snort-sigs] False positive - sid:1333, Paul Schmehl |
| Previous by Thread: | RE: [Snort-sigs] False positive - sid 1365, Zachary Lanier |
| Next by Thread: | Re: [Snort-sigs] False positive - sid 1365, Mark Tombaugh |
| Indexes: | [Date] [Thread] [Top] [All Lists] |