Next.js Discord

Discord Forum

What is going on in my Mongodb?

Unanswered
Australian Freshwater Crocodile posted this in #help-forum
Open in Discord
Avatar
Australian Freshwater CrocodileOP
So 2 days ago I installed mongodb on my VPS for using in my projects
I don't have any special info in it yet because I didn't use it in this 2 days
But now I opened my compass and I see the db as you see in the image
and there is a content in it :
All your data is backed up. You must pay 0.0045 BTC to bc1qt3zrm0va2g5adut9pem790hsmtnwka76yrzwjp In 48 hours, your data will be publicly disclosed and deleted. (more information: go to http://(removedformemberscuriousity).win/mdb) After paying send mail to us: againremoved@onionmail.org and we will provide a link for you to download your data. Your DBCODE is: 184INW
Image

50 Replies

Avatar
Australian Freshwater CrocodileOP
I have nothing on my db and I checked my vps and its just fine (last login was me 2 days ago)
Should I open that url myself?
Avatar
someone hacked into your mongo instance
Avatar
@Yi Lon Ma someone hacked into your mongo instance
Avatar
Australian Freshwater CrocodileOP
How???????? in 2 days??? with what?
How did they manage to find my IP and username and pass?
Avatar
maybe you didn't set a password, or weak password
Avatar
Australian Freshwater CrocodileOP
Do they have access to my vps's data?
Avatar
@Yi Lon Ma maybe you didn't set a password, or weak password
Avatar
Australian Freshwater CrocodileOP
It's not that strong but not that weak tho
Avatar
this also happened with me when I didn't set password on my mongo and it had the same message
Avatar
@Yi Lon Ma this also happened with me when I didn't set password on my mongo and it had the same message
Avatar
Australian Freshwater CrocodileOP
Should I be worried about my data on my vps?
or just changing the pass is enough?
Avatar
disable password login and use ssh keys
Avatar
@Yi Lon Ma disable password login and use ssh keys
Avatar
Australian Freshwater CrocodileOP
I sometimes need to login to my vps from another device
Avatar
Australian Freshwater CrocodileOP
@Yi Lon Ma I've changed my mongodb pass
and still it keeps recreating that
I delete that db and it comes back
what should I do??
Avatar
monitor the connections to your mongo
Avatar
@Australian Freshwater Crocodile what should I do??
Avatar
Just delete your VPS and start a new one maybe?
Avatar
and this time set a good password
if you're just hosting your app on the server and not using for development, don't expose your db to internet
use docker network to connect to your db
Avatar
@adam.birds Just delete your VPS and start a new one maybe?
Avatar
Australian Freshwater CrocodileOP
No bro I will have to put like 2 days of work for this lol
I guess it got fixed
I changed the user too
Avatar
@Australian Freshwater Crocodile No bro I will have to put like 2 days of work for this lol
Avatar
Just save your code to git, move it over and install mongodb again, it shouldn't take 2 days to set mongodb up gaain.
I host a load of servers, and if they ever did get compromised I'd be destroying it and remaking it as you just don't know what else they did on it. Let alone that destroying and start again gets you a new IP too.
Avatar
@adam.birds Just save your code to git, move it over and install mongodb again, it shouldn't take 2 days to set mongodb up gaain.
Avatar
Australian Freshwater CrocodileOP
Bruhhhhhhhhh again I got thissss cmonnnnnnnnn
You think they hacked into my vps?
I really don't want to rebuild my vps
cuz I have my VPN servers on it (I'm from a heavily censored country)
And some big and large files (video files) which I don't think I could upload to anywhere unless its my pc
and If I erase everything this means I'll have to use some public VPN and they are super slow (my normal network speed is barely 1mb/s and with public VPNs you know ...)
Avatar
first of all, disable password login for VPS
setup SSH keys
Avatar
Its up to you @Australian Freshwater Crocodile I'm just saying what I'd do. And its maybe also a chance to maybe get a second VPS, one for personal use and one for your web app stuff. And also disable password login and setup SSH as @Yi Lon Ma said or it will just happen again.
You think there is something wrong with my mongodb or the server?
I made it to use ssh keys
and still I got that message
Avatar
If they got access to the server itself, thgey could have installed malware meaning they still have access. Or if your mongo is open to the world and not protected, they could have got straight in there.
but why do attack mongo when I have some really more valuable things in my server?
And I couldn't find any accesspoints in my vps
Avatar
Then likely the VPS and they have installed some sort of malware, it will likely some bot that has managed to get in, rather than someone sat there hacking you.
Avatar
Australian Freshwater CrocodileOP
Yeah its a bot obv
Avatar
Can you get into mongo and see the data etc that are being created?
Avatar
Australian Freshwater CrocodileOP
idk lemme see
Avatar
Australian Freshwater CrocodileOP
No I couldn't find anything
bruhhhh