mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-11-25 22:56:46 -05:00
Merge remote-tracking branch 'raja/trixie_docs' into arraybolt3/trixie
This commit is contained in:
commit
210aa97650
2 changed files with 6 additions and 2 deletions
|
|
@ -223,7 +223,8 @@ Kernel space:
|
||||||
- Use kCFI as the default CFI implementation as it is more resilient to attacks that are
|
- Use kCFI as the default CFI implementation as it is more resilient to attacks that are
|
||||||
able to write arbitrary executables into memory omitting the necessary hash validation.
|
able to write arbitrary executables into memory omitting the necessary hash validation.
|
||||||
|
|
||||||
- Optional - Disable support for all 32-bit x86 processes and syscalls to reduce attack surface.
|
- Optional - Disable support for all x86 processes and syscalls (when using Linux kernel >= 6.7)
|
||||||
|
to reduce attack surface.
|
||||||
|
|
||||||
- Disable the EFI persistent storage feature which prevents the kernel from writing crash logs
|
- Disable the EFI persistent storage feature which prevents the kernel from writing crash logs
|
||||||
and other persistent data to either the UEFI variable storage or ACPI ERST backends.
|
and other persistent data to either the UEFI variable storage or ACPI ERST backends.
|
||||||
|
|
|
||||||
|
|
@ -206,7 +206,7 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX vdso32=0"
|
||||||
##
|
##
|
||||||
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX cfi=kcfi"
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX cfi=kcfi"
|
||||||
|
|
||||||
## Disable support for all 32-bit x86 processes and syscalls.
|
## Disable support for x86 processes and syscalls.
|
||||||
## Unconditionally disables IA32 emulation to substantially reduce attack surface.
|
## Unconditionally disables IA32 emulation to substantially reduce attack surface.
|
||||||
##
|
##
|
||||||
## https://lore.kernel.org/all/20230623111409.3047467-7-nik.borisov@suse.com/
|
## https://lore.kernel.org/all/20230623111409.3047467-7-nik.borisov@suse.com/
|
||||||
|
|
@ -214,6 +214,9 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX cfi=kcfi"
|
||||||
## KSPP=yes
|
## KSPP=yes
|
||||||
## KSPP does not set CONFIG_COMPAT, CONFIG_IA32_EMULATION, CONFIG_X86_X32, CONFIG_X86_X32_ABI, and CONFIG_MODIFY_LDT_SYSCALL.
|
## KSPP does not set CONFIG_COMPAT, CONFIG_IA32_EMULATION, CONFIG_X86_X32, CONFIG_X86_X32_ABI, and CONFIG_MODIFY_LDT_SYSCALL.
|
||||||
##
|
##
|
||||||
|
## TODO: Debian 13 Trixie
|
||||||
|
## Applicable when using Linux kernel >= 6.7 (retained here for future-proofing and completeness).
|
||||||
|
##
|
||||||
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX ia32_emulation=0"
|
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX ia32_emulation=0"
|
||||||
|
|
||||||
## Disable EFI persistent storage feature.
|
## Disable EFI persistent storage feature.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue