From 84dfbb3849ea79874da11f58bdc61a695e4bdefe Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Wed, 16 Sep 2020 09:11:39 +0200 Subject: [PATCH] Improve the limited-suid function description --- _data/functions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/functions.yml b/_data/functions.yml index 75e48d8..02e4e10 100644 --- a/_data/functions.yml +++ b/_data/functions.yml @@ -63,6 +63,6 @@ capabilities: limited-suid: label: Limited SUID description: | - If the binary has the SUID bit set, it may be exploited to access the file system, escalate or maintain access with elevated privileges working as a SUID backdoor. If it is used to run commands it only works on systems like Debian (<= Stretch) that allow the default `sh` shell to run with SUID privileges. + If the binary has the SUID bit set, it may be exploited to access the file system, escalate or maintain access with elevated privileges working as a SUID backdoor. If it is used to run commands (e.g., via `system()`-like invocations) it only works on systems like Debian (<= Stretch) that allow the default `sh` shell to run with SUID privileges. This example creates a local SUID copy of the binary and runs it to maintain elevated privileges. To exploit an existing SUID binary skip the first command and run the program using its original path.