From 98a85ddceeea50b831e68661446f84b2462c062e Mon Sep 17 00:00:00 2001 From: shashank-elastic <91139415+shashank-elastic@users.noreply.github.com> Date: Wed, 1 Jun 2022 22:07:52 +0530 Subject: [PATCH] Linux binary(s) ftp shell evasion threat (#2007) Co-authored-by: Colson Wilhoit <48036388+DefSecSentinel@users.noreply.github.com> --- rules/linux/execution_shell_evasion_linux_binary.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/linux/execution_shell_evasion_linux_binary.toml b/rules/linux/execution_shell_evasion_linux_binary.toml index 01d2324db..5cce07017 100644 --- a/rules/linux/execution_shell_evasion_linux_binary.toml +++ b/rules/linux/execution_shell_evasion_linux_binary.toml @@ -91,6 +91,7 @@ references = [ "https://gtfobins.github.io/gtfobins/capsh/", "https://gtfobins.github.io/gtfobins/byebug/", "https://gtfobins.github.io/gtfobins/git/", + "https://gtfobins.github.io/gtfobins/ftp/" ] risk_score = 47 rule_id = "52376a86-ee86-4967-97ae-1a05f55816f0" @@ -107,7 +108,7 @@ process where event.type == "start" and /* launching shells from unusual parents or parent+arg combos */ (process.name in ("bash", "sh", "dash","ash") and - (process.parent.name in ("byebug","git")) or + (process.parent.name in ("byebug","git","ftp")) or /* shells specified in parent args */ /* nice rule is broken in 8.2 */