This repo contains scripts to reproduce the results in the paper "Optimizing Away JavaScript Obfuscation".
- Bash
- GNU parallel
- Nodejs
- Scala
- Python
tabulatepackage
Clone the repo:
git clone --recursive https://github.com/DSTCyber/safe-deobs-evaluation.gitBuild safe-deobs:
cd safe-deobs-evaluation/safe-deobs
export SAFE_HOME=$(pwd)
sbt compile
cd ..Check which samples are parsable:
./01-parse.sh /path/to/output/dirNormalize dataset:
./02-normalize.sh /path/to/output/dirRemove duplicate files:
./03-dedup.sh /path/to/output/dirDeobfuscate the samples:
./04-deob.sh /path/to/output/dirGenerate complexity reports:
./05-cr.sh /path/to/output/dirSummarise complexity statistics:
./06-cr.py /path/to/output/dir