pwncollege
DojosLeaderboardCommunity
Back to computing-101

Endian Escapades

computing-101
0/8 challenges completed

x86 stores every multi-byte value little-endian (low byte first), and that fact turns up everywhere you look at raw memory: hex dumps, debuggers, exploits. To work properly in these contexts, you need to understand byte order. This module makes it second nature.

You'll crack a series of programs that hide a password in their own compiled code, reading it back out of the disassembly at every size, whether it's a "qword", a lone byte, or a structure. By the end, byte order won't trip you up in a hex dump, a debugger, or an exploit ever again (or we'll add more challenges to make it so!).

Little-Endian
Memory Order and Register Values
Bytes, Words, and Friends
1
Sign Extension
2
Little-Endian Bytes
3
Qword by Qword
4
Dword by Dword
5
Word by Word
6
Byte by Byte
7
Cracking a Struct
8
Scrambled Struct