Skip to content

Wipe RAM on shutdown and reboot - Cold Boot Attack Defense

License

Notifications You must be signed in to change notification settings

Kicksecure/ram-wipe

Repository files navigation

Cold Boot Attack Defense

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

Related

Discussion

Happening primarily in forums.

https://forums.whonix.org/t/kernel-hardening/7296

How to install ram-wipe

See https://www.kicksecure.com/wiki/Cold_Boot_Attack_Defense#install

How to Build deb Package from Source Code

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.)

Contact

Donate

security-misc requires donations to stay alive!

About

Wipe RAM on shutdown and reboot - Cold Boot Attack Defense

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages