Re:Why Putting SSH On Another Port is a Good Idea
by GhotiFish on Saturday October 26, 2013 @12:13AM
(#6616308)
those numbers don't look good at when you take a look at what those two classes of people are doing.
ie. 1. is targeting you specifically, 2. is bot targeting everyone
when presented with two options, thinking of those options as 50:50 is natural, but it's really more like 0.0000001:99.9999999
Re:Why Putting SSH On Another Port is a Good Idea
by marcosdumay on Saturday October 26, 2013 @09:24PM
(#6620343)
Anyway, those 0.999999 that don't scan the ports are doing lame attempts of guessing the password of your box, while the 0.000001 is doing that, but also trying new exploits that have a chance of working.
As a consequence, the chance of one of those 0.999999 bots invading your computer is zero, the chance of one of the 0.000001 doing the same is non-zero.
Re:Why Putting SSH On Another Port is a Good Idea
by mjhall on Saturday October 26, 2013 @06:17AM
(#6616917)
A bot doesn't necessarily only scan port 22 in a range - nothing stops the bot herder making it scan 1-1024 instead.
Re:Why Putting SSH On Another Port is a Good Idea
by riobard on Saturday October 26, 2013 @10:46AM
(#6617543)
Yes there is. It's called economics.
Re:Why Putting SSH On Another Port is a Good Idea
by wildgift on Saturday October 26, 2013 @12:21AM
(#6616322)
Who is going to bother with a portscanner when there are plenty of targets on port 22. The targets on other ports are more likely to have been set to use keys, or at least have better passwords.
Re:Why Putting SSH On Another Port is a Good Idea
by marcosdumay on Saturday October 26, 2013 @09:26PM
(#6620354)
When you set the system to use keys, all those attempts at accessing just don't happen, and the log does not get polluted. Since the log pollution is the main complaint of people that change the port, I think you are wrong.
Re:Why Putting SSH On Another Port is a Good Idea
by mkmkmmmmm on Saturday October 26, 2013 @02:22AM
(#6616585)
If you want to defend against port scanning just open some honeyports that ban all connectors. Maybe randomize these every X hours.
Re:Why Putting SSH On Another Port is a Good Idea
by bcoates on Saturday October 26, 2013 @03:04AM
(#6616648)
There are indirect scanning techniques that induce and measure traffic from ordinary non-compromised hosts. When the attacker notices that he gets banned for scanning he'll do that.
http://nmap.org/book/idlescan.html but IIRC there are more ways than this to do it.
Basically, there are two classes of people:
1. Those who use port scanners.
2. Those who do not.
If you are being attacked by someone in class 1, then moving your port gives you absolutely no protection. Thus moving your port is only worth anything at all if the percentage of class 2 people is significant.
However, if you also consider the probability a person in each class has of actually compromising your machine, then the security looks less convincing. Yes, it might be true that 95% of people don't bother to use a port scanner, but the most competent hackers are almost certainly going to be in the 5% that do use one.