An easy-to-use tool to scan classes inside jar files.
This tool has only one objective, avoid executing malware made in Java, it will analyze every class inside a .jar
or .zip file.
- ClassLoadingCheck: Search for ClassLoaders, and MethodInsnNode instructions which call
defineClass()orUnsafe.defineAnonymousClass(). - CommandCheck: Search for MethodInsnNode instructions which call
Runtime.exec(),ProcessBuilder.command()orProcessBuilder.<init>. - ConnectionCheck: Search for LocalVariableNode which contains
java/net/URLConnection,java/net/HttpURLConnection,java/net/Socket,etcand MethodInsnNode instructions which callURL.openConnection()orURL.openStream(). - FileDeletionCheck: Search for MethodInsnNode instructions which call
File.delete(),File.deleteOnExit(),Files:deleteIfExists,etc. - NativeLibraryCheck: Search for MethodInsnNode instructions which call
System.load(),Native.loadLibrary(), andothers. - ReflectionCheck: Search for MethodInsnNode instructions which call
Class.getDeclaredField()orClass.getDeclaredMethod(). - URLCheck: Search for valid
java/net/URLinside fields, local variables and validjava/lang/Stringwhich are URIs.
2.- If you add
im/a/excluded/directory/to the exclusions table, every class inside that package will be ignored.
Note: Add the exclusions before importing the jar!
Download the latest release.




