{"id":27198173,"url":"https://github.com/bitwise-01/thor","last_synced_at":"2025-10-13T19:40:59.959Z","repository":{"id":111674552,"uuid":"221120536","full_name":"Bitwise-01/Thor","owner":"Bitwise-01","description":"A Simple Ransomware","archived":false,"fork":false,"pushed_at":"2024-01-05T18:01:03.000Z","size":35,"stargazers_count":51,"open_issues_count":4,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T20:44:57.881Z","etag":null,"topics":["ransomware"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Bitwise-01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-12T03:19:11.000Z","updated_at":"2025-04-04T20:10:31.000Z","dependencies_parsed_at":"2025-04-09T20:36:30.611Z","dependency_job_id":"a6c90e7b-04f7-41c4-9906-42c8cd1033c0","html_url":"https://github.com/Bitwise-01/Thor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Bitwise-01/Thor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bitwise-01%2FThor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bitwise-01%2FThor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bitwise-01%2FThor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bitwise-01%2FThor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bitwise-01","download_url":"https://codeload.github.com/Bitwise-01/Thor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bitwise-01%2FThor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279016930,"owners_count":26085889,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ransomware"],"created_at":"2025-04-09T20:33:02.414Z","updated_at":"2025-10-13T19:40:59.955Z","avatar_url":"https://github.com/Bitwise-01.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Thor\n\nThor is a ransomware.\u003cbr\u003e\nIt uses **RSA-2048** with **AES-128** to encrypt files.\u003cbr\u003e\n\n## For educational purposes\n\n\u003e This software is **STRICTLY** for educational purposes.\n\n### How to stay safe while playing with this code?\n\n\u003e **DO NOT** uncomment the lines within `payload/agent/lib/file_finder.py`\n\u003e By default, it will only encrypt files within a folder in your desktop named `Target_Folder`\u003cbr\u003e\n\u003e **Warning:** Do not run this code on your PC, use a VM instead. And If you do run it, let it run all the way.\n\n## Notice:\n\n\u003e I will not be responsible for your actions.\n\u003e **DO NOT** touch this code if you lack self-control.\n\n### For your protection\n\n\u003e For your own protection this ransomware will only encrypt files within a folder named `Target_Folder` within your desktop.\n\u003e You can tell it lock all files by uncommenting a few lines within `payload/agent/lib/file_finder.py`\n\n### Requirements\n\n- Python **3.6.x** | **3.7.x**\n\n### Usage with a VM\n\n1. Uncomment the commented out section of `payload/agent/lib/file_finder.py`\n\n2. Generate server's public key pair `python thor.py`\n\n3. Change directory into payload directory\n\n4. Run the `encryptor_generator.py`\n\n5. Infect your VM with the exe\n\n6. Get the encrypted RSA private key that the exe outputs from your VM\n\n7. Change directory back into payload directory\n\n8. Run the `decryptor_generator.py` and give it the RSA keys\n\n9. Send the decryptor.exe to the VM\n\n10. Let the decryptor run and decrypt the files within your VM\u003cbr\u003e\u003cbr\u003e\n\n### No sharing\n\nEach time you generate an ransomware, you must generate a decryptor for that ransomware. You cannot generate one decryptor and use it with differently generated ransomware.\u003cbr\u003e\n\n### Example usage\n\n1.  Install requirements\n    ```\n    pip install -r requirements.txt\n    ```\n2.  Generate server's public key pair\n    ```\n    python thor.py\n    ```\n3.  Change directory into payload \u0026 generate a ransomware\n    ```\n    python encryptor_generator.py -b mybtcadress -a 120 -k ../server/keys/public.pem -n virus_danger\n    ```\n4.  Change directory into payload \u0026 generate a decryptor\n    ```\n    python decryptor_generator.py -sk ../server/keys/private.key -vk encrypted_private.ekey -n decryptor\n    ```\n\n# Disclaimer\n\n```\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\nSOFTWARE. THIS SOFTWARE IS PURELY FOR EDUCATIONAL PURPOSES.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwise-01%2Fthor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitwise-01%2Fthor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwise-01%2Fthor/lists"}