awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
shellphish avatar

shellphish/how2heap

0
View on GitHub↗
8,444 Stars·1,248 Forks·C·mit·5 Aufrufe

How2heap

how2heap is an educational resource and technical testbed for learning heap-based vulnerabilities and memory allocator internals. It provides a collection of source code examples and binaries that serve as a laboratory for studying memory corruption techniques specifically targeting the glibc malloc implementation.

The project focuses on the development of exploit primitives, such as tcache poisoning and double frees, to redirect program execution. It includes a suite of implementations for bypassing memory protections and manipulating heap metadata to achieve arbitrary memory writes.

The framework covers a wide range of memory corruption capabilities, including chunk manipulation, metadata corruption, and thread-local cache attacks. It also provides tools for reversing pointer obfuscation and analyzing heap hardening mechanisms.

The project includes a containerized environment for provisioning lab workspaces, allowing binaries to be compiled against specific system library versions to simulate different allocator behaviors.

Features

  • Glibc Heap Exploitation - Provides a laboratory for studying and implementing memory corruption techniques targeting the glibc malloc implementation.
  • Exploit Development - Offers a technical testbed for developing and testing primitives like tcache poisoning and double frees.
  • Bin Poisoning - Tricks the allocator into returning a pointer to an arbitrary location by overwriting forward pointers.
  • Freelist Manipulation - Abuses the tcache freelist to trick the allocator into returning arbitrary aligned pointers.
  • Cache Poisoning - Redirects allocations to target addresses by inserting arbitrary pointers into thread-local cache bins.
  • Educational Examples - Provides a collection of source code examples and binaries to teach low-level memory management flaws.
  • Vulnerable Lab Environments - Provides a containerized lab environment with compilers and debuggers to reproduce memory corruption vulnerabilities.
  • Allocator Testbeds - Ships a containerized environment for compiling and analyzing how different glibc versions handle heap allocations.
  • Exploit Primitives - Implements practical techniques for bypassing memory protections and manipulating heap metadata for arbitrary writes.
  • Metadata Hijacking - Redirects subsequent allocations to arbitrary addresses by overwriting per-thread cache structures.
  • Metadata Manipulation - Transforms use-after-free vulnerabilities into primitives that control allocator metadata via linked list manipulation.
  • Heap Exploit Primitives - Implements techniques to trick the allocator into returning stack addresses through double-free vulnerabilities.
  • Bypass Techniques - Provides implementations for bypassing memory protection mechanisms by manipulating chunk pointers.
  • Allocator Metadata Manipulation - Demonstrates how to overwrite internal allocator structures such as chunk sizes and forward pointers for memory access.
  • Interactive Manipulators - Provides a programmable interface to manually allocate and free memory chunks to observe real-time heap behavior.
  • Heap Corruption Detection - Demonstrates how to corrupt fastbin pointers to treat stack addresses as heap chunks.
  • Hardening Bypass Analysis - Analyzes methods for bypassing heap hardening and protection mechanisms using internal metadata manipulation.
  • Arena Hijacking - Implements techniques to replace the main arena structure with a fake arena for arbitrary memory writes.
  • Arena Hijacking - Achieves arbitrary memory writes by replacing the main arena with a crafted fake arena.
  • Memory Allocation Tracers - Includes diagnostics and statistics to monitor allocation patterns and identify memory corruption.
  • Chunk Size Corruption - Creates arbitrary bins for corruption by manipulating the wilderness chunk size.
  • Stashing Unlink Attacks - Creates fake memory chunks and writes arbitrary addresses by manipulating smallbin to tcache transfers.
  • Arbitrary Heap Writes - Implements techniques to write pointers to arbitrary heap locations by manipulating tcache indices.
  • Chunk Overlapping - Provides implementations for tricking allocators into merging memory regions to allow active chunk overwrites.
  • Freelist Poisoning - Implements forged pointer injection into tcache or fastbin lists to achieve arbitrary memory returns.
  • Hardening Analysis - Evaluates memory protection mechanisms by triggering bypasses and monitoring allocation statistics.
  • Hardening Evaluation - Tests how memory protections mitigate exploitation by configuring environment variables and internal checks.
  • Large Bin Attacks - Provides implementations for overwriting target memory addresses by manipulating large bin pointers.
  • Leakless Exploitation - Implements attacks that redirect execution to a shell using relative overwrites without an initial memory leak.
  • Pointer Deobfuscation - Provides tools to recover original memory addresses by reversing XOR-based safe linking protections.
  • Binary Exploitation - Educational resource for glibc heap exploitation techniques.

