{"id":22924381,"url":"https://github.com/lawndoc/ransim","last_synced_at":"2025-04-04T10:06:14.916Z","repository":{"id":41347892,"uuid":"407598870","full_name":"lawndoc/RanSim","owner":"lawndoc","description":"Ransomware simulation script written in PowerShell. Useful for testing your defenses and backups against real ransomware-like activity in a controlled setting.","archived":false,"fork":false,"pushed_at":"2024-10-14T01:29:16.000Z","size":203,"stargazers_count":220,"open_issues_count":0,"forks_count":31,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T09:06:53.443Z","etag":null,"topics":["backup","backups","cryptography","cybersecurity","decryption","encryption","powershell","ransom","ransomware","red-teaming","script","testing"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lawndoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"lawndoc","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-09-17T15:53:40.000Z","updated_at":"2025-03-20T10:47:13.000Z","dependencies_parsed_at":"2025-01-10T20:14:33.178Z","dependency_job_id":"10f54d29-b2d8-4356-96e6-29f9f36260f7","html_url":"https://github.com/lawndoc/RanSim","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawndoc%2FRanSim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawndoc%2FRanSim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawndoc%2FRanSim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawndoc%2FRanSim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lawndoc","download_url":"https://codeload.github.com/lawndoc/RanSim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157275,"owners_count":20893219,"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":["backup","backups","cryptography","cybersecurity","decryption","encryption","powershell","ransom","ransomware","red-teaming","script","testing"],"created_at":"2024-12-14T08:28:51.812Z","updated_at":"2025-04-04T10:06:14.893Z","avatar_url":"https://github.com/lawndoc.png","language":"PowerShell","funding_links":["https://github.com/sponsors/lawndoc"],"categories":[],"sub_categories":[],"readme":"![Logo](RanSim.png)\n\n## Description\n\nRanSim is a ransomware simulation script written in PowerShell. It recurisively encrypts files in the target directory using 256-bit AES encryption. RanSim will not leave any ransom note, it is only meant to perform file encryption.\n\nYou can use RanSim to test your defenses and backups against real ransomware-like activity in a controlled setting. The same script can be used to decrypt the files if needed.\n\n\n\n## Usage\n\n### Encrypt\n\n```PowerShell\n.\\RanSim.ps1 -Mode encrypt\n```\n\n### Decrypt\n\n```PowerShell\n.\\RanSim.ps1 -Mode decrypt\n```\n\n### Optional Parameters and Defaults\n\n`-TargetPath` -\u003e C:\\RanSim\n\n`-Extension` -\u003e .encrypted\n\n`-Key` -\u003e Q5KyUru6wn82hlY9k8xUjJOPIC9da41jgRkpt21jo2L=\n\n### Other Global Variables\n\n`TargetFiles` -\u003e .pdf .xls* .ppt* .doc* .accd* .rtf .txt .csv .jpg .jpeg .png .gif .avi .midi .mov mp3 .mp4 .mpeg .mpeg2 .mpeg3 .mpg .ogg\n\n## Credits\n\nThe author of the [FileCryptography.psm1](FileCryptography.psm1) is Tyler Siegrist, and he is also credited in the module's docstring.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawndoc%2Fransim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flawndoc%2Fransim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawndoc%2Fransim/lists"}