{"id":20243987,"url":"https://github.com/wille/cry","last_synced_at":"2025-04-06T14:13:04.704Z","repository":{"id":37403797,"uuid":"78643043","full_name":"wille/cry","owner":"wille","description":"Cross platform PoC ransomware written in Go","archived":false,"fork":false,"pushed_at":"2017-01-21T22:22:13.000Z","size":19,"stargazers_count":245,"open_issues_count":1,"forks_count":327,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T13:09:06.233Z","etag":null,"topics":["aes","asymmetric","cry","crypto","file","go","golang","money","poc","ransomware","rsa","web"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wille.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-11T13:46:17.000Z","updated_at":"2025-03-15T18:28:47.000Z","dependencies_parsed_at":"2022-08-18T06:42:09.746Z","dependency_job_id":null,"html_url":"https://github.com/wille/cry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fcry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fcry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fcry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wille%2Fcry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wille","download_url":"https://codeload.github.com/wille/cry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492566,"owners_count":20947545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aes","asymmetric","cry","crypto","file","go","golang","money","poc","ransomware","rsa","web"],"created_at":"2024-11-14T09:11:02.162Z","updated_at":"2025-04-06T14:13:04.674Z","avatar_url":"https://github.com/wille.png","language":"Go","readme":"# go-cry\n\n\u003esome 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\n\nThis project was written to show how easy it is to create extremely malicious code.\n\nRansomware is designed to take your most loved files hostage demanding large amounts of money to unlock them.\n\nClone 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/)\n\n## Building\n\ngo-cry consists of two parts, a webserver and the client software.\nOutput files will be placed in `./bin/`\n\nBuilt 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/)\n\n### Building client and webserver\n```\n$ make\n```\n\nWill create the files\n- `./bin/web[.exe]`\n- `./bin/cry[.exe]`\n\n\n### Building client for all common operating systems and architectures\n```\n$ make all\n```\n\nWill create the files\n- `./bin/windows_amd64.exe`\n- `./bin/windows_x86.exe`\n- `./bin/linux_amd64`\n- `./bin/linux_x86`\n- `./bin/macos` (amd64)\n\n### Cleaning\n\nWill remove all files in the bin directory\n```\n$ make clean\n```\n\n# Configuring\n\n### Web server\nSee [web/web.go](web/web.go) and modify the constant values. They are commented and straight forward.\n\n### Client\nSee [config.go](config.go) and modify the constant values.\n\nIf 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.\n\n# This program does not\n\n- Demand any money from the user. It simply encrypts the amount of files specified in [config.go](config.go) \nconstant `ProcessMax` and sends it to the server. Encrypt your files and store your encryption key on your \nserver.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwille%2Fcry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwille%2Fcry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwille%2Fcry/lists"}