Skip to content

A python script to decrypt the strings inside the EKANS ransomware

Notifications You must be signed in to change notification settings

idafchev/EKANS-String-Decryptor

Repository files navigation

EKANS String Decryptor

A python script to decrypt the strings inside the EKANS ransomware.
The script is tested with only two samples, so there might be bugs.

There are several output formats.
It can generate an IDA IDC script suitable for bulk renaming all string decryption functions.
Just Shift+F2, copy/paste and run.

It can also geneare a ghidra python script, again to bulk rename all string decryption functions. Was too lazy to reimplement the script with the Ghidra API.

Usage: ./ekans_decrypt_strings.py [options] filename
Options:
 -s print full strings
 -c print column formatted (tab separated) output
    strings are trimmed to include maximum 20 characters.
 -i output in IDA IDC script format
    useful to bulk rename all functions
 -g output in Ghidra python script format
    useful to bulk rename all functions

About

A python script to decrypt the strings inside the EKANS ransomware

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages