offensive-tools/rev/checksec/SKILL.md
Auth/lab ref: Linux binary and kernel hardening inspection tool for RELRO, canary, NX, PIE, RPATH, RUNPATH, symbols, fortify, and kernel config checks.
npx skillsauth add aeondave/malskill checksecInstall 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.
Quick hardening triage for ELF binaries and Linux kernels.
Use checksec when you need to answer questions like:
This is often the first command in pwn/reversing triage.
# Inspect one binary
checksec file /bin/ls
# JSON output for automation
checksec file /bin/ls --output json
# Kernel hardening survey
checksec kernel
checksec file ./target --output cli
checksec file ./target --output json
checksec file ./target --output yaml
checksec file ./target --output xml
Use machine-readable output when feeding exploit notes, parsers, or dashboards.
checksec file ./vuln
Interpret quickly:
checksec file ./target --output json
checksec kernel
checksec kernel --output json
Useful for local privesc context or hardening audits.
checksec fortifyProc 1
Use when you want deeper fortify coverage rather than just the summary row in normal binary output.
Upstream notes two important limits:
For offline target filesystems, consider pairing checksec with native readelf if the environment is stripped down.
readelf, objdump, debugger output, and vulnerability context.No bundled scripts/, references/, or assets/.
Use upstream examples for the latest subcommands and output schema.
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.