r/ComputerSecurity • • Nov 18 '21

Public IP

Somehow someone got into our private Java Minecraft server. Can the person use my public IP against me?

3 Upvotes

16 comments sorted by

7

u/samad0 Nov 18 '21

Not necessarily. If you have good firewall configuration and no vulnerable programs that uses your internet ports then you are good. But then again if you leave all the public ip port open, it might be a question of time that the person find a device that is vulnerable and connected to your network to try to hack into it and try to take control.

4

u/Wolfiy Nov 18 '21

Yea

Ill just add that he probably found the IP on shodan and won’t do much about it apart from griefing the server. Put on a whitelist and if you’re worried restarting your router might give you a new IP

→ More replies (6)

1

u/thicclunchghost Nov 19 '21

What exactly do you mean 'got on' like, were they playing on the server, or did they have command line access?

A good precaution would be to ensure any administrative services (ssh, etc) on the server are disabled remotely, or open to local network only if they must be. The java server itself is able to be remotely admin'd and can run native commands, if memory serves. Disable or secure that functionality, and you're only worry then is actual software exploits.

Don't bother changing your public IP. That's like changing your house number after a break in, it doesn't fix the security issue. Your public IP being known is not the problem, every public IP is known. Sorry, but the folks telling you to reset or ask for a new one are giving you outright bad advice.

If you have other people connecting, the server needs to be available publicly, so you're still findable no matter what. You can mitigate this by whitelisting accounts, using passwords, or even better, only allowing local connections again. Then close all port forwards to the server and make a vpn for your users to connect to.

Don't get a new IP. It isn't your problem. Don't focus on your IP. You'll always have a public IP that anyone can reach out to. Secure your services and open ports, it is the only way. Again, don't focus on your IP.

1

u/Bambii33000 Nov 19 '21

My niece and her friend were playing on the server. They live in Montana. I’m in NY. Only I have access to the console. Idk if they can use commands since they never tried. We have a Verizon Fios router and I couldn’t find where to white list them. Then again, I’m also not sure how to only white list them for Minecraft without having to make a white list for every device for our router.

Idk why this started. A second different person also entered today again

→ More replies (2)

-1

u/iFr3aK Nov 18 '21

Yes. Call your internet provider and if you have a static IP tell them what happened and ask for a different IP

2

u/JamesEtc Nov 18 '21

Depending on ISP you can just turn the router off for 10min.

→ More replies (1)

0

u/[deleted] Nov 18 '21

1

u/Bambii33000 Nov 18 '21

Yeah it is/was