Wiping RAM at shutdown to defeat cold boot attacks.
Implemented as dracut
module cold-boot-attack-defense
.
Requires dracut
. In other words, RAM wipe is incompatible with systems
using initramfs-tools
. To switch to, install dracut:
sudo apt update
sudo apt install --no-install-recommends dracut
Linux distribution such as Kicksecure are advised to
(and Kicksecure is planning to) install dracut
instead of
initramfs-tools
by default.
Only tested on systemd
enabled systems.
User documentation: https://www.kicksecure.com/wiki/Cold_Boot_Attack_Defense
Design documentation: https://www.kicksecure.com/wiki/Dev/RAM_Wipe
Source code:
/usr/lib/dracut/modules.d/40cold-boot-attack-defense
/etc/default/grub.d/40_cold_boot_attack_defense.cfg
- security-misc
- Linux Kernel Runtime Guard (LKRG)
- tirdad - TCP ISN CPU Information Leak Protection.
- Kicksecure (TM) - a security-hardened Linux Distribution
- And more.
- https://github.com/Kicksecure/security-misc
- https://www.kicksecure.com/wiki/Linux_Kernel_Runtime_Guard_LKRG
- https://github.com/Kicksecure/tirdad
- https://www.kicksecure.com
- https://github.com/Kicksecure
Happening primarily in forums.
https://forums.whonix.org/t/kernel-hardening/7296
See https://www.kicksecure.com/wiki/Cold_Boot_Attack_Defense#install
Can be build using standard Debian package build tools such as:
dpkg-buildpackage -b
See instructions. (Replace generic-package
with the actual name of this package security-misc
.)
- A) easy, OR
- B) including verifying software signatures
security-misc
requires donations to stay alive!