Star-Verlauf

Star-Verlauf für shellphish/how2heapStar-Verlauf für shellphish/how2heap

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu How2heap

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit How2heap.
  • tencent/matrixAvatar von Tencent

    Tencent/matrix

    12,020Auf GitHub ansehen↗

    Matrix is a suite of mobile application performance management and analysis tools. It provides a plugin-based monitoring system for capturing crashes, lags, and memory leaks, alongside a static binary auditor for reducing installation package size and a bytecode instrumentation tool for performance tracking. The project distinguishes itself through native memory debugging and a SQLite query linter that identifies inefficient database patterns. It employs native interception techniques to detect memory leaks and heap corruption without requiring source code recompilation, and uses a custom run

    Javaandroidapm-clientwechat
    Auf GitHub ansehen↗12,020
  • pwndbg/pwndbgAvatar von pwndbg

    pwndbg/pwndbg

    10,051Auf GitHub ansehen↗

    pwndbg is a GDB plugin and binary analysis framework designed for reverse engineering, exploit development, and low-level program analysis. It extends the core functionality of the debugger to provide advanced memory inspection and automation tools. The project distinguishes itself with specialized capabilities for heap analysis across glibc, jemalloc, and musl, as well as a comprehensive kernel debugging toolkit for inspecting Linux kernel tasks and slab allocators. It includes an integrated ROP gadget searcher for constructing exploit chains and an LLM-powered debugging assistant that provi

    Pythonbinary-ninjacapture-the-flagctf
    Auf GitHub ansehen↗10,051
  • hugsy/gefAvatar von hugsy

    hugsy/gef

    8,020Auf GitHub ansehen↗

    GEF is a Python-based extension for GDB that serves as a framework for binary analysis, exploit development, and low-level debugging. It functions as a dynamic analysis extension designed to assist in reverse engineering workflows and malware analysis by enhancing the debugger's ability to inspect process state and memory. The project is distinguished by its specialized heap analysis tools, which allow for the inspection of glibc heap arenas, bins, and chunks to detect memory corruption. It also provides a dedicated toolkit for exploit development, including cyclic pattern generation for offs

    Pythonbinary-ninjactfdebugging
    Auf GitHub ansehen↗8,020
  • gallopsled/pwntoolsAvatar von Gallopsled

    Gallopsled/pwntools

    13,271Auf GitHub ansehen↗

    Pwntools is a Python-based framework designed for rapid prototyping and automation in binary exploitation, reverse engineering, and security research. It serves as a comprehensive toolkit for interacting with local and remote processes, providing the primitives necessary to manage complex exploit workflows and streamline security analysis tasks. The framework distinguishes itself through its specialized capabilities for binary manipulation and automated exploit construction. It includes dedicated utilities for parsing executable file formats, assembling and disassembling machine code, and gen

    Pythonassemblybsdcapture-the-flag
    Auf GitHub ansehen↗13,271
Alle 30 Alternativen zu How2heap anzeigen→

Häufig gestellte Fragen

Was macht shellphish/how2heap?

how2heap is an educational resource and technical testbed for learning heap-based vulnerabilities and memory allocator internals. It provides a collection of source code examples and binaries that serve as a laboratory for studying memory corruption techniques specifically targeting the glibc malloc implementation.

Was sind die Hauptfunktionen von shellphish/how2heap?

Die Hauptfunktionen von shellphish/how2heap sind: Glibc Heap Exploitation, Exploit Development, Bin Poisoning, Freelist Manipulation, Cache Poisoning, Educational Examples, Vulnerable Lab Environments, Allocator Testbeds.

Welche Open-Source-Alternativen gibt es zu shellphish/how2heap?

Open-Source-Alternativen zu shellphish/how2heap sind unter anderem: tencent/matrix — Matrix is a suite of mobile application performance management and analysis tools. It provides a plugin-based… pwndbg/pwndbg — pwndbg is a GDB plugin and binary analysis framework designed for reverse engineering, exploit development, and… hugsy/gef — GEF is a Python-based extension for GDB that serves as a framework for binary analysis, exploit development, and… gallopsled/pwntools — Pwntools is a Python-based framework designed for rapid prototyping and automation in binary exploitation, reverse… hmaverickadams/beginner-network-pentesting — This is a hands-on lab environment for learning network penetration testing techniques, centered on setting up and… orange-cyberdefense/goad — GOAD is an Ansible-based automation tool and infrastructure orchestrator used to deploy pre-configured networks of…