1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-09 20:21:34 -05:00
QubesOS-Scripts/whonix-hardening.sh
2022-05-23 06:30:51 -04:00

13 lines
329 B
Bash

#!/bin/bash
#Enabling SUID Disabler and Permission Hardener
systemctl enable --now permission-hardening
#Install LKRG
apt update
apt full-upgrade -y
sudo apt install --no-install-recommends lkrg-dkms linux-headers-amd64
#Enable hardened malloc
echo "/usr/lib/libhardened_malloc.so/libhardened_malloc.so" >> /etc/ld.so.preload