Hi everyone, I’m reaching out because I encountered a strange and concerning issue with my Minecraft server. About an hour ago, I was inexplicably de-opped. As the server owner, this immediately raised red flags, suggesting a potential minecraft hack for server. I quickly re-opped myself and took immediate steps to secure the server. I shut it down, changed passwords for both the root and Minecraft user, and disabled external SSH access. After restarting the server, everything seemed normal, but the initial incident is deeply worrying.
The most concerning part is understanding how this happened in the first place. Someone, somehow, managed to gain unauthorized access, even bypassing nohup. To prevent this from happening again, I need help identifying the vulnerability and implementing robust security measures.
To give you more context, here are my server specifications:
- Hosting: Home-hosted on SUSE Linux Enterprise (11 SP2) 32bit
- Java Version: Java 1.7 32bit (from openSUSE repository)
- Bukkit Build: Online mode enabled, rcon active but not externally accessible, query enabled.
- Firewall: Active, allowing only HTTP, CraftBukkit, and SSH services.
- SSH: Was externally accessible (now disabled). Port forwarding was configured on my router.
- Server Start Command:
nohup java -Xmx2512M -Xms2512M -Xincgc -jar craftbukkit.jar
For a detailed look, I’ve uploaded the server log to Pastebin: Pastebin of server.log
Update: Upon reviewing the server log, I discovered a command execution that I didn’t initiate. At the time, I was away from my computer. This points towards either a client-side issue or, more likely, unauthorized server-side activity related to a minecraft hack for server.
My client details are as follows:
- OS: Xubuntu 12.04
- Java Version: Java 6, update 24 (OpenJDK Runtime Environment IcedTea6 1.11.5)
- Minecraft Client: Vanilla
Any insights or suggestions on how a minecraft hack for server like this could occur and how to prevent future incidents would be greatly appreciated. I’m particularly interested in understanding if this could be related to a Bukkit or Java exploit. Thank you in advance for your help!