News for hackers. Stuff that matters.

Ask HN: What tricks do you use to protect yourself against cyber attack?

Let's hear it... as developers, engineers, I think we all should adopt the "assume breached" mentality.

Do you have your own personal tricks to stay safe?

I will start, I like to put canary token in my personal machines, servers, aws "admin" profile in config file. I also use an old raspberry pi with knockd that triggers a simple baschscript to alert me in slack if someone scan my home network. I used to have a cron job to hit my server website on specific url paths on both http and https(different path for each) with an encrypted name of wifiname in the path and it would send me slack notification everytime... the idea is when someone manage to mitm my traffic and gets curious to check, it would alert me about it.

There are more but i wonder what other things HN-er do ? :)

( 1 comment | on HN )
Re:Ask HN: What tricks do you use to protect yourself agains... by JohnFen on Saturday March 22, 2025 @08:33AM (#43445297)
One of my tricks is to not reveal much about my security methods in a public internet forum. However, they include that my LAN (including WiFi) is only functional through a VPN that I run, and inside my "green zone", I focus more on tripwire systems to detect any unexpected file changes.