How it works...

We begin this recipe by using our newly altered Bash script to automate some of the tools and their options while piping their output into a file for review. This Bash script should be quite familiar already since we didn't make any groundbreaking changes—we just expanded the objdump options to include more than just the .text section in its output and made the section identifiers easier to read in the output. In step 2, we review the output using the less command.

The first thing we notice is the output from the file command, which shows us this is, in fact, an ELF formatted program, it's a 64-bit executable, and it contains its symbol table (not stripped):

Next, we can see the output of running strings against the binary. ...

Get Binary Analysis Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.