When you spin up a fresh public Linux instance, automated scanners start knocking on your doors within milliseconds.

It doesn’t take much to get locked down properly, but missing a few basics can leave you exposed.

I’ve put together a straightforward guide covering the essential hardening steps from UFW and SSH key-only auth to secure Docker bindings and automated maintenance.


Original content by The Unknown Universe, written by a human and not AI generated!

  • TrollAccount69@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    13 hours ago

    In reverse: likewise. The old and new ideas need to be spoken about openly in order to understand them.

    We should recognize that while quantum is never happpening, it’s still good to use the threat of quantum to get embedded and edge devices that will never see an update onto stronger cryptosystems.

    I don’t really worry about key handling. It’s easier and more effective to perform complete key rotation periodically. That includes changing obscuring factors like account name and high port as well as traditional key material. If I was using a knocking scheme it would get changed as well.

    There’s so much value out there that it’s gonna be worth it to do social engineering instead of cred spamming/metasploit/antifox before it’s worth it to even go looking for a service on a rotating high numbered port with a rotating username and key.

    Interestingly enough, any significant amount of header tampering gets flagged almost immediately by all the stuff in between you and the thing you’re trying to trick. I was able to do 20 different ips before I got cut off and had to exit the restaurant.

    If you’re not already playing cops and robbers, it’s worth your time.