Skip to content

Konloch/JVM-Sandbox

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

JVM Sandbox

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

A screenshot of JVM Sandbox A screenshot of JVM Sandbox

πŸ’‘ Requirements

  • Java Runtime 1.8 or higher

βš™οΈ How To Use

  1. Download the zip file containing the jar and .bat/.sh files.
  2. Click the .bat or .sh depending on your OS
  3. Import the jar you wish to sandbox/debug
  4. Enter the main and method class it'll invoke
  5. 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, breaks classloading)

πŸ“š Resources

πŸ‘¨β€πŸ’» Disclaimer

  • This is a demo / experiment / proof of concept.
  • This was last modified on January 27th, 2015.

About

Utilize Java Agents and ASM to modify then override Java SE classes. (In this case blocking java.lang.Runtime.exec)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages