alexopth1512
August 2nd, 2010, 18:26
I have this application that has encrypted java .jar files. Cant decompile with JAD etc.
There is a custom private_jre directory that most probably loads from special rt.jar but I cant figure out what is happening... (really no java knowledge but assembly, C... )
So I was thinking a way to breakpoint on java.dll and _java_java_classloader_defineclass calls, so i will be able to get the loading java classes (too many "java" in this text d@mm) and dump them from memory, hoping that they will be decrypted.
A thought was to attach to javaw.exe but the application will not stop on any point, if it detects altered jars or dlls it exits during launch.
So far I found with WinHex the 0xCAFEBABE segments on javaw.exe memory space and dumped them but i think i didnt get all the info, information is missing.
So, if i use a simple C program that executes the "java -jar app.jar etc", will I be able to use Ollydbg, going to javaw.exe?
Or any other ideas welcome.
BTW, hello to this forum, after years of RCE (starting from Amstrads 20 years ago) this is my 1st post on a forum...
There is a custom private_jre directory that most probably loads from special rt.jar but I cant figure out what is happening... (really no java knowledge but assembly, C... )
So I was thinking a way to breakpoint on java.dll and _java_java_classloader_defineclass calls, so i will be able to get the loading java classes (too many "java" in this text d@mm) and dump them from memory, hoping that they will be decrypted.
A thought was to attach to javaw.exe but the application will not stop on any point, if it detects altered jars or dlls it exits during launch.
So far I found with WinHex the 0xCAFEBABE segments on javaw.exe memory space and dumped them but i think i didnt get all the info, information is missing.
So, if i use a simple C program that executes the "java -jar app.jar etc", will I be able to use Ollydbg, going to javaw.exe?
Or any other ideas welcome.
BTW, hello to this forum, after years of RCE (starting from Amstrads 20 years ago) this is my 1st post on a forum...