I'd like to use my laptop as a recording device when I leave home, but there would still be the possibility for a cold boot attack or with DDR3 RAM even warm boot attack is possible as I have read.

Could one overwrite RAM before leaving the laptop locked and make cold boot impossible that way?

I found this: http://manpages.ubuntu.com/manpages/utopic/en/man1/sdmem.1.html

Will sdmem really overwrite the RAM of a running system? Is it possible to write a script that does this every time I lock my pc?

closed as off-topic by schroeder, Jens Erat, M'vy, RoraΖ, Stephane Mar 5 '15 at 14:17

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Information security within the scope defined in the help center." – schroeder, Jens Erat, M'vy, Stephane
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    we do not write programs for people – schroeder Mar 5 '15 at 6:58

Yes, you can use sdmem tool for your purposes.

If you use only bash without any desktop environment you can simple add your command to $HOME/.bash_logout script.

In case of using GDM you can try to append sdmem command to /etc/gdm/PostSession/Default file.

Also you can to look this and this.

Good luck!

  • Thanks i am using normal unity desktop and am quite a noob regarding scripts and linux but i will look more into it. If you could tell me how to apply this to unity it would be great ofc. – Junior J. Garland Mar 5 '15 at 20:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.