AlphaNum

Description

No zero byte encoder, with polymorphic decoder stub

AlphaNum encodes every byte into 2 printable characters. This increases the shellcode size but you don’t have to worry about 0x00 bytes.

  • polymorphic decoder stub
  • variable registers which will be used for decoding the shellcode
  • variable instruction sets
  • automatic compile with nasm.exe
  • extract shellcode from compiled object file

You have to provide nasm.exe in your shencode directory. Download your copy here.

Workflow

  1. Load the payload
  2. Encode the payload with AlphaNum
  3. Create the stub with random registers and instructions
  4. Append the encoded payload
  5. Conpile with nasm
  6. Extract the .text section as final shellcode

Command

shencode encoder alphanum [-h] [-i INPUT] [-o OUTPUT] [-c] [-d]

options:
  -h, --help     show this help message and exit
  -i, --input    Input file to use
  -o, --output   Output file to use

Additional:
  -c, --compile  Compile object file and extract shellcode
  -d, --decode   Decode the input to bytes
Example output
shencode encoder 

JSON Parameter

Arguments Values Type
input filename str
ouput filename str
decode true, false bool
compile true, false bool