offensive-tools/rev/readelf/SKILL.md
Auth/lab ref: ELF metadata inspection utility for headers, sections, program headers, symbols, notes, relocations, and dynamic entries.
npx skillsauth add aeondave/malskill readelfInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Authoritative ELF structure inspection. When in doubt, trust the headers.
Use readelf when you need to:
# ELF header
readelf -h ./chall
# Program headers and interpreter
readelf -l ./chall
# Dynamic section
readelf -d ./chall
readelf -S ./chall
readelf -Ws ./chall
readelf -r ./chall
readelf -n ./chall
readelf -l ./chall
readelf -d ./chall | grep NEEDED
readelf -d ./chall | grep -E "RPATH|RUNPATH|SONAME"
readelf -l to confirm the PT_INTERP path before touching patchelf.readelf -d is the fastest way to answer libc and loader dependency questions.readelf -Ws helps explain why objdump or a debugger did or did not recover symbols.readelf shows structure, not runtime values after relocation.objdump or platform-native tooling for PE/Mach-O.checksec and runtime observation.No bundled scripts/, references/, or assets/.
Use the GNU binutils documentation for less common flags like versioning, unwind info, and debug-section inspection.
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.