144 points · by GrumpyNl · 6y ago · 32 comments
“ Potentially is just your own DB being exposed and now being utilized by someone else (such as hosting a covert/malicious site)... I had this happen once when accidentally left a testing (non-production, no real data/usage) redis server exposed on the internet. Came back in a couple days to find it full of someone else's data.”
Oh my, I can already see storm the provider will get on social media once we find out who's such a moron.
Also I bet there's someone unethical who's right now going through all Redis hosting services trying to repro this and get some data.
I wouldn't blame the hosting provider alone unless they explicitly marketed that shared Redis as something being available. Presumably it's just there because of a misconfiguration and since it doesn't hurt anyone nobody noticed or bothered to turn it off.
I don't know why they'd offer a publicly accessible redis other than for testing maybe, but if they communicate it, it's on the user.
"Is it normal?" is kind of a nonsensical question without any further context.
There are basically people doing this continuously in a loop. Open up port 3306 and watch people trying to connect to your MySQL instance with common passwords. IPv4 addresses are easily enumerable and the bad guys already thought of everything. (I put a real MySQL there once; they deleted all the tables and created a new one asking for bitcoin to get them back.)
I know MySQL is not Redis but the same principle applies; someone is scanning you for open services right now.
I remembered a few hours later, gone back to rebuild the machine as I assumed it would be compromised, and sure enough, there was some crypto miner on it. Sadly for them, the machine didn't have anywhere enough processing power to make it worth it and they should've instead been smarter and made better use of it (it had a very beefy network connection so plenty of potential for DoS attacks or hosting malicious content, as well as being in a privileged position to capture potentially sensitive unencrypted traffic).
Our base image now comes with a hardened sshd and raised firewalls so the first provisioning-run of the configuration management actually has to reduce the firewall protection.
Database ransomware: Are you vulnerable - Next year on Scareware Conference.