File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ proxmox-boot-tool refresh
8585# ##
8686
8787# Kernel hardening
88- curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/modprobe.d/server-blacklist.conf | tee /etc/modprobe.d/server-blacklist.conf > /dev/null
88+ curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/lib/modprobe.d/secureblue-framebuffer.conf | tee /etc/modprobe.d/framebuffer-blacklist.conf > /dev/null
89+ curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/lib/modprobe.d/secureblue.conf | tee /etc/modprobe.d/server-blacklist.conf > /dev/null
8990curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/sysctl.d/99-server.conf | tee /etc/sysctl.d/99-server.conf > /dev/null
9091sysctl -p /etc/sysctl.d
9192
Original file line number Diff line number Diff line change @@ -71,7 +71,9 @@ sudo systemctl daemon-reload
7171sudo systemctl restart sshd
7272
7373# Security kernel settings
74- unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/modprobe.d/server-blacklist.conf | sudo tee /etc/modprobe.d/server-blacklist.conf > /dev/null
74+ unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/lib/modprobe.d/secureblue-framebuffer.conf | sudo tee /etc/modprobe.d/framebuffer-blacklist.conf > /dev/null
75+ sudo chmod 644 /etc/modprobe.d/framebuffer-blacklist.conf
76+ unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/lib/modprobe.d/secureblue.conf | sudo tee /etc/modprobe.d/server-blacklist.conf > /dev/null
7577sudo chmod 644 /etc/modprobe.d/server-blacklist.conf
7678unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/sysctl.d/99-server.conf | sudo tee /etc/sysctl.d/99-server.conf > /dev/null
7779sudo chmod 644 /etc/sysctl.d/99-server.conf
Original file line number Diff line number Diff line change @@ -49,8 +49,9 @@ sudo systemctl daemon-reload
4949sudo systemctl restart sshd
5050
5151# Kernel hardening
52- unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/modprobe.d/server-blacklist.conf | sudo tee /etc/modprobe.d/server-blacklist.conf > /dev/null
53- sed -i ' s/^install squashfs/#install squashfs/' /etc/modprobe.d/server-blacklist.conf
52+ unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/lib/modprobe.d/secureblue-framebuffer.conf | sudo tee /etc/modprobe.d/framebuffer-blacklist.conf > /dev/null
53+ unpriv curl -s https://raw.githubusercontent.com/secureblue/secureblue/live/files/system/usr/lib/modprobe.d/secureblue.conf | sudo tee /etc/modprobe.d/server-blacklist.conf > /dev/null
54+ sudo sed -i ' s/^install squashfs/#install squashfs/' /etc/modprobe.d/server-blacklist.conf
5455sudo chmod 644 /etc/modprobe.d/server-blacklist.conf
5556unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/sysctl.d/99-server.conf | sudo tee /etc/sysctl.d/99-server.conf > /dev/null
5657sudo chmod 644 /etc/sysctl.d/99-server.conf
You can’t perform that action at this time.
0 commit comments