Obfuscation Detection banner
mrphrazer mrphrazer

Obfuscation Detection

Development community

Description

Binary Ninja plugin to identify obfuscated code and other interesting code constructs

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Obfuscation Detection (v2.3)

Author: **Tim Blazytko**

_Automatically detect obfuscated code and other interesting code constructs_

Description:

_Obfuscation Detection_ is a Binary Ninja plugin to detect obfuscated code and interesting code constructs (e.g., state machines) in binaries. Given a binary, the plugin eases analysis by identifying code locations which might be worth a closer look during reverse engineering.

Based on various heuristics, the plugin pinpoints functions that contain complex or uncommon code constructs. Such code constructs may implement

  • obfuscated code
  • state machines and protocols
  • C&C server communication
  • string decryption routines
  • cryptographic algorithms

The following blog posts provide more information about the underlying heuristics and demonstrate their use cases:

Some example use cases can be found in [examples](./examples). Furthermore, the REcon talk ["Unveiling Secrets in Binaries using Code Detection Strategies"](https://cfp.recon.cx/2023/talk/QD8UNJ/) demonstrates some use cases. The slides can be found [here](./presentation/recon23_code_detection.pdf); the recording can be found [here](https://www.youtube.com/watch?v=y95MNr2Xu-g).

Core Features

  • identifies interesting code constructs in large binaries
  • highlights disaligned instructions in Binary Ninja's graph view
  • efficient and architecture-agnostic implementation
  • runs as a background task
  • can be used in UI and headless mode

Installation

The tool can be installed using Binary Ninja's plugin manager.

For the headl