DSTCyber / safe-deobs-evaluation

Artifact for "Optimizing Away JavaScript Obfuscation" paper

Home Page:https://arxiv.org/abs/2009.09170

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SAFE-DEOBS

This repo contains scripts to reproduce the results in the paper "Optimizing Away JavaScript Obfuscation".

Requirements

  • Bash
  • GNU parallel
  • Nodejs
  • Scala
  • Python tabulate package

Usage

Clone the repo:

git clone --recursive https://github.com/DSTCyber/safe-deobs-evaluation.git

Build 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/dir

Normalize dataset:

./02-normalize.sh /path/to/output/dir

Remove duplicate files:

./03-dedup.sh /path/to/output/dir

Deobfuscate the samples:

./04-deob.sh /path/to/output/dir

Generate complexity reports:

./05-cr.sh /path/to/output/dir

Summarise complexity statistics:

./06-cr.py /path/to/output/dir

About

Artifact for "Optimizing Away JavaScript Obfuscation" paper

https://arxiv.org/abs/2009.09170


Languages

Language:Shell 68.9%Language:Python 31.1%