layout: post title: "Software Security Notes 4 Basic Binary Analysis in Linux" date: 2021-3-2 07:00:00 +0800
GNU Binutils tools:
base64:
represent binary in a textual form
using "=" as padding
Use $base64$ to encode and decode.
Use $file$ to identify the type of file.
Use $ldd$ to identify dependencies.
Use $xxd$ to find ELF header.
Use $dd$ to extract.
ELF header is 64 bytes.
Size of the file = Start of section headers + (Number of section headers * Size of section headers)