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 ++
diff --git a/core/linux.html b/core/linux.html index 670d0e7..d265925 100644 --- a/core/linux.html +++ b/core/linux.html @@ -686,8 +686,7 @@2.1.2.14 Cryptographic API
-- +
* MD4 digest algorithm diff --git a/core/reboot.html b/core/reboot.html index f7a34d6..fbf9cc1 100644 --- a/core/reboot.html +++ b/core/reboot.html @@ -2,13 +2,13 @@ --1.4. Boot +1.3. Boot Core OS Index -1.4. Boot
+1.3. Boot
Follow this instructions with active chroot, first mount partitions @@ -31,7 +31,7 @@ /bin/bash --login
Install linux-gnu port, linux libre kernel is a true source based kernel that @@ -60,7 +60,7 @@ # pkgadd /usr/ports/packages/linux-gnu#4.9.86-2.pkg.tar.gz -
Install dracut;
@@ -101,7 +101,7 @@ # dracut --kver 4.9.86-gnu -Create grub file in /etc/default/grub with values;
@@ -146,7 +146,7 @@ # grub-probe --target=hints_string / -Simple way to have "resque" system is to mount boot as read only, this assures that even as root nothing can be changed without remount. @@ -176,7 +176,7 @@ } -
Reboot computer using power / reset.
-If you have qemu installed you can see if it boots, in this example sdb is usb external drive;
diff --git a/core/toolchain.html b/core/toolchain.html index 9662217..34a6c34 100644 --- a/core/toolchain.html +++ b/core/toolchain.html @@ -25,6 +25,9 @@ export LDFLAGS="-z relro" +Above should compile most of the packages, for more + "restrict" and other flags combinations check pkgmk.conf.handen.
+Ports in core collection that need to be changed in order -- cgit 1.4.1-2-gfad0