awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
shellphish avatar

shellphish/how2heap

0
View on GitHub↗
8,444 نجوم·1,248 تفرعات·C·mit·5 مشاهدات

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.

سجل النجوم

مخطط تاريخ النجوم لـ shellphish/how2heapمخطط تاريخ النجوم لـ shellphish/how2heap

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ How2heap

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع How2heap.
  • tencent/matrixالصورة الرمزية لـ Tencent

    Tencent/matrix

    12,020عرض على GitHub↗

    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
    عرض على GitHub↗12,020
  • pwndbg/pwndbgالصورة الرمزية لـ pwndbg

    pwndbg/pwndbg

    10,051عرض على GitHub↗

    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
    عرض على GitHub↗10,051
  • hugsy/gefالصورة الرمزية لـ hugsy

    hugsy/gef

    8,020عرض على GitHub↗

    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
    عرض على GitHub↗8,020
  • gallopsled/pwntoolsالصورة الرمزية لـ Gallopsled

    Gallopsled/pwntools

    13,271عرض على GitHub↗

    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
    عرض على GitHub↗13,271
عرض جميع البدائل الـ 30 لـ How2heap→

الأسئلة الشائعة

ما هي وظيفة 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.

ما هي الميزات الرئيسية لـ shellphish/how2heap؟

الميزات الرئيسية لـ shellphish/how2heap هي: Glibc Heap Exploitation, Exploit Development, Bin Poisoning, Freelist Manipulation, Cache Poisoning, Educational Examples, Vulnerable Lab Environments, Allocator Testbeds.

ما هي البدائل مفتوحة المصدر لـ shellphish/how2heap؟

تشمل البدائل مفتوحة المصدر لـ shellphish/how2heap: 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…