News for hackers. Stuff that matters.
Re:Practical Linux Hardening Guide by leeoniya on Thursday January 24, 2019 @05:13PM (#18993572)
it cuts down the drive-by noise by 97%. which lets you not overlook anomalies in the remaining 3%.

we also had a bunch of scanners probing for common php scripts on the http server (we don't run php). simply returning a 404 header and disabling logging in nginx for \.php$ uris cut down a bunch of garbage (mostly from China). additionally, using ngx_http_limit_req_module reduced the effects of numerous DoS-type scanners.

so far, this + iptables for only 80/443/ssh has been a superior solution to instaling fail2ban that continually scans bloated log files and performs constant iptables banning/unbanning foo.

clean logs are essential, not just nice to haves.

Re:Practical Linux Hardening Guide by Someone1234 on Thursday January 24, 2019 @05:17PM (#18993600)
Well said.

"Log noise" is a legitimate security concern all by itself. It is actually disappointing how rarely it is discussed, and how in this world of "AI everywhere" there's no great smart AI log analysers to reduce the signal:noise.

Moving the SSH port might "only" reduce noise, but that's a legitimate security goal in its own right.

Re:Practical Linux Hardening Guide by seanwilson on Friday January 25, 2019 @09:10AM (#18997944)
> "Log noise" is a legitimate security concern all by itself. It is actually disappointing how rarely it is discussed, and how in this world of "AI everywhere" there's no great smart AI log analysers to reduce the signal:noise.

That's because after many people learn about not using "security through obscurity" they apply the rule without thinking as if obscurity never has any benefit for anything.

Re:Practical Linux Hardening Guide by thaumaturgy on Thursday January 24, 2019 @06:36PM (#18994150)
That's because people can't agree on what is or isn't valuable.

For instance, if I (or my software anyway) see a bunch of sshd login attempts from some IP, and then that IP decides to try imap ... yeah, that's getting insta-blocked.

And that's hard to do if you decide to just ignore the sshd attempts.

Re:Practical Linux Hardening Guide by hawski on Friday January 25, 2019 @03:57AM (#18996550)
Could additional honey pot on 22 help? Run sshd on non-standard port and honey pot on 22. Then automatically ban all the hosts that would connect to it. There could be a concern for a mistake, so then ban for limited time at first or something.
Re:Practical Linux Hardening Guide by tempfs on Thursday January 24, 2019 @09:19PM (#18995012)
Nothing externally accessible should allow password login at all.

SSH key-based logins are so much more secure and convenient as heck once you invest the time to learn how they work.

Re:Practical Linux Hardening Guide by systematical on Friday January 25, 2019 @01:27AM (#18995986)
For PCI you still need two factor. Its overkill, but we kept password logins even after having keys.
Re:Practical Linux Hardening Guide by amaccuish on Sunday January 27, 2019 @04:38PM (#19013937)
A smartcard is still fairly convenient and allows you to tick the two-factor box (card + pin)
Re:Practical Linux Hardening Guide by hackbinary on Thursday January 24, 2019 @07:12PM (#18994356)
What about tarpitting known spurious attacks? Possibly proxying/forwarding to a different host?