Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WSTDecryptor

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

Usage

pip3 install -r requirements.txt
  • php-cli must be installed if using the Weevely3 module.
  • powershell must be on the machine if using --extract with 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

About

Extraction and decryption of webshell traffic from packet captures

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages