Cyber security

Prince Ransomware – A New Threat In Cybersecurity

Prince now has a Windows Defender flag, namely “Ransom:Win64/PrinceRansom.YAA!MTB”. This means that Prince Ransomware will no longer bypass Windows Defender without modifications to remove the signature.

If, for whatever reason, bypassing Windows Defender is a priority for you, contact me on Telegram and I will accept payment for any changes you may require.

Brief Overview

Prince is a ransomware written from scratch in Go. It uses a mixture of ChaCha20 and ECIES cryptography in order to encrypt files securely so that they cannot be recovered by traditional recovery tools.

Files which have been encrypted by Prince can only be decrypted using the corresponding decryptor.

Installation And Setup

Pre-requisites:

Compiling The Builder

  • In order to compile the builder program, you must run the Build.bat file.
  • This will automatically download the dependencies and build the Builder.exe file in the current directory.

Building The Ransomware

  • In order to build the encryptor and decryptor, you must run the Builder.exe program.
  • Ensure that the builder is in the same directory as the Encryptor and Decryptor directories, as it will not be able to build them otherwise.
  • The builder will generate a unique ECIES key pair and output the compiled executables to the current directory.
  • The Prince-Built.exe file is the encryptor. Use caution when handling it as it can cause a lot of damage to your system.
  • The Decryptor-Built.exe file is the decryptor. It will only decrypt files which were decrypted by the corresponding encryptor.

Encryption Process

  • The encryptor enumerates all drives on the system, and proceeds to iterate through each directory recursively.
  • It ignores blacklisted files, directories and extensions.
  • It generates a unique ChaCha20 key and nonce for each file, and encrypts the file using a pattern of 1 byte encrypted, 2 bytes unencrypted.
  • It encrypts the ChaCha20 key and nonce using the ECIES public key, and prepends them to the start of the file.

Benefits Of ChaCha20 And ECIES

I chose this unique combination of encryption methods for several reasons:

  • ChaCha20’s stream-based approach allows for byte-by-byte encryption, enabling the pattern of 1 byte encrypted, 2 bytes unencrypted.
  • ECIES offers similar security to RSA with shorter key lengths, making it a more efficient choice.

For more information click here.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

HikPwn : Simple Scanner For Hikvision Devices With Basic Vulnerability Scanning

HikPwn: Comprehensive Guide to Scanning Hikvision Devices for Vulnerabilities If you’re searching for an efficient…

14 hours ago

Comments in Bash Scripts

What Are Bash Comments? Comments in Bash scripts, are notes in your code that the…

6 days ago

Shebang (#!) in Bash Script

When you write a Bash script in Linux, you want it to run correctly every…

7 days ago

Bash String Concatenation – Bash Scripting

Introduction If you’re new to Bash scripting, one of the first skills you’ll need is…

7 days ago

Learn Bash Scripting: How to Create and Run Shell Scripts for Beginners

What is Bash Scripting? Bash scripting allows you to save multiple Linux commands in a file and…

1 week ago

Bash if…else Statement – Bash Scripting

When it comes to automating tasks on Linux, Bash scripting is an essential skill for both beginners…

1 week ago