Reverse Engineering Armv8-A Systems: A practical guide to kernel, firmware, and TrustZone analysis
Author:Austin Kim (Author), Bojun Seo (Author)
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2025-08-14
Language 语言: English
Print Length 页数: 446 pages
ISBN-10: 1835088929
ISBN-13: 9781835088920
Book Description
Explore reverse engineering in Armv8-A-based Arm devices, develop the skills to analyze binaries, and leverage cutting-edge security hardening features through hands-on techniques and expert insights
Key Features
- Master key aspects of Armv8-A, including register, exception handling, and TrustZone
- Build new reversing skills for kernel binaries, such as *.ko and vmlinux, for firmware analysis
- Understand Armv8-A’s latest security features
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Unlock the secrets hidden in binary code without needing the source! Written by a Linux kernel engineer and author with over 14 years of industry experience, this book lays a solid foundation in reverse engineering and takes you from curious analyst to expert. You’ll master advanced techniques to dissect kernel binaries, including kernel module files, vmlinux, and vmcore, giving you the power to analyze systems at their core.
This practical, three-part journey starts with the essentials of reverse engineering, introducing the key features of Armv8-A processors and the ELF file format. The second part walks you through the reverse-engineering process, from Arm environment setup to using static and dynamic analysis tools, including innovative methods for analyzing kernel binaries and the powerful debugging tool uftrace. The final part covers security, exploring TrustZone and the latest security techniques to safeguard Arm devices at the hardware level.
By the end of this reverse engineering book, you’ll have comprehensive Armv8-A expertise and the practical skills to analyze any binary with confidence while leveraging advanced security features to harden your systems.
What you will learn
- Understand the organization of Arm assembly instructions
- Disassemble assembly code without using C code
- Work with reverse engineering tools, such as GDB and binary utility
- Apply reversing techniques for both user space and kernel binaries
- Get to grips with static and dynamic binary analysis processes
- Get a solid understanding of the powerful debugging tool, uftrace
- Analyze TrustZone and the advanced security features provided by Armv8-A
Who this book is for
This book is for professionals and enthusiasts interested in reverse engineering and debugging on Armv8-A-based devices. It is especially useful for system software engineers, security consultants, and ethical hackers expanding their binary analysis expertise. To get the most out of this book, you should have a basic understanding of the C programming language. Familiarity with computer architecture, Linux systems, and security concepts will be a definite advantage.
Table of Contents
- Learning Fundamentals of Arm Architecture
- Understanding the ELF Binary Format
- Manipulating Data with Arm Data Processing Instructions
- Reading and Writing with Memory Access Instructions
- Controlling Execution with Flow Control Instructions
- Introducing Reverse Engineering
- Setting Up a Practice Environment with an Arm Device
- Unpacking the Kernel with Linux Fundamentals
- Understanding Basic Static Analysis
- Going Deeper with Advanced Static Analysis
- Analyzing Program Behavior with Basic Dynamic Analysis
- Expert Techniques in Advanced Dynamic Analysis
- Tracing Execution with uftrace
- Securing Execution with Armv8-A TrustZone
- Building Defenses with Key Security Features of Armv8-A
Editorial Reviews
Review
“This in-depth and accessible guide offers a comprehensive journey into reverse engineering for Armv8-A-based devices, blending foundational knowledge with advanced practical techniques. Authored by a seasoned Linux kernel engineer, it walks you through key architectural elements such as registers, exception handling, and TrustZone, helping build a strong technical base. […] Readers are guided through setting up an Arm reverse engineering environment and using powerful tools such as GDB, uftrace, and binutils to explore system behavior in depth. The book’s hands-on approach ensures readers not only learn reverse engineering theory but also apply it to real firmware and kernel-level challenges. Ideal for system software engineers, ethical hackers, and security researchers, this book empowers readers to master reverse engineering techniques and develop a clear understanding of Armv8-A’s advanced security architecture.”
Rafiuddin Syed, Sr. Principal Engineer, Drako Motors
“On a scale of 1-10, I’d rate this book a solid 9.5 for its depth, practicality, and relevance to ARMv8-A professionals. It’s not just a reference – it’s a toolkit for mastering reverse engineering at the silicon level. Highly recommended.”
Piyush Itankar, Embedded Software Engineering, Google
About the Author
Austin Kim has more than 14 years of experience in embedded Linux BSP development. He has worked on many tasks, such as board bring-up, crash and performance troubleshooting, and bootloader development for Arm-based devices. He has strong skills in binary analysis and has analyzed many memory dumps using TRACE32, Crash Utility, and ftrace. He has solved various kernel issues, including crashes, system lockups, and watchdog resets. Currently, he works as a Linux kernel BSP engineer and technical lecturer at LG Electronics. He enjoys sharing practical debugging skills, especially in areas such as Armv8-A architecture and kernel crash analysis.