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] Proposed improvement for SID 553 |
|---|---|
| Date: | Mon, 21 Mar 2005 15:48:21 -0700 |
Frank Knobbe wrote:
it seems that SID 553 (POLICY FTP anonymous login attempt) falses easily on user names like ftp-blahuser. The sig currently reads: alert tcp $EXTERNAL_NET any -> $HOME_NET 21 (msg:"POLICY FTP anonymous login attempt"; flow:to_server,established; content:"USER"; nocase; pcre:"/^USER\s+(anonymous|ftp)/smi"; classtype:misc-activity; sid:553; rev:7;) I propose to change it to: alert tcp $EXTERNAL_NET any -> $HOME_NET 21 (msg:"POLICY FTP anonymous login attempt"; flow:to_server,established; content:"USER"; nocase; pcre:"/^USER\s+(anonymous|ftp)(\x0d|\x0a)/smi"; classtype:misc-activity; sid:553; rev:7;)
This is vulnerable to space evasion. Try this instead:
/^USER\s+(anonymous|ftp)\s/smi
Alternatively, a check for word boundary on (anonymous|ftp) might work too.
It would not. Dash *is* causing a word boundary. Cheers, nnposter ------------------------------------------------------- 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] Proposed improvement for SID 553, Frank Knobbe |
|---|---|
| Next by Date: | [Snort-sigs] Bleedingsnort.com Daily Update, bleeding |
| Previous by Thread: | [Snort-sigs] Proposed improvement for SID 553, Frank Knobbe |
| Next by Thread: | [Snort-sigs] False positive sid:498, Paul Schmehl |
| Indexes: | [Date] [Thread] [Top] [All Lists] |