checksec

Check security properties of executables. More information: <https://github.com/slimm609/checksec.sh>.

Install

All systems
curl cmd.cat/checksec.sh
Debian Debian
apt-get install checksec
Ubuntu
apt-get install checksec
Arch Arch Linux
pacman -S checksec
image/svg+xml Kali Linux
apt-get install checksec
Fedora
dnf install checksec
Windows (WSL2)
sudo apt-get update sudo apt-get install checksec

Check security properties of executables. More information: <https://github.com/slimm609/checksec.sh>.

  • List security properties of an executable binary file:
    checksec --file=path/to/binary
  • List security properties recursively of all executable files in a directory:
    checksec --dir=path/to/directory
  • List security properties of a process:
    checksec --proc=pid
  • List security properties of the running kernel:
    checksec --kernel

© tl;dr; authors and contributors