Hacker News new | ask | show | jobs
by selfhoster11 2103 days ago
They cause some real work because of the log noise they create. It's easier to see targeted SSH attacks if all the undirected attacks are filtered away.
2 comments

This is absolutely true. I use fail2ban and I often find that it's using rather more CPU than I'd like. Sounds like moving my SSH port might solve that!
>I use fail2ban

Why? Unnecessary attack surface that provides no tangible benefit.

Sketchy parsers operating on untrusted, unstructured log data. fail2ban is worse than useless

What would be indications of "targeted" ssh attacks, and what can you do in response?
If you get 10,000 attempts on port 22, you're probably connected to the internet. If you get 10,000 attempts on port 63290, someone has taken a specific interest in you.
What are you going to do with this knowledge?
Personally? I'd decide the utility of having it public-facing is no longer worth the risk, and firewall it down to a much narrower set of source networks. I'd probably take a moment to brush up on my key hygiene too.
Maybe you should do these things before you realize that someone is trying to hack you?
The fact that someone bothered to scan the entire range (or find your port at random) might indicate that they're specifically targeting you, and just being aware of that is an upside.
>and just being aware of that is an upside.

but what can you realistically do with that knowledge?

Infinitely more than you can do without that knowledge
Give some examples then. Knowing that someone is targetting you shouldn’t change anything, you should be ready regardless.
It shouldn't, but it does. Many smaller companies driven by business people, where maybe tech is just seen as a necessity on the side need a narrative like "people are trying to get in and if they do it's going to be a disaster" to take security seriously. Then or at the point where the disaster strikes.

I'm not really sure why this point was voted down below either; just because you work for someone who takes security seriously (at least to the point where it's insurance-satisfyingly safe) does not mean everyone does.

Years ago I worked at a small agency and every bit of time I spent had to be justified and produce tangible/visible results. "But is anyone really going to try to hack this local business" was a question I actually had to answer, since most other employees were creatives.

Argue for more security budget with management. If you can make this sound dramatic enough...