Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deobfuscate-javascript

Deobfuscate-JavaScript

Statically deobfuscate JavaScript using js-deobfuscator — unpacks literal arrays, replaces/removes proxy functions, simplifies expressions and dead branches, renames hex identifiers, simplifies properties, beautifies

MITRE ATT&CK approval root


Overview

Deobfuscate JavaScript files using the js-deobfuscator CLI tool. The tool performs purely static analysis on the AST: it unpacks literal arrays, replaces and removes proxy functions, simplifies expressions and dead branches, renames hex identifiers, simplifies properties, and beautifies the result.

At a Glance

Property Value
MITRE ATT&CK Tactic Reconnaissance (TA0043)
Requires Approval No
Requires Root Never
Install Timeout 300s

Installation

 Install
sudo apt-get update && sudo apt-get install -y nodejs npm && sudo npm install -g js-deobfuscator
 Verify installation
command -v js-deobfuscator >/dev/null 2>&1 && js-deobfuscator --help >/dev/null 2>&1
 Uninstall
sudo npm uninstall -g js-deobfuscator
 Optional dependencies

nodejs

sudo apt-get update && sudo apt-get install -y nodejs npm

npm

sudo apt-get update && sudo apt-get install -y npm

Note

Installing js-deobfuscator via npm (requires Node.js)...

Documentation

File Contents
SKILL.md Parameter reference, returns, examples, edge cases
INSTALL.md Install / uninstall pipeline
handler.py Python implementation

Part of the OpenWar skills/tools collection

About

The official skill for deobfuscate-javascript for Openwar

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages