Reverse Engineering a Pwn Challenge with IDA Pro: Practical Analysis Techniques
In binary analysis, understanding data type representations is fundamental. Here are common data type definitions:
_WORD (1 word = 2 bytes = 16 bits)
_DWORD (2 words = 4 bytes = 32 bits)
_QWORD (4 words = 8 bytes = 64 bits)
_OWORD (8 words = 16 bytes = 128 bits)
Assembly directives for data definition:
DB (Define Byte): Defines single-byte ...
Posted on Mon, 26 Oct 2026 16:55:39 +0000 by alco19357
Introduction to Pwn Exploitation Techniques
Overview
This article covers fundamental exploitation techniques in binary security, focusing on practical examples from CTF challenges. The content assumes basic familiarity with assembly and memory layout concepts.
Example 1: Command Execution via Input Filtering
A Python script was provided that accepts user input and executes it using os.sy ...
Posted on Fri, 09 Oct 2026 16:54:02 +0000 by sethi_kapil
Ret2libc Exploitation of ciscn_2019_c_1 with Stack Alignment
Dynamic Linking and GOT/PLT Mechanism
Shared libraries utilize position-independent code. When a dynamic library is mapped into memory, a base address is added to the file offsets to calculate the actual runtime addresses. The relationship remains constant: runtime_address = base_address + file_offset.
The Procedure Linkage Table (PLT) and Glob ...
Posted on Thu, 01 Oct 2026 16:41:33 +0000 by cstevio
Introduction to Binary Exploitation: Understanding ret2libc - Part 2
The challenge can be downloaded from: Download Link (Password: 0000)
Solution Approach
ret2libc involves hijacking program control flow to execute funcsions from the standard C library (libc). Typically, this is achieved by redirecting execution to a function's PLT entry or a specific address within the GOT table. Usual, the goal is to invoke s ...
Posted on Tue, 15 Sep 2026 16:30:59 +0000 by oriental_express
IO_FILE Heap Exploitation: Understanding fwrite Implementation
To learn IO_FILE-based heap exploitation, we must understand its underlying mechanism. This article examines several key IO functions using source code analysis and dynamic debugging.
1. fwrite Function Overview
1.1 Overall Flow
The main implementation of fwrite resides in _IO_new_file_xsputn, containing four distinct phases:
Check remaining s ...
Posted on Wed, 15 Jul 2026 16:12:40 +0000 by domwells27
Essential Techniques for Pwnable Challenge Exploitation
Environment Configuration
For optimal results in binary exploitation exercises, an Ubuntu 22.04 LTS environment is recommended due to its stability and tool support. While Kali Linux is often preferred for web security testing, Ubuntu serves as the foundation for most Pwn-related tasks.
Return-to-Text (Ret2Text)
This technique leverages buffer ...
Posted on Fri, 05 Jun 2026 17:05:45 +0000 by prashanth