Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Practical Hardware Pentesting

You're reading from   Practical Hardware Pentesting Learn attack and defense techniques for embedded systems in IoT and other devices

Arrow left icon
Product type Paperback
Published in Feb 2026
Publisher
ISBN-13 9781803249322
Length 403 pages
Edition 2nd Edition
Arrow right icon
Author (1):
Arrow left icon
Jean-Georges Valle Jean-Georges Valle
Author Profile Icon Jean-Georges Valle
Jean-Georges Valle
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

1. Practical Hardware Pentesting, Second Edition: Learn attack and defense techniques for embedded systems in IoT and other devices
2. Setting Up Your Pentesting Lab and Ensuring Lab Safety FREE CHAPTER 3. Our Main Attack Platform 4. Sniffing and Attacking the Most Common Protocols 5. Extracting and Manipulating Onboard Storage 6. Attacking Wi-Fi, Bluetooth, and BLE 7. Attacking phone connected devices 8. Software-Defined Radio Attacks 9. Accessing the Debug Interfaces 10. Static Reverse Engineering and Analysis 11. Dynamic Reverse Engineering

Using OpenOCD

Open On-Chip Debugger (OpenOCD), is a piece of software that acts as a bridge between your debugger interface and the JTAG interface. On one side, it will drive your JTAG interface and on the other side, present a standard GDB server that the debugger will use to drive it.

It will translate the debugger command I want to read a 32-bit value at address X to a series of zeros and ones your JTAG interface will clock to TDI. The interface gets the answer on TDO and sends it to OpenOCD, which translates it to an answer to GDB, the value at X is Y.

As much as the GDB server side is well established and standardized, OpenOCD needs to be able to talk correctly to your adapter and generate the correct series of zeros and ones for your target CPU/MCU. For this, OpenOCD will need the correct configuration. This is done in a series of configuration statements in TCL (http://openocd.org/doc/html/Tcl-Crash-Course.html).

OpenOCD configuration files are not simply variable affectation but...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical Hardware Pentesting
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon