Background: 15 years of experience in software and apparently spoiled because it was already set up correctly.

Been practicing doing my own servers, published a test site and 24 hours later, root was compromised.

Rolled back to the backup before I made it public and now I have a security checklist.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 9 points 2 years ago* (1 child)

The TLDR is here : https://www.digitalocean.com/community/tutorials/recommended-security-measures-to-protect-your-servers

You wonโ€™t be protected from a dedicated, knowledgeable attacker until you do the rest of what the other poster said, and then some,

You're right I didn't even get to ACME and PKI or TOTP

https://letsencrypt.org/getting-started/

https://openbao.org/docs/secrets/pki/

https://openbao.org/docs/secrets/totp/

And for bonus points build your own certificate authority to sign it all.

https://smallstep.com/blog/build-a-tiny-ca-with-raspberry-pi-yubikey/

  • source
  • parent
  • hideshow 2 child comments