SNOWCRASH creates a script that can be launched on both Linux and Windows machines. Payload selected by the user (in this case combined Bash and Powershell code) is embedded into a single polyglot template, which is platform-agnostic.
There are few payloads available, including command execution, reverse shell establishment, binary execution and some more :>
- Install dependencies:
- List available payloads:
- Generate chosen payload:
./snowcrash --payload memexec --out polyglot_script
- Change extension of the polyglot script:
mv polyglot_script polyglot_script.ps1
- Execute polyglot script on the target machine
Delay before script run and payload execution can be specified as an interval (using
--sleep flag) in the form:
x = Amount of interval to spend in idle state s = Seconds m = Sinutes h = Hours
After generation, the extension of a generated script containing the payload can be set either to
.ps1(depending on the platform we want to target).
The generated payload can be written directly to STDOUT (instead of writing to a file) using
This software is under MIT License
- Hakin9 is a monthly magazine dedicated to hacking and cybersecurity. In every edition, we try to focus on different approaches to show various techniques - defensive and offensive. This knowledge will help you understand how most popular attacks are performed and how to protect your data from them. Our tutorials, case studies and online courses will prepare you for the upcoming, potential threats in the cyber security world. We collaborate with many individuals and universities and public institutions, but also with companies such as Xento Systems, CATO Networks, EY, CIPHER Intelligence LAB, redBorder, TSG, and others.
- Blog2022.12.13What are the Common Security Weaknesses of Cloud Based Networks?
- Blog2022.10.12Vulnerability management with Wazuh open source XDR
- Blog2022.08.29Deception Technologies: Improving Incident Detection and Response by Alex Vakulov
- Blog2022.08.25Exploring the Heightened Importance of Cybersecurity in Mobile App Development by Jeff Kalwerisky