Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Binary Analysis Cookbook
  • Toc
  • feedback
Binary Analysis Cookbook

Binary Analysis Cookbook

By : Born
5 (1)
close
Binary Analysis Cookbook

Binary Analysis Cookbook

5 (1)
By: Born

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)
close

Using GDB for dynamic analysis

Now that we've seen what the binary can do using ltrace and strace, we'll continue our dynamic analysis phase using GDB. Using a debugger is a bit of a lengthy process, as we will see as we step through each instruction or blocks of instructions, pausing to examine the stack, the registers, and any flags that were altered by the instructions we execute. All of this information will help us to formulate a better idea about how a binary functions during execution.

Getting ready

Open up VirtualBox if it isn't open already and start the 32-bit Ubuntu virtual machine we built in Chapter 1, Setting Up the Lab. Once the virtual machine is up and running, open the Terminal application...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete