The encryption process involves the following steps:
- Generate a User ID: A unique user ID is generated to identify the victim.
- Generate an Encryption Key: A 256-bit AES encryption key is generated randomly.
- Encrypt Files: All files in the specified target directory are recursively encrypted using AES-GCM (Galois/Counter Mode). Each file is encrypted with a unique nonce.
- Send Notification: A notification containing the user ID, encrypted directory, and encryption key is sent to a specified Discord webhook.
- Create Ransom Note: A ransom note is created on the victim's desktop, providing instructions on how to pay the ransom and recover the encrypted files.
The decryption process involves the following steps:
- Obtain Decryption Key: The victim must obtain the decryption key by following the instructions in the ransom note.
- Decrypt Files: The victim uses the provided decryption script to decrypt the encrypted files using the obtained key.
Replace the placeholders in the script with appropriate values:
dischook
: Your Discord webhook URL.targetDir
: The directory to encrypt.xmraddr
: Your Monero address for receiving the ransom.cashamt
: The ransom amount.email
: Your contact email.