Skip to content

mitsuakki/obfuscation-papers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

As part of my work-study program as a reverse engineer, I'm in charge of analyzing the various layers of obfuscation in compiled code through the interfaces of the Tigress and OLLVM compilers. The final rendering is a GUI overlay for three types of decompiler (IDA Pro, Ghidra, and Binary Ninja) to enable real-time code clean-up with a native C plugin or an external Python script (which I'll have to justify with a benchmark).

Obfuscation Overview

Software obfuscation is a method to make programs more difficult to reverse engineer. There are multiple reasons why this is done, such as protecting intellectual property, defense in depth, or hiding bugs. No matter the reason, there are multiple ways to make the software more difficult to understand, from fully manual modifications to advanced commercial obfuscation frameworks.

Before trying to de-obfuscate anything and everything, you need to understand how obfuscation works, its different application and abstraction layers, and above all, how it works with LLVM and Tigress.

Obfuscation In General

The detailed analysis of general obfuscation techniques is documented here.

Important

In the first demo version I mainly used Ghidra for analyses, and in the second one i used IDA Pro 9.0

Benchmarks

To justify the use of a native C plugin versus an external Python script, benchmark details are provided here.


Note

Feel free to navigate through the links to get a more comprehensive understanding of each section.
This analyse is not written into notebooks because it have some github markdown integrations that JupyterNoteBooks doesn't have.

Quote us

You can site this analyse using the following Bibtex entry:

@misc{reverse_engineering_analysis,
  author       = {Alexis Daugé (mitsuakki)},
  title        = {Research into obfuscation techniques},
  year         = {2024},
  howpublished = {Work-Study Program Report},
  url          = {https://github.com/sovereign-club/obfuscation},
}

References

Releases

No releases published

Packages

No packages published

Languages