百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

binlex

> 安全
开源

二进制遗传特质出纳框架

599 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

二进制遗传特质出纳框架

Binlex - A Binary Genetic Trait Lexer Framework

Binlex extracts instructions, basic blocks, and functions from binaries and emits searchable JSON traits for reverse engineering, hunting, and similarity workflows. It models binary structure with a genomics-inspired hierarchy: genomes (instructions, blocks, functions), chromosomes (wildcarded patterns), allele pairs (bytes), and genes (nibbles). That representation makes malware analysis and binary similarity more systematic by enabling pattern-level comparison, clustering, and signature generation across large sample sets.

Features

  • Fast trait extraction for instructions, blocks, and functions
  • Hashing and traits: MinHash, TLSH, SHA256, entropy, and wildcard patterns
  • Normalization and feature pipelines for ML-oriented similarity workflows
  • Interfaces: CLI, Rust API, Python API/bindings, and IDA plugin
  • ⚙️ Processor framework in Rust with fast external execution over ipc and http
  • Build you own Rust processors to perform additional analysis
  • Tooling for YARA generation, symbol ingestion, and batch JSON workflows

Supported Targets

  • Platforms: Linux, macOS, Windows
  • Formats: PE, ELF, Mach-O
  • Architectures: AMD64, I386, CIL

Included Command-Line Tool Suite

  • binlex: main CLI for binary trait extraction
  • binlex-mcp: Model Context Protocol server for exposing Binlex tools to MCP clients
  • binlex-server: processor transport server for http workflows
  • binlex-hash: hashing utility
  • binlex-image: image-related utility
  • binlex-symbols: symbol ingestion and conversion helper
  • binlex-yara: generate YARA rules from Binlex-style patterns or streams

Build & Install ️

Rust API & Tooling

bash
cargo run --manifest-path xtask/Cargo.toml
cargo build --release --workspace

Python Bindings

bash
cd bindings/python/
virtualenv -p python3 venv/
source venv/bin/activate
pip install maturin[patchelf]
maturin develop

Packaging

bash
make zst   # Arch Linux
make deb   # Debian-based
make wheel # Python Wheel

IDA Plugin

bash
cd plugins/ida/
pip install .
python -m binlex_ida install

Docker Containers

bash
# Local Build and Start
docker compose -f compose.yml -f compose.local.yml up --build -d
# Start Using Docker Hub
docker compose -f compose.yml -f compose.remote.yml up -d

Documentation

Guides

  • Command-Line Guide
  • Custom Processors

Examples

  • Python Examples
  • Rust Examples

Rust API

bash
cargo doc --open

Configuration

Default configuration directories:

  • Linux: $XDG_CONFIG_HOME/binlex/binlex.toml or $HOME/.config/binlex/
  • macOS: $HOME/Library/Application Support/binlex/
  • Windows: %APPDATA%\binlex\

Citation

If you use Binlex in a journal publication or an open-source AI model, cite:

bibtex
@misc{binlex,
  author = {c3rb3ru5d3d53c},
  title = {binlex: A Binary Genetic Trait Lexer Framework},
  year = {2025},
  note = {Available at \\url{https://github.com/c3rb3ru5d3d53c/binlex}}
}

For any other corporate/personal usage or generated outputs (for example YARA rules), citation is not required.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustbinary-analysisbinary-codebinary-similaritybinlex

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.