• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 3 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

HatVenom is a powerful payload generation tool that provides support for all common platforms and architectures.

HatVenom

HatVenom is a powerful payload generation tool that provides support for all common platforms and architectures.

Features

  • Support for most common executable formats like elf, macho, pe, dll.
  • Support for most common architectures like x64, x86, aarch64, armle, mipsle, mipsbe.
  • Ability to modify shellcode and inject assembly (coming soon).

Installation

pip3 install git+https://github.com/EntySec/HatVenom

Supported targets

Format x86 x64 armle armbe aarch64 mipsle mipsbe mips64le mips64be
elf yes yes yes no yes yes yes no no
macho no yes no no no no no no no
dylib no yes no no no no no no no
pe yes yes no no no no no no no
dll yes yes no no no no no no no
  • elf - Unix Executable & Linkable Format.
  • macho - macOS / Apple iOS Mach-O executable format.
  • dylib - macOS / Apple iOS dynamic library format.
  • pe - Windows Portable Executable format.
  • dll - Windows Dynamic Link Library format.

Basic functions

There are all HatVenom basic functions that can be used to generate payload, covert data, assemble code or inject shellcode.

  • generate(file_format, arch, shellcode) - Generates payload for specified target and with specified shellcode.
  • generate_to(file_format, arch, shellcode, filename='a.out') - Generates payload for specified target and with specified shellcode and saves it to the specified file.

Generating payload

It's very easy to generate payload for various targets in HatVenom. Let's generate a simple payload that kills all processes for Linux and save it to a.out.

Examples

from hatvenom import HatVenom

shellcode = (
    "\x6a\x3e\x58\x6a\xff\x5f\x6a\x09\x5e\x0f\x05"
)

hatvenom = HatVenom()
hatvenom.generate_to('elf', 'x64', shellcode)

HatVenom CLI

HatVenom also has its own command line interface that can be invoked by executing hatvenom command:

usage: hatvenom [-h] [-f FORMAT] [-a ARCH] [-s SHELLCODE] [-o OUTPUT]

HatVenom is a powerful payload generation and shellcode
injection tool that provides support for common platforms and architectures.

optional arguments:
  -h, --help            show this help message and exit
  -f FORMAT, --format FORMAT
                        Platform to generate for.
  -a ARCH, --arch ARCH  Architecture to generate for.
  -s SHELLCODE, --shellcode SHELLCODE
                        Shellcode to inject.
  -o OUTPUT, --output OUTPUT
                        File to output generated payload.

Examples

Let's generate a simple payload that kills all processes for Linux and save it to a.out.

hatvenom --format elf --arch x64 --shellcode "\x6a\x3e\x58\x6a\xff\x5f\x6a\x09\x5e\x0f\x05"

More Repositories

1

Ghost

Ghost Framework is an Android post-exploitation framework that exploits the Android Debug Bridge to remotely access an Android device.
Python
2,711
star
2

RomBuster

RomBuster is a router exploitation tool that allows to disclosure network router admin password.
Python
461
star
3

CamOver

CamOver is a camera exploitation tool that allows to disclosure network camera admin password.
Python
434
star
4

SeaShell

SeaShell Framework is an iOS post-exploitation framework that enables you to access the device remotely, control it and extract sensitive information.
Python
381
star
5

HatSploit

Modular penetration testing platform that enables you to write, test, and execute exploit code.
Python
272
star
6

CamRaptor

CamRaptor is a tool that exploits several vulnerabilities in popular DVR cameras to obtain network camera credentials.
Python
209
star
7

Shreder

Shreder is a powerful multi-threaded SSH protocol password brute-force tool.
Python
196
star
8

Pwny

Pwny is an implementation of an advanced payload written in pure C and designed for portability and extensibility.
C
45
star
9

Pex

Python Exploitation is a collection of special tools for providing high quality penetration testing using pure python programming language.
Python
43
star
10

Checkmate

Powerful advanced web platform for C2 managing and automated penetration testing.
14
star
11

HatAsm

HatAsm is a powerful assembler and disassembler that provides support for all common architectures.
Python
14
star
12

Pawn

Pawn is a collection of Python techniques used for crafting, manipulating and injecting payloads.
Python
12
star
13

HatBoard

HatBoard is a HatSploit Framework web interface for executing attacks, handling and manipulating sessions and traffic.
CSS
10
star
14

libpawn

C library that is intended for providing methods for executing and injecting code.
C
10
star
15

ictl

Pwny plugin that allows to manipulate some user interface features available on Apple iOS.
C
6
star
16

ColorScript

ColorScript is a scripting language for designing custom ASCII banners.
Python
5
star
17

HatLoads

HatLoads is a HatSploit collection of generic payloads designed to provide a wide range of attacks without having to spend time writing new ones.
Python
5
star
18

Badges

Badges is a Python3 library that is used for advanced and intuitive printing.
Python
4
star
19

EntySec-Docs

EntySec Documentation
HTML
4
star
20

HatSploit-Website

Modular penetration testing platform that enables you to write, test, and execute exploit code.
CSS
4
star
21

Fishnet-Auditor

Fishnet plugin for analysing networks and scanning local hosts for services.
Python
3
star
22

Fishnet-Metasploit

Fishnet Metasploit integration. This one is very useful, cause 99% of hackers use Metasploit (excluding me).
Python
3
star
23

HatSploit-Docs

HatSploit Documentation
Ruby
3
star
24

Fishnet-HatSploit

HatSploit Framework extension for Fishnet that represents a native vulnerability scanner.
Python
2
star
25

Monhorn

Monhorn is an implementation of HatSploit encryptor that firstly establishes a remote connection and then begins crypto operations.
C
2
star
26

eterpay

Crypto payment system that we deserve. Can be used for marketplaces and etc.
Python
2
star
27

EntySec-Website

EntySec is a group of security professionals and software engineers involved in the development of security tools and services.
HTML
1
star
28

.github

EntySec is a group of security professionals and software engineers involved in the development of security tools and services.
1
star