https://github.com/benzoxdev/psransom
PowerShell Ransomware Simulator with C2 Server
https://github.com/benzoxdev/psransom
c2 powershell psransom ransomware simulation simulator
Last synced: 8 months ago
JSON representation
PowerShell Ransomware Simulator with C2 Server
- Host: GitHub
- URL: https://github.com/benzoxdev/psransom
- Owner: BenzoXdev
- License: gpl-3.0
- Created: 2025-05-08T13:00:13.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-05-08T13:49:10.000Z (10 months ago)
- Last Synced: 2025-05-18T22:13:46.284Z (9 months ago)
- Topics: c2, powershell, psransom, ransomware, simulation, simulator
- Language: PowerShell
- Homepage:
- Size: 2.51 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README

# PSRansom
**PSRansom** is a PowerShell Ransomware Simulator with C2 Server capabilities. This tool helps you simulate encryption process of a generic ransomware in any system on any system with PowerShell installed on it. Thanks to the integrated C2 server, you can exfiltrate files and receive client information via HTTP.
All communication between the two elements is encrypted or encoded so as to be undetected by traffic inspection mechanisms, although at no time is HTTPS used at any time.
# Requirements
- PowerShell 4.0 or greater
# Download
It is recommended to clone the complete repository or download the zip file.
You can do this by running the following command:
```
git clone https://github.com/BenzoXdev/PSRansom
```
# Usage
```
.\PSRansom -h
____ ____ ____
| _ \/ ___|| _ \ __ _ _ __ ___ ___ _ __ ___
| |_) \___ \| |_) / _' | '_ \/ __|/ _ \| '_ ' _ \
| __/ ___) | _ < (_| | | | \__ \ (_) | | | | | |
|_| |____/|_| \_\__,_|_| |_|___/\___/|_| |_| |_|
----------------- by @BenzoXdev----------------
Info: This tool helps you simulate encryption process of a
generic ransomware in PowerShell with C2 capabilities
Usage: .\PSRansom.ps1 -e Directory -s C2Server -p C2Port
Encrypt all files & sends recovery key to C2Server
Use -x to exfiltrate and decrypt files on C2Server
.\PSRansom.ps1 -d Directory -k RecoveryKey
Decrypt all files with recovery key string
Warning: All info will be sent to the C2Server without any encryption
You need previously generated recovery key to retrieve files
```
# License
This project is licensed under the GNU 3.0 license - see the LICENSE file for more details.
# Credits and Acknowledgments
This tool has been created and designed from scratch by @BenzoXdev
# Contact
This software does not offer any kind of guarantee. Its use is exclusive for educational environments and / or security audits with the corresponding consent of the client. I am not responsible for its misuse or for any possible damage caused by it.
For more information, you can find me on Instagram as [@just._.benzo](https://www.instagram.com/just._.benzo?igsh=MWEwZDczbDZld2J4cw==).
## Acknowledgments
This project benefited from the contributions of [Mahdi383-hub](https://github.com/Mahdi383-hub), whose participation and expertise significantly enhanced the quality of the work.
# Support
You can support your work by giving us a star 🌟