There comes a time in every binary analysis where we need to see the library calls and system calls within a binary to help round out our analysis tasks—enter ltrace and strace. These two tools, when used effectively, provide valuable information for the dynamic analysis phase of our methodology. The ltrace tool will give us information about the library calls as the binary is run to completion while also giving us options to review the system that the binary uses. A similar tool, called strace, offers functionality to look at system calls within a process of a running program. Both of these tools are extremely useful on pesky binary analysis CTF challenges and potentially malicious binaries. Just remember that these tools fall under the dynamic analysis phase of our methodology, and as such, we need to make sure we're using these tools against...

Binary Analysis Cookbook
By :

Binary Analysis Cookbook
By:
Overview of this book
Binary analysis is the process of examining a binary program to determine information security actions. It is a complex, constantly evolving, and challenging topic that crosses over into several domains of information technology and security.
This binary analysis book is designed to help you get started with the basics, before gradually advancing to challenging topics. Using a recipe-based approach, this book guides you through building a lab of virtual machines and installing tools to analyze binaries effectively. You'll begin by learning about the IA32 and ELF32 as well as IA64 and ELF64 specifications. The book will then guide you in developing a methodology and exploring a variety of tools for Linux binary analysis. As you advance, you'll learn how to analyze malicious 32-bit and 64-bit binaries and identify vulnerabilities. You'll even examine obfuscation and anti-analysis techniques, analyze polymorphed malicious binaries, and get a high-level overview of dynamic taint analysis and binary instrumentation concepts.
By the end of the book, you'll have gained comprehensive insights into binary analysis concepts and have developed the foundational skills to confidently delve into the realm of binary analysis.
Table of Contents (12 chapters)
Preface
Setting Up the Lab
32-bit Assembly on Linux and the ELF Specification
64-bit Assembly on Linux and the ELF Specification
Creating a Binary Analysis Methodology
Linux Tools for Binary Analysis
Analyzing a Simple Bind Shell
Analyzing a Simple Reverse Shell
Identifying Vulnerabilities
Understanding Anti-Analysis Techniques
A Simple Reverse Shell With Polymorphism
Another Book You May Enjoy
How would like to rate this book
Customer Reviews