2025-03-14 21:59:59 -06:00
|
|
|
# checksec
|
|
|
|
|
|
|
|
|
|
> Check security properties of executables.
|
2026-06-12 17:51:25 -06:00
|
|
|
> Note: For older versions, use flags (e.g., `--file` instead of `file`).
|
|
|
|
|
> More information: <https://github.com/slimm609/checksec>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List security properties of an executable binary file:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`checksec file {{path/to/binary}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List security properties recursively of all executable files in a directory:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`checksec dir {{path/to/directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List security properties of a process:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`checksec proc {{pid}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List security properties of the running kernel:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`checksec kernel`
|