News for hackers. Stuff that matters.
Re:Ask HN: What (almost) company sinking engineering mistake... by mywittyname on Friday March 25, 2022 @11:28AM (#30803331)
> but not implementing anti-tampering on local and remote backups i.e. protection from root.

How do you accomplish this? I have some ideas/assumptions, but I'd like to hear more about the best practices here.

Re:Ask HN: What (almost) company sinking engineering mistake... by sdave on Friday March 25, 2022 @11:44AM (#30803526)
1st level of protection is by keeping your live production data & backup data in separate accounts.

(If 1 account gets compromised the other is still available)

Perhaps 2nd level is by using cloud specific features - such as AWS S3 Object locks (even owner can't delete the object till the retention period).

my 2cents

Re:Ask HN: What (almost) company sinking engineering mistake... by nicolaslem on Friday March 25, 2022 @11:49AM (#30803595)
Backups sent to a remote system should be append only so that if a machine is compromised, a malicious actor cannot delete or corrupt previous backups.
Re:Ask HN: What (almost) company sinking engineering mistake... by gumby on Friday March 25, 2022 @03:59PM (#30806469)
An easy way is to stream the backups to tape, and have someone swap the tapes. Typically people who do this take the recorded tapes offsite, but to prevent against an electronic attack it’s adequate to have the removed tapes even in the same room, just not in the tape drive.
Re:Ask HN: What (almost) company sinking engineering mistake... by mjw_byrne on Friday March 25, 2022 @11:46AM (#30803550)
Separate storage of file hashes would make tampering detectable. Actually preventing root modifying a file probably has to be done at the hardware level.
Re:Ask HN: What (almost) company sinking engineering mistake... by andi999 on Friday March 25, 2022 @12:37PM (#30804245)
Heard of a case where an admin was bribed by competition to delete everything.
Re:Ask HN: What (almost) company sinking engineering mistake... by cma on Friday March 25, 2022 @01:15PM (#30804775)
Maybe something like the write protect switch on LTO tape cartridges, so that if compromised you never overwrite the tape when trying to restore.