From 1fb8842d469c36e5b43e843d3759e3c18c120c47 Mon Sep 17 00:00:00 2001
From: Silvino Cat /etc/pam.d/system-auth. Check pam modules, test on virtual machine, user can lockout during tests. Cat /etc/pam.d/system-auth. Check pam modules, test on virtual machine, user can lockout during tests. Check files (processes); getfacl filename. Check files (processes) set uid and set gid; Check files (processes); getfacl filename.1.2 - Linux PAM
-
- # find / -perm -4000 >> /root/setuid_files
+ # find / -perm 4000 >> /root/setuid_files
# find / -perm 2000 >> /root/setguid_files
@@ -75,8 +75,17 @@
# chmod g-s filename
-
Find world writable files;
+ ++ # find /dir -xdev -type d \( -perm -0002 -a ! -perm -1000 \) -print ++ +
No owner files;
+ ++ # find /dir -xdev \( -nouser -o -nogroup \) -print +
Find listening services with command;
+ ++ # ss -tulpn + # nmap -sT -O localhost + # nmap -sT -O machine.example.org ++
-- cgit 1.4.1-2-gfad0