From b5db16bf55368cbd4978a327a4b0c45115f79c13 Mon Sep 17 00:00:00 2001 From: Johan Degn <54548365+johandegn@users.noreply.github.com> Date: Tue, 29 Aug 2023 04:54:43 +0200 Subject: [PATCH] checksec: add page (#10638) Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/common/checksec.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/checksec.md diff --git a/pages/common/checksec.md b/pages/common/checksec.md new file mode 100644 index 000000000..c4ec98235 --- /dev/null +++ b/pages/common/checksec.md @@ -0,0 +1,20 @@ +# checksec + +> Check security properties of executables. +> More information: . + +- 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`