Releases: Swofty-Developments/MinecraftInjectionPOC
Releases · Swofty-Developments/MinecraftInjectionPOC
v2.0.0 - Complete Native Rewrite
What's Changed
Complete rewrite from Java agent-based injection to native Linux ptrace injection.
Highlights
- Native ptrace injector — injects a shared library into a running JVM process without Java agents
- JNI bootstrap — attaches to the JVM from native code, creates an isolated ClassLoader, and defines classes at runtime
- Clean unload — direct
munmap-based self-unload that bypassesdlcloseto avoid glibc crashes - Obfuscated MC 1.8.9 support — reflection-based discovery of Minecraft internals (chat, action bar, key input, scheduled tasks)
Components
src/injector.c— ptrace-based .so injector using memfd + pthread_createsrc/payload.c— injected library that bootstraps Java code via JNIsrc/unloader.c— external unloader utilityjava/Bootstrap.java— Java-side mod bootstrap with reflection-based MC integration
v1.0.0
Initial release of the Minecraft JVMTI Injection POC.
Files:
injector.jar— Run this on the host to attach to a running Minecraft JVMagent.jar— Full agent loaded by the stealth classloaderbootstrap.jar— Minimal bootstrap classes (must be in the same directory as agent.jar)
Usage:
java --add-opens java.base/java.lang=ALL-UNNAMED -cp injector.jar dev.injector.Injector agent.jarRequires JDK 21 on the host. Minecraft 1.8.9 must be running on Java 8.