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] SSH Scans |
|---|---|
| Date: | Wed, 08 Sep 2004 12:18:25 -0300 |
On Mon, Aug 23, 2004 at 01:17:00PM -0500, Matthew Jonkman wrote:
Seeing a ton of ssh brute force attempts against boxes all over the place. None successful since they're concentrating on root, but the rate is low enough that the portscan preprocessors aren't getting them (at the thresholds we usually use)
So I put this rule up on bleedingsnort.com:
alert tcp any any -> $HOME_NET 22 (msg:"BLEEDING-EDGE Potential SSH Brute Force Attack"; flow:to_server,established; threshold:type limit, track by_dst, count 5, seconds 60; classtype:attempted-dos; sid:2001219; rev:1;)
5 ssh connects in 60 seconds from one source is generally unusual.
Except that isn't what your rule states. You are using by_dst, not by_src.
Your current rule states: if you see 5 connections to one destination within a 60 second window, alert.
uh... better hope you are not running a moderately used SSH server and using bleeding edge rules.
or
Saludos!
--
Federico Petronio
petrus@activesec.biz
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&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] PCRE in 1930.4 (IMAP auth literal overflow attempt), nnposter |
|---|---|
| Next by Date: | Re: [Snort-sigs] SSH Scans, Matt Jonkman |
| Previous by Thread: | [Snort-sigs] PCRE in 1930.4 (IMAP auth literal overflow attempt), nnposter |
| Next by Thread: | Re: [Snort-sigs] SSH Scans, Matt Jonkman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |