Ghidra Software Reverse-Engineering for Beginners - Second Edition
by David Álvarez Pérez, Ravikant Tiwari
10
Scripting Binary Audits
Auditing binaries is a time-consuming task, so it’s recommended to automate this process as much as possible. When auditing a software project, hunting vulnerabilities such as logical issues or architectural issues leading to vulnerabilities can’t be automated but, in other cases, such as memory corruption vulnerabilities, they’re generic and capable of being automated using, for instance, a Ghidra script developed for this purpose.
In this chapter, you’ll learn how to automate the task of looking for vulnerabilities when executable binaries using Ghidra. You’ll analyze how a Ghidra script developed by Zero Day Initiative works by looking for vulnerable calls to sscanf (a C library that reads formatted data from a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access