1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-09-19 15:14:43 -04:00
QubesOS-Scripts/whonix-hardening.sh

13 lines
329 B
Bash
Raw Normal View History

2022-05-22 19:23:38 -04:00
#!/bin/bash
2022-05-22 20:09:39 -04:00
#Enabling SUID Disabler and Permission Hardener
2022-05-22 19:23:38 -04:00
systemctl enable --now permission-hardening
2022-05-22 20:09:39 -04:00
#Install LKRG
apt update
apt full-upgrade -y
sudo apt install --no-install-recommends lkrg-dkms linux-headers-amd64
2022-05-23 06:30:51 -04:00
#Enable hardened malloc
echo "/usr/lib/libhardened_malloc.so/libhardened_malloc.so" >> /etc/ld.so.preload