mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-29 07:57:09 -04:00
Set efi_pstore.pstore_disable=1
This commit is contained in:
parent
f643ebc2f9
commit
df2fc2cf6b
2 changed files with 15 additions and 0 deletions
|
@ -226,6 +226,9 @@ Kernel space:
|
||||||
- Optional - Disable support for all x86 processes and syscalls (when using Linux kernel >= 6.7)
|
- Optional - Disable support for all x86 processes and syscalls (when using Linux kernel >= 6.7)
|
||||||
to reduce attack surface.
|
to reduce attack surface.
|
||||||
|
|
||||||
|
- Disable EFI persistent storage feature, preventing the kernel from writing crash logs and
|
||||||
|
other persistent data to the EFI variable store.
|
||||||
|
|
||||||
Direct memory access:
|
Direct memory access:
|
||||||
|
|
||||||
- Enable strict IOMMU translation to protect against some DMA attacks via the use
|
- Enable strict IOMMU translation to protect against some DMA attacks via the use
|
||||||
|
|
|
@ -223,6 +223,18 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX vdso32=0"
|
||||||
##
|
##
|
||||||
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX ia32_emulation=0"
|
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX ia32_emulation=0"
|
||||||
|
|
||||||
|
## Disable EFI persistent storage feature.
|
||||||
|
## Prevents the kernel from writing crash logs and other persistent data to the EFI variable store.
|
||||||
|
##
|
||||||
|
## https://blogs.oracle.com/linux/post/pstore-linux-kernel-persistent-storage-file-system
|
||||||
|
## https://www.ais.com/understanding-pstore-linux-kernel-persistent-storage-file-system/
|
||||||
|
## https://lwn.net/Articles/434821/
|
||||||
|
## https://manpages.debian.org/testing/systemd/systemd-pstore.service.8.en.html
|
||||||
|
## https://gitlab.tails.boum.org/tails/tails/-/issues/20813
|
||||||
|
## https://github.com/Kicksecure/security-misc/issues/299
|
||||||
|
##
|
||||||
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX efi_pstore.pstore_disable=1"
|
||||||
|
|
||||||
## 2. Direct Memory Access:
|
## 2. Direct Memory Access:
|
||||||
##
|
##
|
||||||
## https://madaidans-insecurities.github.io/guides/linux-hardening.html#dma-attacks
|
## https://madaidans-insecurities.github.io/guides/linux-hardening.html#dma-attacks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue