Skip to content

A tool that implements least information redundancy algorithm of printable shellcode encoding for x86

License

Notifications You must be signed in to change notification settings

zeredy879/Lycan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This tool implements the least information redundancy algorithm of printable shellcode encoding for x86.

Usage

$ python3 Lycan.py 
usage: Lycan [-h] [-e  | -t | --template | --no-template] [-H | --hex | --no-hex] [-g | --generate | --no-generate]

Lycan -- a tool that implements the least information redundancy algorithm of printable shellcode encoding for x86

options:
  -h, --help            show this help message and exit
  -e , --encode         encode the original shellcode
  -t, --template, --no-template
                        use the Lycan's default template shellcode (default: False)
  -H, --hex, --no-hex   output the encoded shellocode in hex format (default: False)
  -g, --generate, --no-generate
                        generate template C code in `temp.c` and compile it to `temp` (default: False)

Example:
python3 Lycan.py -e "\xde\xad\xbe\xef"
python3 Lycan.py -H -g -e \xde\xad\xbe\xef
python3 Lycan.py -H -e 'DeadBeef'
python3 Lycan.py -g -t

Detail

This work is inspired by psc and utilizes the XOR patching technique. Notice that Lycan assumes the register eax represents the start address of shellcode for injection.

About

A tool that implements least information redundancy algorithm of printable shellcode encoding for x86

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published