Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Firmware Reverse Engineering & Exploitation

Vaibhav Bedi
November 25, 2018

Firmware Reverse Engineering & Exploitation

What is Firmware
Analysis Firmware
How to get firmware from any device
Extracting Firmware
Firmware scanning Tool

Vaibhav Bedi

November 25, 2018
Tweet

Other Decks in Technology

Transcript

  1.  What is Firmware  Analysis Firmware  How to

    get firmware from any device  Extracting Firmware  Firmware scanning Tool
  2. • Binwalk • Attify OS • Firmware Analysis Toolkit •

    Fimware Scanning Tool • Qemu • Firmwalker
  3. Firmware is nothing but just a piece of code residing

    on the non-volatile section of the device to perform different tasks required for the functioning of the device. Components • Kernel • Boot loader • File System
  4. File system in the Embedded or IoT device can be

    of different types, depending on the manufacturer’s requirements and the device functionality. Each of the different file system types have their own unique signature headers which we will later use to identify the location where file system starts in the entire firmware binary. The common file systems which we typically encounter in IoT devices: 1. Squashfs 2. Cramfs 3. JFFS2 4. YAFFS2 5. ext2
  5. • Getting it online • Extracting from the device •

    Sniffing OTA • Reversing applications
  6. • It’s used to access the device remotely. Example like

    baby monitor having telnet access enabled with a hard-coded password. • Now we have to find the word telenet in the entire firmware folder.