My MongoDB is hacked and all data is wiped, the attacker left this note:
{ "_id" : ObjectId([REDACTED]), "email" : "mongodb@tfwno.gf", "btc_wallet" : "1JFit9663zGV6v2Mb9cSUpRm2dVptvqfPZ", "note" : "Don't panic. Your DB is in safety and backed up (check logs). To restore send 0.2 BTC and email with your server ip or domain name. Each 24 hours we erase all data." }
Checking the log, I saw there were a lot of dropDatabase actions from this IP 149.202.98.161
, but other than that there's nothing else between the session of this IP. I think Mongo only logs dropDatabase, because there was no log where they added/changed the DB's name to WE_HAVE_YOUR_DATA
.
Is there anyway I could check if there's any action like createDatabase
or copyDatabase
... performed on Mongo server?