A proof of concept ransomware example, written in golang language. Uses built in crypto module in golang.
go build
With xgo
# For linux amd64
xgo --targets=linux/amd64 .
-
Copy
toencrypt-clone
contents totoencrypt
-
Run
./trickster-ransomware-poc
# or, if cross compiling
./trickster-ransomware-poc-linux-amd64
Add --decrypt
flag when running the program. Enter the password which can be found inside the source code in the variable KeyStr
.
./trickster-ransomware-poc --decrypt