Skip to content

Instantly share code, notes, and snippets.

@tarcisio-marinho
Created August 30, 2018 03:52
Show Gist options
  • Save tarcisio-marinho/db00dd23f646d59aa027f60a4ef0649d to your computer and use it in GitHub Desktop.
Save tarcisio-marinho/db00dd23f646d59aa027f60a4ef0649d to your computer and use it in GitHub Desktop.
# some encrypted keys
encrypted_client_private_key = ""
encrypted_AES_keys = ""
# when the victim pay the ransom
# get Cpriv.key back
client_private_key = request_server_decrypt_client_private_key(encrypted_client_private_key)
# decrypt aes_keys with Cpriv.key
aes_keys = decrypt_aes_keys(encrypted_AES_keys, client_private_key)
# get files back
# decrypting the victim files
decrypt_files(aes_keys)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment