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 brute force attack sig |
|---|---|
| Date: | Wed, 6 Jul 2005 15:27:39 -0400 |
On Wed, Jul 06, 2005 at 02:02:19PM -0500, Paul Schmehl wrote:
# New rule for catching ssh brute-force attacks alert tcp $HOME_NET any -> any 22 (msg:"SSH Brute-Force attack"; threshold: type both, track by_src, count 2000, seconds 60; classtype:trojan-activity; sid:1000281; rev:2;)It tells me when I have a host on my network that is performing brute force SSH attacks.
Technically, no it doesn't. Your rule generates an alert when a
single host sends 2000 packets in 60 seconds via tcp port 22.
SSH brute force attacks require many new SSH sessions. Why not look
for the startup of a large number of SSH sessions within a given
period of time?
Try this snippet:
flow:from_server,established; content:"SSH-"; depth:4;
threshold: type both, track by_src, count 2000, seconds 60;
Brian
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Snort-sigs mailing list
Snort-sigs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs
| Previous by Date: | Re: [Snort-sigs] SSH brute force attack sig, bmc |
|---|---|
| Next by Date: | Re: [Snort-sigs] SSH brute force attack sig, Matt Jonkman |
| Previous by Thread: | Re: [Snort-sigs] SSH brute force attack sig, Russell Fulton |
| Next by Thread: | Re: [Snort-sigs] SSH brute force attack sig, Frank Knobbe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |