{"id":20915036,"url":"https://github.com/1-5pool/ransomwareeschrowservice","last_synced_at":"2026-04-11T01:04:06.632Z","repository":{"id":239245620,"uuid":"798992950","full_name":"1-5Pool/RansomwareEschrowService","owner":"1-5Pool","description":"DeRMiP (Decentralized Ransomware Proof-of-Life) is an Ethereum-based smart contract implementation that facilitates a secure escrow service for ransomware negotiations. This project demonstrates the concept of using blockchain technology and cryptographic techniques to establish a trustless environment for victims to register, and more","archived":false,"fork":false,"pushed_at":"2024-05-10T23:23:41.000Z","size":44286,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T23:13:47.277Z","etag":null,"topics":["decentralized-applications","escrow-service","ethereum","nodejs","python","ransomware","smart-contracts","solidity"],"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/1-5Pool.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-05-10T22:55:00.000Z","updated_at":"2024-09-23T03:41:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d08c6565-60dc-49d2-8aec-f761bc2d44ff","html_url":"https://github.com/1-5Pool/RansomwareEschrowService","commit_stats":null,"previous_names":["1-5pool/ransomwareeschrowservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1-5Pool/RansomwareEschrowService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2FRansomwareEschrowService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2FRansomwareEschrowService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2FRansomwareEschrowService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2FRansomwareEschrowService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1-5Pool","download_url":"https://codeload.github.com/1-5Pool/RansomwareEschrowService/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1-5Pool%2FRansomwareEschrowService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28109049,"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-12-29T02:00:07.021Z","response_time":58,"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":["decentralized-applications","escrow-service","ethereum","nodejs","python","ransomware","smart-contracts","solidity"],"created_at":"2024-11-18T16:12:41.783Z","updated_at":"2025-12-29T02:04:30.213Z","avatar_url":"https://github.com/1-5Pool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ransomware Eschrow Service\n\n## Project Overview\nRansomware attacks have become increasingly prevalent in recent years, causing significant financial losses and disrupting operations for individuals and organizations alike. Traditional ransomware schemes rely on off-chain payment methods and lack transparency, leaving victims uncertain about the trustworthiness of the attackers. To address these issues, this project explores the concept of blockchain-based ransomware using smart contracts, aiming to introduce a degree of automation and fair exchange to the ransomware process.\nThe proposed solution leverages the Ethereum blockchain and smart contracts to create a decentralized and transparent ransomware system. By utilizing smart contracts, the project enables victims to interact with the ransomware in a more automated and secure manner. The smart contract acts as an escrow service, holding the ransom payment until the attacker reveals the decryption keys. The project introduces novel features such as proof-of-life, allowing victims to request the decryption of a subset of files as a demonstration of the attacker's ability to decrypt the files. Additionally, the smart contract enforces a deadline for the attacker to reveal the decryption keys, providing a level of protection for the victims. The project aims to explore the technical feasibility and potential implications of blockchain-based ransomware, shedding light on the need for proactive measures to combat this emerging threat.\n\n## Project Structure\n```\nmy-smart-contract-project/\n├── clients/\n│   ├── attacker.py\n│   └── victim.py\n├── contracts/\n│   └── MyContract.sol\n├── tests/\n│   └── test_my_contract.py\n├── README.md\n└── requirements.txt\n```\n\n## Installation Instructions\n### Prerequisites\n- **Node.js:** v14.x or higher\n- **Python:** 3.8 or higher\n- **Ganache CLI (Optional):** For local blockchain testing\n\n### Installing Dependencies\n**Python Dependencies:**\n```\npip install -r requirements.txt\n```\n\n**Node.js/Truffle Dependencies:**\n```\n# Install Truffle globally\nnpm install -g truffle\n\n# Optional: Install Ganache CLI for local testing\nnpm install -g ganache-cli\n```\n\n## Deployment Instructions\n### Compile and Deploy Contracts\n1. Navigate to the `contracts/` directory.\n2. Compile and deploy the contracts using Truffle.\n```\n# Compile the smart contract(s)\ntruffle compile\n\n# Deploy to a local blockchain network (e.g., Ganache)\ntruffle migrate --network development\n```\n\n### Alternative Deployment using Hardhat\nIf using Hardhat instead of Truffle, follow these steps:\n```\n# Install Hardhat dependencies\nnpm install --save-dev hardhat @nomiclabs/hardhat-ethers ethers\n\n# Compile the contracts\nnpx hardhat compile\n\n# Deploy contracts (adjust network settings in hardhat.config.js)\nnpx hardhat run scripts/deploy.js --network localhost\n```\n\n## Running Python Clients\n\n### Attacker Client\n```\npython clients/attacker.py\n```\n\n### Victim Client\n```\npython clients/victim.py\n```\n\n## Example Usage\n### Attacker Client\n```\n# clients/attacker.py\nfrom web3 import Web3\nimport json\n\n# Load contract details\nwith open('config.json') as config_file:\n    config = json.load(config_file)\n\n# Initialize web3 instance and contract\nweb3 = Web3(Web3.HTTPProvider(config['provider']))\ncontract = web3.eth.contract(address=config['contract_address'], abi=config['abi'])\n\n# Example attacker logic\ndef attacker_function():\n    pass  # Implement attack logic here\n\nif __name__ == \"__main__\":\n    attacker_function()\n```\n\n### Victim Client\n```\n# clients/victim.py\nfrom web3 import Web3\nimport json\n\n# Load contract details\nwith open('config.json') as config_file:\n    config = json.load(config_file)\n\n# Initialize web3 instance and contract\nweb3 = Web3(Web3.HTTPProvider(config['provider']))\ncontract = web3.eth.contract(address=config['contract_address'], abi=config['abi'])\n\n# Example victim logic\ndef victim_function():\n    pass  # Implement victim logic here\n\nif __name__ == \"__main__\":\n    victim_function()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1-5pool%2Fransomwareeschrowservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1-5pool%2Fransomwareeschrowservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1-5pool%2Fransomwareeschrowservice/lists"}