Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

mathisvickie/mc-backdoor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

mc-backdoor

PoC minecraft 1.12.2 backdoor plugin

Simple Proof of concept backdoor plugin for minecraft server that should show all admins that drag & dropping shit in /plugins/ folder is same stupid as downloading and running random unsigned binary file. In this case the backdoor consist only of in-game priviledge escalation, any user knowing token #aExFvSdqIOelF! will be able to execute arbitrary server console command (giving any items including bedrock to break economy, editing NBT of items to create OP 32K stuff, up to banning players from server). This is not just in-game specific since we can run any java code on that server we have also access to filesystem, running unknown/untrusty plugins may lead to compromisation of whole server.

Since i lost source code and all stuff around it, i just have this binary. You should download java decompiler to see source, its not a big deal: whole plugin has around 10 lines. In my opinion hiding these lines in large (>100kb) plugins will make the backdoor nearly undetectable even for people who are fast-checking plugins.

EDIT: I had some spare time so I uploaded decompiled plugin source code. HF!