GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - psycore8/shencode: A versatile tool for working with shellcodes

BranchesTags
Open more actions menu

Latest commit

 

History

403 Commits
403 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
examples
examples
 
 
modules
modules
 
 
resources
resources
 
 
shencode
shencode
 
 
tests
tests
 
 
tpl
tpl
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
setup.py
setup.py
 
 

Repository files navigation

tags
Label/Repo
title ShenCode
Version 1.0.1
Release

ShenCode

A versatile tool for working with shellcodes.

Features

ShenCode is a framework for developing, analyzing and testing shellcodes. It supports the following operating modes:

  • Argument mode
    • shencode core output -i file.raw -s inspect
  • Interactive Mode
    • shencode$ load output
    • shencode::core::output$
  • Task Mode
    • Automate modules in different steps with json

Version 1.0.0

General usage

Check out ShenCode Docs and the starter tutorial for more information.

Modules

Category Description Modules
core Shencode core functions download - extract- inspect - minidump - output - subproc - task
encoder Shellcode encoder alphanum - bytebert - byteswap1 - multicoder - xor - xorchain - xorpoly2
inject Process injection modules dll - injection - linject - ntinjection - psoverwrite3
obfuscate Shellcode obfuscation techniques feed4 - qrcode - rolhash - uuid
payload Modules to generate payloads msfvenom - winexec
stager Stage loaders meterpreter - sliver

How to use

Install
git clone https://github.com/psycore8/shencode
cd shencode
python -m venv .venv
<! ACTIVATE-VENV-SEE-BELOW !>
pip install .
shencode -h

To activate the virtual environment use the following command:

  • Windows - .venv\bin\activate
  • Linux - source .venv/bin/activate

Release Notes

  • general - code cleanup
  • general - improved output with rich implementation
  • general - ShenCode as python module
  • core/inspect - seperated the file inspect function to a module, including html export
  • core/output - removed inspect
  • core/task - Improved JSON scheme for better iteration and multiple module usage in one file
  • obfuscate/uuid - file output and reverse function added
  • stager/meterpreter - fixed some argument errors
  • stager/sliver - fixed a datatype error and os.name implementation
  • core/task - removed deprecated old task module
  • general - updated dependencies
  • general - fixed setup.py syntax bug
  • general - fixed banner bug

References

  • Byte-Swapping
  • In-Memory Decoder
  • Function Name Hashing
  • Win32API with python3 injection
  • Violent python: XOR Encryption
  • How to easily encrypt file in python

Footnotes

  1. Byteswapping Blog Post ↩

  2. Polymorphic XOR decoder Blog Post ↩

  3. hasherezade ↩

  4. feed uses a diceware wordlist ↩

About

A versatile tool for working with shellcodes

psy8.dev/shencode

Topics

automationframeworkinjector-x64msfvenomobfuscationpolymorphismshellcode-injectionshellcodes

Resources

Readme
MIT license
Activity

Stars

5 stars

Watchers

2 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.