WSTDecryptor is a tool to automatically extract and decrypt webshell/backdoor communications from a pcap(ng).
Contains support for:
- SharPyShell : extraction and decryption with a script to further extract an decrypt payloads from that initial output
- Godzilla : extraction and decryption
- Weevely3 : extraction and decryption
- P.A.S. fork : an unpacking script
pip3 install -r requirements.txt
php-climust be installed if using the Weevely3 module.powershellmust be on the machine if using--extractwith the SharPyShell module.
__ __ ______ ______ _____
/\ \ _ \ \ /\ ___\ /\__ _\ /\ __-.
\ \ \/ ".\ \ \ \___ \ \/_/\ \/ \ \ \/\ \
\ \__/".~\_\ \/\_____\ \ \_\ \ \____-
\/_/ \/_/ \/_____/ \/_/ \/____/
Web Shell Traffic Decryptor - @rb3nzr
usage: WSTDecryptor [-h] {findshell,weevely3,sharpyshell,godzilla} ...
positional arguments:
{findshell,weevely3,sharpyshell,godzilla}
findshell Looks for keys and webshells in the capture file.
If any webshells are located then the payload is extracted to output/ex_webshells.
weevely3 Extract and decrypt traffic sent to a Weevely3 webshell
sharpyshell Extract and decrypt traffic sent to a SharPyShell webshell
godzilla Extract and decrypt traffic sent to a Godzilla webshell
options:
-h, --help show this help message and exit
Examples:
python WSTDecryptor.py [webshell type] -h
python WSTDecryptor.py sharpyshell -p sample.pcapng -i X.X.X.X -k <key> --extract
python WSTDecryptor.py findshell -p sample.pcapng