Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I need to analyze a java application (a .jar file) for a war game. I know java can be decompiled, but the coder apparently did a lot of obfuscation to prevent the reverse engineers from understanding how his/her application works. So I thought it would be better if I used a debugger. Would you guys recommend me a debugger like ollydbg but for debugging java applets?

share|improve this question

1 Answer 1

jdb/jdebugtool seem to fit your requirements.

Though a decompile (http://java.decompiler.free.fr/), pulling into your favourite IDE and then stepping through may be a neater approach? That way you can isolate methods and play with them individually. If you have a behaviour you want performed, that you can identify, such as incrementing a specific counter, you can cut through a lot of obfuscation by stepping through from something else (such as click button 'A') that you know should have that ultimate effect.

share|improve this answer
    
well, in this article it is said why decompiling and recompilinng java apps is not a good idea. But anyway, I tried that and looks like the coder had thought of this and the app didn't work as expected. –  Wise Feb 10 '13 at 11:16
    
It's definitely not a good idea for production code, but for research purposes it can provide significant insight. –  Bob Watson Feb 10 '13 at 11:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.