Re:MarkMonitor left 60k domains for the taking
by exikyut on Monday August 30, 2021 @08:27AM
(#28354919)
Relatedly, the thought of properly storing your web server's full access logs indefinitely comes to mind, for a baseline of "until I write some exactingly specific filtering logic and I get 0 unclassified results back out". Doesn't have to happen immediately, but by all means hoard 50GB of traffic logs until you do get it done. That sort of thing.
You'd naturally be capturing the requested host here, ideally along with all other request headers.
And ideally flagging unknown host headers in close to real time, so you can have fun with your visitors next time they say hello :>
A fun exercise could be to boot up a machine on pretty much any cloud provider and set up a simple webserver to respond to all Host-headers. Heck, I'm pretty sure you could make nginx only respond requests where both the Host-header and A/AAAA-record were correct with some Lua magic. In this scenario, would you blame the cloud provider or the administrator of the domain?
(Not necessarily you-you, but you get he idea.)