From cfcdf7dd88ecf3120b97d253e68110a855a2700d Mon Sep 17 00:00:00 2001 From: Shawn Webb Date: Sat, 21 Jan 2023 19:22:55 -0500 Subject: [PATCH] Document ptrace hardening Signed-off-by: Shawn Webb --- Home.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Home.md b/Home.md index dc33980..4740688 100644 --- a/Home.md +++ b/Home.md @@ -124,6 +124,15 @@ HardenedBSD does not permit such behavior. jemalloc in HardenedBSD has been set to zero new allocations by default. +Process tracing (`ptrace`) is hardened: + +* Process tracing facility itself is disabled by default + (`security.bsd.allow_ptrace=0`). +* Unpriviledged process debugging is prohibited by default + (`security.bsd.unprivileged_proc_debug=0`). +* Remote syscall functionality (`ptrace(PT_SC_REMOTE)`) is prohibited by + default. + ## Modified sysctl Nodes These are the nodes that are modified from their original defaults