|
|||
Reading paging files.
I noticed during mounting the NTFS partition on the laptop that the Windows paging file could be read with vi or any text editor. This made me wonder,"Can a Linux or BSD swap partition or swap file be read in the same manner? Can swap be read while it is active?"
I am asking these questions in regard to security . |
|
|||
All 3 of the major BSD's supported encrypted swap partitions/files, this should prevent anyone from gleaming any useful information from them.. even unencrypted it would look a lot like garbage, random 4K pages in unpredictable locations.
I know for a fact that this is done by default on OpenBSD, I do not know if that can be said for the other BSD projects.. someone else here can answer that for you. Reading from the swap file/partition is possible as root, permissions do allow it. Briefly searching Google, I found several hits for encrypted swap/page files in Windows.. you might need 3rd party support for it though. Hope that helps.. |
|
|||
I found the solution for Linux at least with the testdisk/photrec suite. I want to see if any traces of any activity are left over.
It's a start. |
|
||||
FreeBSD doesn't encrypt SWAP by default, and I assume nether does NetBSD. Setting it up on FreeBSD however takes only a few minutes.
Obviously if it is on disk, you can access it in some way: the big question is can you figure out whats on it when you do 8=)
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
A while back, I'd use scite to read hex and other file types.
What will I do with it? See how secure my box is, check for missing files, the usual. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cleaning Portsnap files in /var/db/portsnap/files | bram85 | FreeBSD Ports and Packages | 2 | 5th October 2009 09:54 AM |
Intesting reading on recent X11 changes | vermaden | General software and network | 4 | 14th May 2009 03:39 AM |
Trouble reading manpage | IIMarckus | OpenBSD General | 3 | 18th October 2008 05:08 AM |
merging log files | Sylhouette | FreeBSD General | 5 | 9th August 2008 02:46 AM |
How to sync files over ftp | graudeejs | FreeBSD General | 4 | 4th August 2008 10:18 PM |