Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Utilize Java Agents and ASM to modify then override Java SE classes. (In this case blocking java.lang.Runtime.exec)
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
JVM Sandbox - Utilize Java Agents and ASM to manipulate then override Java SE classes. Just a simple POC to block Runtime.exec for any Java jar This should work on all VMs on all OSs, if it doesn't please send an email to firstname.lastname@example.org with your OS and JVM information, thank you. How to use this: 0) Download the zip file containing the jar and .bat/.sh files. 1) Click the .bat or .sh depending on your OS 2) Import the jar you wish to sandbox/debug 3) Enter the main and method class it'll invoke 4) If you want to just test to see if it works, run the test.jar class. Features: Blocks all Runtime.exec calls Blocks the process builder Blocks awt.Robot Can block JNI (LOL)