Jump to content

Clear Swap File


Recommended Posts

It's common knowledge that sensitive data such as passwords etc are stored unencrypted in the Windows swap file, and that the swap file is not cleared by Windows.

 

I think it would be usefulto have CCleaner be able to overwrite the Swap File with zeroes.

 

Windows can be set to zero the swap file (once when rebooting) using the registry entry (swiped from http://www.iusmentis.com/security/filewiping/wipeswap/):

 

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown

REG_DWORD

Range: 0 or 1

Default: 0

(When the entry is set to 1; Windows will fill the paging file with zeroes when exiting.)

CCleaner could set this entry. Or, even better, you could have it encrypt the swap file using a resident driver.

 

james

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.