1 / 11

Obfuscation techniques in Java

Obfuscation techniques in Java. Therese Berge Jonas Ringedal. Presentation. Goal of the project Background Obfuscation techniques Tests Evaluation and results. Goal of the project. Gain knowledge about different obfuscation techniques Find the best technique for us

kfair
Download Presentation

Obfuscation techniques in Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Obfuscation techniques in Java Therese Berge Jonas Ringedal

  2. Presentation • Goal of the project • Background • Obfuscation techniques • Tests • Evaluation and results

  3. Goal of the project • Gain knowledge about different obfuscation techniques • Find the best technique for us • Testing existing programs • Evaluating the techniques

  4. Background • Java increased the threat of reverse engineering • High-level bytecode • Platform independent • Portable • Anyone can have access to the bytecode • Reverse engineering • Analyse system to create higher level representation • Recreate Java source code

  5. Obfuscation techniques • Layout Obfuscation • Data Obfuscation • Control Obfuscation • Preventative Transformations

  6. Layout Obfuscation • Changing variables • Removing comments • Both methods: • Free of cost • One way functions

  7. Data Obfuscation • Encoding for(int i = 0; i < 100; i++ ){} f(i) = 2*i+5 for(int i = 5; i < 205; i =i+2){} • Split array • Change ordering • Variable declaration spread out

  8. Control Obfuscation • Hide information flow • Dead code • Parallelize Code

  9. Preventative Transformations • Crash deobfuscators • Use known weaknesses Stealth • Hide obfuscation

  10. Tests • Obfuscator: JShrink • Decompiler: JAD • Test code: Password.java Test results • JShrink • JAD from .class • JAD from obfuscated code

  11. Evaluation and results • Obfuscators major tools for protecting Java programs from reverse engineering • Hard to find free programs • Layout Obfuscation not enough • Best: Combination of manually changed code, stealth and obfuscators. • Goal achieved

More Related