HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

checksec — Check security properties of executables. More information: <https://manned.org/checksec>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandsecuritycheckseccliexecutablespropertiescheckmore

Problem

How to use the checksec command: Check security properties of executables. More information: <https://manned.org/checksec>.

Solution

checksec — Check security properties of executables. More information: <https://manned.org/checksec>.

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

Code Snippets

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

Context

tldr-pages: common/checksec

Revisions (0)

No revisions yet.