We maintain the upstream PUSHAN port in angr/angr#7680, which we plan to merge into angr.
PUSHAN recovers CFGs and C-like pseudocode from virtualization-obfuscated binaries. This release contains:
| Component | Location |
|---|---|
| PUSHAN tool and its dependencies | pushan/ |
| Sample configurations, inputs and available reference results | samples/ |
| CFG similarity evaluator, reference datasets and tests | pushan-eval/ |
The Dockerfile installs the required Python environments. PUSHAN's original contributions are licensed under BSD-2-Clause. Third-party components and samples retain their respective licenses and redistribution restrictions; see notices.
Paper: PUSHAN (NDSS 2027, PDF).
If you use PUSHAN in your research, please cite:
@inproceedings{sudhir2027pushan,
title={{PUSHAN}: Trace-Free Deobfuscation of Virtualization-Obfuscated Binaries},
author={Sudhir, Ashwin and Basque, Zion Leonahenahe and Gibbs, Wil and Bajaj, Ati Priya and Singaria, Pulkit Singh and Zakocs, Mitchell and Hu, Jie and Schloegel, Moritz and Bao, Tiffany and Doup{\'e}, Adam and Shoshitaishvili, Yan and Wang, Ruoyu},
booktitle={Network and Distributed System Security Symposium (NDSS)},
year={2027}
}Use Docker on Linux amd64 (x86-64). From the repository root, build the image:
docker build -t pushan-artifact:latest .From the repository root, start a shell with PUSHAN installed and the release directory mounted:
docker run -it --rm -v "$PWD:/work" pushan-artifact:latestThe -v "$PWD:/work" option shares the current host directory ($PWD) at /work inside the container, including the bundled sample scripts and inputs. PUSHAN and its dependencies are already installed in the image. Changes under /work are immediately visible on the host and remain after the container exits. The first build needs internet access to download the Ubuntu base image, system packages and Python dependencies. Run the same Docker command whenever you need another shell.
The container runs as root by default. Add --user "$(id -u):$(id -g)" if you want new files owned by your host user, or --network none to run offline.
The image contains two separate virtual environments because PUSHAN and the evaluator require different angr versions:
| Task | Environment | angr version |
|---|---|---|
| Run sample analysis scripts | /opt/pushan |
9.2.83.dev0 |
| Run pushan-eval | /opt/eval |
9.2.100 |
Docker initially puts /opt/pushan/bin first on PATH, so plain python already selects PUSHAN. The commands below explicitly activate the appropriate environment so switching between tasks is clear.
Inside the container:
source /opt/pushan/bin/activate
cd /work/samples/just_if_vmp
python script.pyEach sample's script.py contains its default analysis settings. To run another sample, change to its directory under /work/samples/ and run python script.py.
Results are written alongside the script. For this example, inspect these files directly on the host:
samples/just_if_vmp/last_decomp_result.c
samples/just_if_vmp/raw_ail_pickle.pickle
samples/tigress-large-scale/ contains the 1000 Tigress-virtualized binaries from the large-scale evaluation, the paper's per-sample results and the solve scripts. Run one sample with ./run_sample.sh <sample> from that directory in the /opt/pushan environment. See its README, which also explains how to get Tigress 2.2 to generate new samples.
The four VMProtect case studies in Section VIII-F and Appendix C of the paper have their configurations and reference C results directly under samples/. The original VirusTotal files are not distributed. Users with VirusTotal download access can obtain the originals through the reports below:
| Sample directory | Original (SHA-256 / VirusTotal) |
|---|---|
diskgen |
47ae162c83cfc2302f795774aa19fb5090817362781643224157e285244eb295 |
cnicdriver_sys_b97fee512e |
b97fee512e8f5611aa23a86bbbad3844556ddfe191c331e93cccef2603825d5e |
multikey_sys_0c7806ff |
0c7806ff710d34d12075d8d0b728a58723fbcb3b3f9ef94ef5a247eeed94f0d6 |
pchunter_1_0_0_5_2018_04_c82ecb56a7 |
c82ecb56a7ebd461c99e9c292861105eb7c49c88dac5d3ea853035654be88a62 |
The diskgen case study (Section VIII-F, reference [45]) analyzes a VMProtect-protected DiskGenius crack obtained from VirusTotal. Its script.py uses the included memory dump, diskgen_00007FF74DA70000.bin, so downloading the original is optional for running the supplied analysis. The hash above identifies the original executable, not the memory dump.
For CNICDriver, PCHunter and MultiKey (Appendix C), obtain each required original privately and place it beside the matching script.py, using its SHA-256 as the filename.
Use the /opt/pushan environment for all four samples. Change to the corresponding directory under /work/samples/ and run python script.py. The original filenames are excluded from Git and Docker builds. Keep the originals private.
pushan-eval/ contains the CFG similarity evaluator, reference datasets and tests. Its separate angr dependency is in pushan-eval/pushan-eval-angr/.
Inside the same container, run the bundled reference evaluation:
source /opt/eval/bin/activate
cd /work/pushan-eval
python tests/test_deobfuscation_eval.pyThese tests score the bundled saved CFGs. To return to sample analysis in the same shell, run source /opt/pushan/bin/activate. See the evaluator README for further usage instructions.
To score a fresh result, use evaluate_on_files in the /opt/eval environment with the generated raw_ail_pickle.pickle, a matching unobfuscated binary, its original function address and appropriate call-name mappings.