Heappy : A Happy Heap Editor To Support Your Exploitation Process

Heappy is an editor based on gdb/gef that helps you to handle the heap during your exploitation development.
The project should be considered a didactic tool useful to understand the evolution of the heap during the process life cycle. It has been created to simplify the study of the most common heap exploitation techniques and to support you to solve some binary exploitation CTFs related to this fantastic topic.

Main Features

This is what Heappy implements:
   ✅ take heap snapshots and compare them each other
   ✅ recognize immediately type and fields of heap bins
   ✅ search and edit heap values by decimal, hex or string
   ✅ find yourself with the panoramic view of the heap status
   ✅ take notes about a cell in the comment column
   ✅ enjoy the light and dark mode

Getting Started

These instructions will help you to install and run Heappy fastly.

Prerequisites

If you don’t have it, install GEF in GDB:

wget -q -O- https://github.com/hugsy/gef/raw/master/scripts/gef.sh | sh

md5(gef.sh): eb053864d050048cb001c80c79fde7b5

Installing

Install Node.js and npm:

apt update
sudo apt install nodejs npm

Download and install Heappy:

git clone https://github.com/gand3lf/heappy
cd heappy/
npm install

Load the server inside GDB:

gef➤ source /my/path/heappy/server/heappy.py

It is suggested to run the Heappy GUI after that the target heap has been initialized.
For example:

gef➤ break main
gef➤ run

From another terminal launch the GUI:

cd /my/path/heappy/
npm start

R K

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

13 hours ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

13 hours ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

2 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

5 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago