mirror of
https://github.com/tommytran732/QubesOS-Scripts.git
synced 2024-12-25 15:19:37 -05:00
Update whonix-hardening.sh
This commit is contained in:
parent
6f381359a1
commit
47b46127d0
@ -1,16 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Enabling SUID Disabler and Permission Hardener
|
#Enabling SUID Disabler and Permission Hardener
|
||||||
systemctl enable --now permission-hardening
|
sudo systemctl enable --now permission-hardening
|
||||||
|
|
||||||
#Install LKRG
|
#Install LKRG
|
||||||
apt update
|
sudo apt update
|
||||||
apt full-upgrade -y
|
sudo apt full-upgrade -y
|
||||||
sudo apt install --no-install-recommends lkrg-dkms linux-headers-amd64
|
sudo apt install --no-install-recommends lkrg-dkms linux-headers-amd64
|
||||||
|
|
||||||
#Enable hardened malloc
|
#Enable hardened malloc
|
||||||
echo "/usr/lib/libhardened_malloc.so/libhardened_malloc.so" >> /etc/ld.so.preload
|
echo "/usr/lib/libhardened_malloc.so/libhardened_malloc.so" | sudo tee /etc/ld.so.preload
|
||||||
|
|
||||||
#Reduce kernel information leaks
|
#Reduce kernel information leaks
|
||||||
#Will break a lot of applications. The apps I use on Whonix work fine with it so I am enabling it.
|
#Will break a lot of applications. The apps I use on Whonix work fine with it so I am enabling it.
|
||||||
systemctl enable --now hide-hardware-info.service
|
sudo systemctl enable --now hide-hardware-info.service
|
||||||
|
Loading…
Reference in New Issue
Block a user