Skip to content
CyberGate Keylogger Decryption Tool
Branch: master
Clone or download
Mark Spencer Mark Spencer
Mark Spencer and Mark Spencer Update
Latest commit 6ac20b5 Mar 10, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Mar 10, 2019 Update Mar 10, 2019

CyberGate Keylogger Decryption Tool

Arsenal's CyberGate Keylogger Decryption Tool is a python tool that can be used against CyberGate encrypted keylogger files (either whole or in part, provided that the individual record is intact) to decode the cipher text and return the original plaintext that was captured by the RAT.

Fragmented entries from the file must start with '####'.

It is assumed that you know what your decryption key is. If you do not know your decryption key, but do have the RAT live/installed on a system you control, a chosen-text attack is a good way to derive the key. Note that '\n' and '\r' are not included in the XOR.


Run with python3: python3 INPUTFILE

The script will write the decrypted output to a file called INPUTFILE_decrypted


Contributions and improvements to the code are welcomed.


Distributed under the MIT License. See for details.

More Information

To learn more about Arsenal’s digital forensics software and training, please visit and follow us on Twitter @ArsenalRecon (

To learn more about Arsenal’s digital forensics consulting services, please visit and follow us on Twitter @ArsenalArmed (

You can’t perform that action at this time.