- Learning Linux Binary Analysis
- Ryan “elfmaster” O'Neill
- 328字
- 2021-07-16 12:56:52
Chapter 2. The ELF Binary Format
In order to reverse-engineer Linux binaries, you must understand the binary format itself. ELF has become the standard binary format for Unix and Unix-flavor OSes. In Linux, BSD variants, and other OSes, the ELF format is used for executables, shared libraries, object files, coredump files, and even the kernel boot image. This makes ELF very important to learn for those who want to better understand reverse engineering, binary hacking, and program execution. Binary formats such as ELF are not generally a quick study, and to learn ELF requires some degree of application of the different components that you learn as you go. Real, hands-on experience is necessary to achieve proficiency. The ELF format is complicated and dry, but can be learned with some enjoyment when applying your developing knowledge of it in reverse engineering and programming tasks. ELF is really quite an incredible composition of computer science at work, with program loading, dynamic linking, symbol table lookups, and many other tightly orchestrated components.
I believe that this chapter is perhaps the most important in this entire book because it will give the reader a much greater insight into topics pertaining to how a program is actually mapped out on disk and loaded into memory. The inner workings of program execution are complicated, and understanding it is valuable knowledge to the aspiring binary hacker, reverse engineer, or low-level programmer. In Linux, program execution implies the ELF binary format.
My approach to learning ELF is through investigation of the ELF specifications as any Linux reverse engineer should, and then applying each aspect of what we learn in a creative way. Throughout this book, you will visit many facets of ELF and see how knowledge of it is pertinent to viruses, process-memory forensics, binary protection, rootkits, and more.
In this chapter, you will cover the following ELF topics:
- ELF file types
- Program headers
- Section headers
- Symbols
- Relocations
- Dynamic linking
- Coding an ELF parser
- 跟老齊學(xué)Python:輕松入門
- Java開發(fā)入行真功夫
- PHP網(wǎng)絡(luò)編程學(xué)習(xí)筆記
- Visual Basic程序設(shè)計(jì)教程
- 微信小程序開發(fā)解析
- Python:Master the Art of Design Patterns
- RESTful Java Web Services(Second Edition)
- 好好學(xué)Java:從零基礎(chǔ)到項(xiàng)目實(shí)戰(zhàn)
- Julia for Data Science
- 零代碼實(shí)戰(zhàn):企業(yè)級應(yīng)用搭建與案例詳解
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)項(xiàng)目化教程
- Distributed Computing in Java 9
- LabVIEW數(shù)據(jù)采集
- jQuery從入門到精通(微課精編版)
- Less Web Development Cookbook