Snowcrash - A polyglot payload generator

July 10, 2020
(322 views)

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 :>

Basic usage

  1. Install dependencies: ./install.sh
  2. List available payloads: ./snowcrash --list
  3. Generate chosen payload: ./snowcrash --payload memexec --out polyglot_script
  4. Change extension of the polyglot script: mv polyglot_script polyglot_script.ps1
  5. Execute polyglot script on the target machine

Additional notes

Delay before script run and payload execution can be specified as an interval (using --sleep flag) in the form:

x[s|m|h]

where

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 .sh or .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 --stdout flag.

Screenshots

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
© HAKIN9 MEDIA SP. Z O.O. SP. K. 2023
What certifications or qualifications do you hold?
Max. file size: 150 MB.

What level of experience should the ideal candidate have?
What certifications or qualifications are preferred?

Download Free eBook

Step 1 of 4

Name(Required)

We’re committed to your privacy. Hakin9 uses the information you provide to us to contact you about our relevant content, products, and services. You may unsubscribe from these communications at any time. For more information, check out our Privacy Policy.