LinuxCommandLibrary

checksec

Check security properties of executables.

TLDR

List security properties of an executable binary file

$ checksec --file=[path/to/binary]
copy


List security properties recursively of all executable files in a directory
$ checksec --dir=[path/to/directory]
copy


List security properties of a process
$ checksec --proc=[pid]
copy


List security properties of the running kernel
$ checksec --kernel
copy

Copied to clipboard