Static Analysis
ELF files consist of different sections, segments, and headers, each containing information about the binary file. Static analysis is the process of examining these parts to better understand the file’s structure without executing it.
File Headers
This portion of the layout shows the ELF file headers similar to the output of readelf -h <binary>
command. It includes the following information:
This might come in handy when you want to understand the binary’s architecture and the entry point.
Notes
Here you can see the notes found in the binary file, similar to the output of readelf -n <binary>
command.
This information is useful for understanding the binary’s build environment and the compiler version used.
Common Sections Table
This table shows the common sections found in the binary file, similar to the output of readelf -S <binary>
command. It includes the following information:
Section | Description |
---|---|
Program headers | Segments loaded into memory when the binary is executed. |
Section headers | Sections storing the binary’s data. |
Symbols | Contains symbols used in the binary. |
Dynamic symbols | Contains dynamic symbols used in the binary. |
Dynamic section | Contains dynamic linking information. |
Relocations | Contains relocations used in the binary. |
You can press h and l to scroll horizontally and / to search for a specific value.