top of page
BruCON-2022-102 (1).png

Hardware Hacking

3-day in-person

In this training we take devices apart, we void the warranty and start our reconnaissance with a multimeter. Through hands-on activities, you will learn how to handle a logic analyzer, dump the firmware from chips and access debug interfaces to perform runtime manipulations.


Gaining root access is a critical objective and this topic is covered in depth. You will be equipped with a full arsenal of techniques and test them against a range of real devices. This also includes advanced attacks like bypassing the password protections of protected chips. These skills sets you up to perform a deep vulnerability research on your target.


LLMs are out now and we cannot deny that certain models, used in the right way, give you an insane boost especially in hardware hacking or vulnerability research. Utilizing LLMs gives you the ability to handle complex protocols or to craft your own analysis tools. I will teach you the concepts behind it and together with the LLM you will turn your raspberry pi pico into a chip analyzer, perform side channel analysis or a powerful glitching attack against a locked device. All of this without getting broke and spending hundred of dollars on tokens.


By the end of the course, you’ll be able to hack embedded devices, and gained skills that will serve you throughout your entire career.


Despite the complex content, no prior knowledge is required. We learn everything from scratch and leave no-one behind. Three days in, and the way you see a PCB will be permanently changed.

Course Overview


Day 1:

We begin our journey by introducing the multimeter and exploring the fundamental electrical components found on a typical device. Participants will learn best practices for soldering and key considerations for safe work. You will navigate through datasheets and consume the required information without any effort. Together we start analyzing common protocols such as UART, SPI, and I²C. You will discover practical methods for identifying these interfaces and use a logic analyzer to observe the signal behavior in real time. Sniffing the protocol bus can reveal valuable insights, including sensitive information such as an encryption key (bitlocker).


We finish day one by diving into the debugging protocols SWD and JTAG. We will halt the execution of the chip and inspect and manipulate the memory during runtime.


Day 2:

The second day puts the focus on firmware extraction and privilege escalation up to root. We start with an overview of common storage types and learn how to dump less conventional ones. You will be able to reroute signal lines and extract the firmware while the chip remains in-circuit. This is a clean alternative to the desoldering approaches which is normally required. Afterwards we perform a deep dive into firmware analysis and learn how to deal with encrypted one. You'll also add a powerful arsenal of techniques to your toolkit, including glitching and memory attacks that give you the skills to break through the password protection of even the most hardened chips.


We close day two with modifying and backdooring a firmware which gives us persistent root access. This is very helpful especially for red- and blue teams.


Day 3:


The final day tackles two of the most empowering topics of this course. First, you will learn the concepts behind rebuilding virtually any protocol on a Raspberry Pi Pico using its PIO functionalities. This gives you the precise timing control required for performing side-channel and power-glitching attacks.

The second half brings LLMs into the workflow which crafts your tools. By having the knowledge of how things work, we can utilize the LLM to turn our Raspberry Pi Pico into nearly every analysis tool we require. We can start fuzzing radio protocols or extract the firmware from chips which normally requires expensive equipment. And even if the AI generates slop, we all know it will, you’ll have the foundational knowledge to fix it yourself. That's the difference between depending on a tool and commanding one.


If you’ve ever wanted an easy way into complex topics mentioned above, this is your opportunity. This course provides you hands-on learning experience that covers advanced attack techniques while remaining beginner-friendly. The result of more than ten years of frontline IoT hacking experience packed into three focused days.


Course Material

Participants will receive comprehensive training materials, including carefully prepared workbooks and over three hours of detailed solution videos. In addition, a dedicated wiki will be provided, offering supplementary information and resources on the relevant topics.


Hardware Kit

Besides this students also receive a hardware kit which is worth > 450 €

  • This kit includes:

  • Microscope

  • Multimeter

  • Opening-Kit (Screwdriver, Tweezers, etc.)

  • Raspberry Pi Pico

  • Logic Analyzer

  • Buspirate rev5 (SPI / UART / I2C / etc.)

  • Router

  • IoT Camera

  • PCBite kits (Sensepeek)

  • Cables / Clips / Resistors / MOSFET / Breadboard etc.



Target Audience


Red Teamers, Blue Teamers, Penetration Tester, IoT / Developers, Hardware Hackers, People who want to get root access on their cameras and routers 😀

Pre-requisites


Students should be familiar with the linux command line and very basic python code.


Hardware requirements

Students should bring a laptop with:

  • Admin Privileges

  • 50 GB of free disk space

  • Two USB-A ports (please bring your dongles)


Software Requirements

A Ubuntu VM will be provided that contains all required tools. The VM can be used with VMware Fusion (x86/x64) or Parallels (Mac - ARM). VirtualBox will not be officially supported. But if you are used to it you should be fine. Please let me know if you want to use it :)


Trainer Bio


Roman Stuehler is conducting security audits for more than ten years. The interest in embedded device hacking has become his profession, where he spends most of his time and money on. Buying new IoT devices and taking them apart became his main weekend activity. He has a passion for firmware reversing, rebuilding custom protocols and performing power glitching attacks against locked chips. Roman holds > 50 CVEs in web interfaces, bootloaders and proprietary protocols. He delivers guest lectures at universities across Germany and leads the mobile device hacking course alongside his work in the automotive sector.


Twitter (X): @CyberInfinite

Blog: blog.stuehler-training.de

bottom of page