From aa4aafe1392fcf465ce765a44e5ea67dc4888c5e Mon Sep 17 00:00:00 2001 From: Pierre-Gronau-ndaal <72132223+Pierre-Gronau-ndaal@users.noreply.github.com> Date: Wed, 21 Feb 2024 06:26:52 +0100 Subject: [PATCH] Update audit.rules gzexe --- audit.rules | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/audit.rules b/audit.rules index 41b7e22..6455e7c 100644 --- a/audit.rules +++ b/audit.rules @@ -413,6 +413,18 @@ -w /usr/bin/zstd -p x -k Data_Compressed -w /usr/local/bin/zstd -p x -k Data_Compressed +## gzexe +-a always,exit -F arch=b32 -F path=/usr/bin/gzexe -F perm=x -F key=Data_Compressed +-a always,exit -F arch=b64 -F path=/usr/bin/gzexe -F perm=x -F key=Data_Compressed + +-a always,exit -F arch=b32 -F path=/usr/sbin/gzexe -F perm=x -F key=Data_Compressed +-a always,exit -F arch=b64 -F path=/usr/sbin/gzexe -F perm=x -F key=Data_Compressed + +### macOS + +-a always,exit -F arch=b32 -F path=/usr/local/bin/gzexe -F perm=x -F key=Data_Compressed +-a always,exit -F arch=b64 -F path=/usr/local/bin/gzexe -F perm=x -F key=Data_Compressed + ## Added to catch netcat on Ubuntu -w /bin/nc.openbsd -p x -k susp_activity -w /bin/nc.traditional -p x -k susp_activity