CHECKSEC(1) General Commands Manual CHECKSEC(1) (NAME) checksec - (SYNOPSIS) checksec [--help] [--version] [--output table|xml|json|yaml] [--libc path] [--no-banner] [--no-headers] [--no-warnings] [--color auto|always|never] command [command-options] (DESCRIPTION) checksec Go checksec . ELF (hardening) RELRO NX PIE RPATH/RUNPATH (stack canaries) Clang CFI libc . . (GLOBAL OPTIONS) -h, --help . -v, --version . -o, --output=table|xml|json|yaml . table . -l, --libc=path libc ( fortify ). --no-banner . --no-headers . --no-warnings ( libc ). --color=auto|always|never . auto ( ). always (pipes) . (COMMANDS) file path ELF . dir directory ELF . -r, --recursive . fortifyFile path libc . fortifyProc pid libc . kernel [config] /proc/config.gz /boot/config- . proc pid . procAll . (kernel threads) /proc//exe . (COMPATIBILITY NOTES) o v2/bash --file --dir --proc-all . o ( checksec file /path/to/bin checksec procAll). o --no-banner ( --no-headers) . (EXAMPLES) checksec file /bin/ls checksec --no-banner --no-warnings file /bin/ls checksec --color=always file /bin/ls | grep RELRO checksec --output json dir /usr/bin checksec dir /usr/bin --recursive checksec proc 1 checksec kernel checksec kernel /path/to/config (DIAGNOSTICS) ( ) . procAll . (SEE ALSO) hardening-check(1), feature_test_macros(7), gcc(1), ld(1) (HISTORY) checksec Tobias Klein . Brian Davis . Linux 6.12.107+deb13-amd64 February 2026 Linux 6.12.107+deb13-amd64