ObfSRC v1.1.0
This release contains a GUI & prebuilt binary
Published 02/26/2023 Updated 07/16/2023
ObfSRC is desktop application & library providing an experimental way to obfuscate Java source code through unicode escaping.
Desktop application (and optional library) that provides comprehensive malware protection with a user-friendly interface, focusing on Windows while also supporting other operating systems.
The Java-Compiler will automatically attempt to decode the escaped unicode, as a result the String turns into raw source code, rather than being defined in the scope of a String. Comments turn into raw source code, nothing is contained within the defined scope, I’m assuming the unicode decoding process happens very early in the parsing of the Java source file.
Once you have generated the payload, you can insert it into any class. Depending on the scope you choose, you could execute before the main function has been called.
//\u000A\u0073\u0074\u0061\u0074\u0069...
public static final String unicodeFilter = "\u0022\u003B\u0073\u0074\u0061\u0074...";
System.out.println("\u0022\u0029\u003B\u002F\u002F\u0061\u006E\u0079\u0020\u0076...");
Click here to view an example implementation.
This release contains a GUI & prebuilt binary
This is the first release, there is no CLI or GUI, just the source file to generate the payload.