mirror of
https://github.com/hardenedlinux/harbian-audit.git
synced 2025-04-07 21:05:12 +02:00
Modify 8.1.21 for all privileged passwd events
This commit is contained in:
parent
4c2aeead84
commit
395053deb9
@ -5,7 +5,7 @@
|
||||
#
|
||||
|
||||
#
|
||||
# 8.1.19 Recored /usr/bin/passwd command usage (Scored)
|
||||
# 8.1.19 Recored Events that privileged-passwd command usage (Scored)
|
||||
# Authors : Samson wen, Samson <sccxboy@gmail.com>
|
||||
#
|
||||
|
||||
@ -14,7 +14,11 @@ set -u # One variable unset, it's over
|
||||
|
||||
HARDENING_LEVEL=4
|
||||
|
||||
AUDIT_PARAMS='-a always,exit -F path=/usr/bin/passwd -F perm=x -F auid>=1000 -F auid!=4294967295 -k privileged-passwd'
|
||||
AUDIT_PARAMS='-a always,exit -F path=/usr/bin/passwd -F perm=x -F auid>=1000 -F auid!=4294967295 -k privileged-passwd
|
||||
-a always,exit -F path=/sbin/unix_chkpwd -F perm=x -F auid>=1000 -F auid!=4294967295 -k privileged-passwd
|
||||
-a always,exit -F path=/usr/bin/gpasswd -F perm=x -F auid>=1000 -F auid!=4294967295 -k privileged-passwd
|
||||
-a always,exit -F path=/usr/bin/chage -F perm=x -F auid>=1000 -F auid!=4294967295 -k privileged-passwd'
|
||||
|
||||
FILE='/etc/audit/audit.rules'
|
||||
|
||||
# This function will be called if the script status is on enabled / audit mode
|
Loading…
x
Reference in New Issue
Block a user