SSHBrute Force: False Postives
--------- Mensagem Original --------
De: Dominic Caputo <[email protected]>
Para: [email protected] <[email protected]>
Asunto: SSHBrute Force: False Postives
Fecha: 01/02/07 02:30
Quoted 2 lines
I have been reading up on iptables and i am by no means an expert but i
have
Quoted 1 line
a problem with SSH brute force attacks on port 22. I am currently using
the
Quoted 2 lines
config below to minimise these threats but i am constantly getting false positives (logs actually say that my connection has been flagged as a
brute
Quoted 10 lines
force connection even on the on the first attempt-but then on others it connects first time with no problems)
#SSH Brute-Force Scan Check
$IPTABLES -NSSH_Brute_Force
$IPTABLES -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --name SSH --set --rsource -jSSH_Brute_Force
$IPTABLES -ASSH_Brute_Force-m recent ! --rcheck --seconds 60 --hitcount 4 --name SSH --rsource -j ACCEPT
$IPTABLES -ASSH_Brute_Force-j LOG --log-level info --log-prefix
"SSH Brute
Quoted 7 lines
Force Attempt: "
$IPTABLES -ASSH_Brute_Force-p tcp -j DROPAny help with this problem would be great
Dominic
.... you can start changing the ssh port from 22 to xxx... this doesnt solve your problem, but this mesure minimize this kind of attack like a 70%
________________________________________________
linux.pctools.cl