Static Analysis
See: static analysis
-
strings BIN [-n MINLEN]
: print strings in binary -
readelf BIN
: show ELF info -
checksec BIN
: (pwntools) show basic info & security features of binary -
rabin2 -S BIN
: (radare2) show sections -
rabin2 -SS BIN
: (radare2) show segments -
rabin2 -z BIN
: (radare2) show strings -
rabin2 -qs pivot | grep -ve imp -e ' 0 '
: (radare2) show functions (excluding imports) -
hexdump -C BIN
: hex dump -
objdump -d BIN
: disassembler -
objdump -x BIN
: show program headers (e.g. segment permissions), section headers
Dynamic Analysis
See: gdb, radare2, static analysis
strace BIN [ARGS...]
: trace syscallsltrace BIN [ARGS...]
: trace shared library functions calls