obfuscated-exebench / README.md
leachl's picture
Update README with train + 3 test splits
f50d02e verified
|
Raw History Blame
3.94 kB
metadata
license: mit
task_categories:
  - translation
language:
  - en
tags:
  - assembly
  - deobfuscation
  - llvm-ir
  - aarch64
  - binary-analysis
  - reverse-engineering
  - code
  - obfuscation
  - tigress
  - exebench
pretty_name: Obfuscated ExeBench (AArch64)
size_categories:
  - 100K<n<1M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train/*.parquet
      - split: test_flatten
        path: data/test_flatten/*.parquet
      - split: test_encode_arithmetic
        path: data/test_encode_arithmetic/*.parquet
      - split: test_combined
        path: data/test_combined/*.parquet

Obfuscated ExeBench (AArch64)

A large-scale dataset of obfuscated AArch64 assembly functions paired with their clean LLVM IR, original C source code, and clean assembly. Designed for training neural models that can deobfuscate and lift obfuscated binary code.

Dataset Summary

Property Value
Training samples ~980,000 (from ExeBench train_synth_compilable)
Test samples 11,726 (3,909 Flatten / 3,908 EncodeArithmetic / 3,909 Combined)
Test source ExeBench test_synth (unseen functions)
Architecture AArch64 (ARM64)
Obfuscator Tigress 4.0.11
Compiler aarch64-linux-gnu-gcc 15.2.0 (-S -O0 -std=c11 -w)
Techniques Control-Flow Flattening, Arithmetic Encoding, Combined
Format Parquet with Snappy compression

Splits

Split Rows Source Techniques
train ~980,000 ExeBench train_synth_compilable All three (balanced ⅓ each)
test_flatten 3,909 ExeBench test_synth Flatten only
test_encode_arithmetic 3,908 ExeBench test_synth EncodeArithmetic only
test_combined 3,909 ExeBench test_synth Flatten+EncodeArithmetic

Columns

Column Type Description
fname string Function name
func_def string Original C source code of the function
technique string Obfuscation technique applied
clean_asm string Clean AArch64 assembly from ExeBench (angha_gcc_arm_O0)
obfuscated_asm string Obfuscated AArch64 assembly (after Tigress → GCC)
clean_ir string Clean LLVM IR from ExeBench (angha_clang_ir_O0)
obfuscated_c string Tigress-obfuscated C source (target function only, runtime stripped)
tigress_seed int32 Random seed used for Tigress (for reproducibility)
exebench_split string Source ExeBench split name

Usage

from datasets import load_dataset

# Training data (all techniques)
train = load_dataset("leachl/obfuscated-exebench", split="train", streaming=True)

# Test sets (one per technique, from unseen test_synth functions)
test_flat = load_dataset("leachl/obfuscated-exebench", split="test_flatten")
test_ea   = load_dataset("leachl/obfuscated-exebench", split="test_encode_arithmetic")
test_comb = load_dataset("leachl/obfuscated-exebench", split="test_combined")

Obfuscation Techniques

Each function is independently obfuscated with one of three Tigress transformations:

Technique Tigress Flag Description
Flatten --Transform=Flatten Control-flow flattening — replaces structured control flow with a switch-in-a-loop dispatcher
EncodeArithmetic --Transform=EncodeArithmetic Replaces simple arithmetic/boolean expressions with equivalent but complex MBA expressions
Flatten+EncodeArithmetic Both transforms Combined: flattening + arithmetic encoding applied sequentially

Tigress Runtime

A representative Tigress runtime (~480 KB, ~7400 lines of C) is stored in tigress_runtime.c. The obfuscated_c column contains only the target function body (runtime stripped).

License

MIT — same as the underlying ExeBench dataset.