Skip to content

Commit

Permalink
Update audit.rules cpio
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gronau-ndaal authored Feb 21, 2024
1 parent 36a7c52 commit 859228b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions audit.rules
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,25 @@
-w /usr/bin/zstd -p x -k Data_Compressed
-w /usr/local/bin/zstd -p x -k Data_Compressed

### https://www.gnu.org/software/cpio/
-a always,exit -F arch=b32 -F path=/usr/bin/cpio -F perm=x -F key=Data_Compressed
-a always,exit -F arch=b64 -F path=/usr/bin/cpio -F perm=x -F key=Data_Compressed

-a always,exit -F arch=b32 -F path=/usr/sbin/cpio -F perm=x -F key=Data_Compressed
-a always,exit -F arch=b64 -F path=/usr/sbin/cpio -F perm=x -F key=Data_Compressed

-a always,exit -F arch=b32 -F path=/usr/local/bin/cpio -F perm=x -F key=Data_Compressed
-a always,exit -F arch=b64 -F path=/usr/local/bin/cpio -F perm=x -F key=Data_Compressed

-a always,exit -F arch=b32 -F path=/usr/bin/mt-gnu -F perm=x -F key=Data_Compressed
-a always,exit -F arch=b64 -F path=/usr/bin/mt-gnu -F perm=x -F key=Data_Compressed

-a always,exit -F arch=b32 -F path=/usr/sbin/mt-gnu -F perm=x -F key=Data_Compressed
-a always,exit -F arch=b64 -F path=/usr/sbin/mt-gnu -F perm=x -F key=Data_Compressed

-a always,exit -F arch=b32 -F path=/usr/local/bin/mt-gnu -F perm=x -F key=Data_Compressed
-a always,exit -F arch=b64 -F path=/usr/local/bin/mt-gnu -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
Expand Down

0 comments on commit 859228b

Please sign in to comment.