GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - maiyao1988/deobf: An arm32 ollvm like deofuscator,aim to remove obfuscation made by ollvm like compiler

BranchesTags
Open more actions menu

Latest commit

 

History

226 Commits
226 Commits

Folders and files

NameName
Last commit message
Last commit date
deobf
deobf
 
 
doc
doc
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
decms-ob.py
decms-ob.py
 
 
deobf.py
deobf.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

deobf

An experimental ollvm like deofuscator,aim to remove obfuscation made by ollvm like compiler, exspecially FLA to make reverse engineering easier... 中文原理说明

Usage

In the future this will be possible through pypi.

Make sure you are using python 3.7.

  1. Clone the repository
  2. Run pip install -r requirements.txt

If you have trouble getting the keystone-engine dependency on Windows (as I did):

  1. Clone their repository
  2. Open a terminal in bindings/python
  3. Run python setup.py install (Make sure you are using python 3.7)
  4. Download their Windows - Core engine package here for your python arch.
  5. Put the keystone.dll in C:\location_to_python\Lib\site-packages\keystone\.

3.run python deobf.py <elf_path> <elf_out_path> <trace_path> <func_start_hex> <func_end_hex> <is_thumb>

  • <elf_path> the input ELF to remove obfuscate
  • <elf_out_path> output ELF
  • <trace_path> the trace file path of the target function, which contains the instruction trace, can be collect by ida trace break point.there is an example file tests/bin/data/ins-url.trc
  • <func_start_hex> the start offset of the target function
  • <func_end_hex> the end offset of the target function
  • <is_thumb> 0/1 is the target function is thumb
  • <type> [optional] the detector type, not passing is ok for many case

example python deobf.py tests/bin/libmakeurl2.4.9.so url.so tests/data/ins-url.trc 0x0000342C 0x00003668 1

  • This should deobf libmakeurl2.4.9.so JNI_ONLoad, you can see the output url.so JNI_ONLoad, has been simplified.

Dependencies

  • Keystone assembler framework

About

An arm32 ollvm like deofuscator,aim to remove obfuscation made by ollvm like compiler

Topics

androidarmofuscateollvm

Resources

Readme
Activity

Stars

229 stars

Watchers

13 watching

Forks

99 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.