Wun Code
RE

Reverse Engineering Basics

Start from the byte: hexadecimal, byte order and bitwise operations, then reading file structures, extracting strings and breaking XOR.

Start the trackFree, no sign-up needed

What you'll learn

  • Reverse engineering and bytesA program is bytes, and a byte is a number from 0 to 255
  • Hexadecimal notationA byte is two hex digits
  • Byte orderThe same number stored two ways in memory
  • Bitwise operationsMasks and shifts take a byte apart
  • Reading structuresRead header fields with the struct module
  • Reading a real file headerGet a PNG image's width and height from its bytes
  • Identifying files by their signaturesThe first few bytes reveal a file's format
  • Extracting stringsThe readable text among the bytes
  • Breaking XOR encryptionUndo XOR and try every key

Track contents

9 lessons, 2 hours in total
  1. 1Reverse engineering and bytesREA program is bytes, and a byte is a number from 0 to 255
  2. 2Hexadecimal notationREA byte is two hex digits
  3. 3Byte orderREThe same number stored two ways in memory
  4. 4Bitwise operationsREMasks and shifts take a byte apart
  5. 5Reading structuresRERead header fields with the struct module
  6. 6Reading a real file headerREGet a PNG image's width and height from its bytes
  7. 7Identifying files by their signaturesREThe first few bytes reveal a file's format
  8. 8Extracting stringsREThe readable text among the bytes
  9. 9Breaking XOR encryptionREUndo XOR and try every key