-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wipe LUKS Disk Encryption Key for Root Disk from RAM during Shutdown to defeat Cold Boot Attacks #1858
Conversation
…to defeat Cold Boot Attacks
@lnykryn WDYT? |
@@ -0,0 +1,5 @@ | |||
echo "Checking for mounted disks..." | |||
dmsetup ls --target crypt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should probably depend
on this properly.
echo "Checking for mounted disks..." | ||
dmsetup ls --target crypt | ||
echo "WIPE RAM!" | ||
/bin/sdmem -f |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This as well.
I didn't update this PR yet. Meanwhile the code has developed a lot further . It is now being tested by me in Kicksecure. The required I would very much like if dracut was interested to merge (upstream) this functionality. Here's the code that I have so far:
Design documentation: General user documentation on cold boot attacks: A related issue is #1862 that's why I am currently using Whatever seems required to upstream, I'd be happy to modify the code to the best of my abilities and/or licensing to accommodate dracut because I very much appreciate dracut and would like this feature to be easily, widely available. (Not only in Kicksecure.) |
This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions. |
Wiping all the RAM is different only clean LUKS unmount. ram-wipe is now implemented as a separate package:
I'd be happy if dracut was interested in this, picking this up but upstreaming seems quite difficult for me. Effective ram-wipe however depends on #2471 which will help a ton. |
Purpose of this pull request: Receiving some early feedback if this approach looks acceptable.
Changes
Checklist
Fixes #997