Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wille/cry
Cross platform PoC ransomware written in Go
https://github.com/wille/cry
aes asymmetric cry crypto file go golang money poc ransomware rsa web
Last synced: about 10 hours ago
JSON representation
Cross platform PoC ransomware written in Go
- Host: GitHub
- URL: https://github.com/wille/cry
- Owner: wille
- Created: 2017-01-11T13:46:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-21T22:22:13.000Z (almost 8 years ago)
- Last Synced: 2024-06-18T20:26:27.122Z (5 months ago)
- Topics: aes, asymmetric, cry, crypto, file, go, golang, money, poc, ransomware, rsa, web
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 244
- Watchers: 7
- Forks: 332
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-cry
>some do not seem to understand that this is not even close to being complete, and manage to build a system that processes payments for this then you are probably able to write this on their own. I could say that this was a program that encrypts some of your files and stores it on a server and you would not bother
This project was written to show how easy it is to create extremely malicious code.
Ransomware is designed to take your most loved files hostage demanding large amounts of money to unlock them.
Clone of [native-tear](https://github.com/redpois0n/native-tear/) written in Go which is a clone of [hidden-tear](https://github.com/utkusen/hidden-tear/)
## Building
go-cry consists of two parts, a webserver and the client software.
Output files will be placed in `./bin/`Built with linker flags `-w -s` to minimize file size. To further reduce the size of Go binaries, please see the [UPX project](https://upx.github.io/)
### Building client and webserver
```
$ make
```Will create the files
- `./bin/web[.exe]`
- `./bin/cry[.exe]`### Building client for all common operating systems and architectures
```
$ make all
```Will create the files
- `./bin/windows_amd64.exe`
- `./bin/windows_x86.exe`
- `./bin/linux_amd64`
- `./bin/linux_x86`
- `./bin/macos` (amd64)### Cleaning
Will remove all files in the bin directory
```
$ make clean
```# Configuring
### Web server
See [web/web.go](web/web.go) and modify the constant values. They are commented and straight forward.### Client
See [config.go](config.go) and modify the constant values.If modifying the RSA key size variable `Bits`, please see `EncryptedHeaderSize`. RSA ciphertext length changes depending on key size used and it is not calculated at runtime.
# This program does not
- Demand any money from the user. It simply encrypts the amount of files specified in [config.go](config.go)
constant `ProcessMax` and sends it to the server. Encrypt your files and store your encryption key on your
server.