We had something of an outage on november 13, 2018 on tilde.team.
I awoke, not suspecting anything to be amiss. As soon as I logged in to check my email and IRC mentions, it became clear.
tilde.team was at the least inaccessible, and at the worst, down completely. According to the message in my inbox, there had been an attempted “attack” from my IP.
We have indications that there was an attack from your server. Please take all necessary measures to avoid this in the future and to solve the issue.
At this point, I have no idea what could have happened overnight while I was sleeping. The timestamp shows that it arrived only 30 minutes after I’d turned in for the night.
When I finally log on in the morning to check mails and IRC mentions, I find that I’m unable to connect to tilde.team… strange, but ok; time to troubleshoot. I refresh the webmail to see what I’m missing. It ends up failing to find the server. Even stranger! I’d better get the mails off my phone if they’re on my @tilde.team mail!
Here, i launch in to full debugging mode: what command was it? who ran it?
Searching ~/.bash_history
per user was not very successful. Nothing I could find was related to net or map. I had checked sudo grep nmap /home/*/.bash_history
and many other commands.
At this point, I had connected with other ~teammates across other IRC nets (#!, ~town, etc). Among suggestions to check /var/log/syslog
, /var/log/kern.log
, and dmesg
, I finally decided to check ps
. ps -ef | grep nmap
yielded nmap on an obscured uid and gid, which I shortly established to belong to a LXD container I had provisioned for ~fosslinux.
I’m not considering methods of policing access to any site over port 80 and port 443. This is crazy. How do you police nmap
when it isn’t scanning on every port?
After a bit of shit-talking and reassurance from other sysadmins, I reexamined and realized that ~fosslinux had only run nmap
for addresses in the 10.0.0.0/8
space. The 10/8
address space is intended to not be addressable outside the local space. How could Hetzner have found out about a localhost network probe!?
Finally, after speaking with more people than I expected to speak with in one day, I ended up sending three different support emails to Hetzner support, which finally resulted in them unlocking the IP.
It’s definitely time to research redundancy options!