mirror of
https://github.com/tommytran732/QubesOS-Scripts.git
synced 2025-05-15 04:32:14 -04:00
kickseucre
This commit is contained in:
parent
7951969235
commit
56e8f982fb
9 changed files with 30 additions and 32 deletions
16
debian/kicksecure-hardening.sh
vendored
16
debian/kicksecure-hardening.sh
vendored
|
@ -1,16 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
#Enabling SUID Disabler and Permission Hardener
|
||||
sudo systemctl enable --now permission-hardening
|
||||
|
||||
#Install LKRG
|
||||
sudo apt update
|
||||
sudo 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" | sudo tee /etc/ld.so.preload
|
||||
|
||||
#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.
|
||||
sudo systemctl enable --now hide-hardware-info.service
|
14
debian/kicksecure.sh
vendored
14
debian/kicksecure.sh
vendored
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo apt update
|
||||
sudo apt full-upgrade
|
||||
sudo addgroup --system console
|
||||
sudo adduser user console
|
||||
|
||||
curl --proxy http://127.0.0.1:8082/ --tlsv1.3 --proto =https --max-time 180 --output ~/derivative.asc https://www.kicksecure.com/derivative.asc
|
||||
sudo cp ~/derivative.asc /usr/share/keyrings/derivative.asc
|
||||
echo "deb [signed-by=/usr/share/keyrings/derivative.asc] https://deb.kicksecure.com bullseye main contrib non-free" | sudo tee /etc/apt/sources.list.d/derivative.list
|
||||
|
||||
sudo apt install kicksecure-qubes-cli
|
||||
sudo mv /etc/apt/sources.list ~/
|
||||
sudo touch /etc/apt/sources.list
|
Loading…
Add table
Add a link
Reference in a new issue