Difference between revisions of "Pagefile.sys"
|(3 intermediate revisions by the same user not shown)|
|Line 12:||Line 12:|
== External Links ==
== External Links ==
* [[Nicholas Maclean]]
* [[Nicholas Maclean]] on [[Windows Memory Analysis|Windows memory analysis]] and the paging file.
* [http://jessekornblum.com//.pdf Using Every Part of the Buffalo in Windows Memory Analysis]A paper discussing the different states of memory including where to find data in the paging file
* [http://www.microsoft.com/MSPress/books/6710.aspx Microsoft Windows Internals] - An excellent guide to the inner workings of Microsoft Windows
Latest revision as of 02:29, 16 August 2012
Microsoft Windows uses a paging file, called pagefile.sys, to store frames of memory that do not current fit into physical memory. Although Windows supports up to 16 paging files, in practice normally only one is used. This file, stored in %SystemDrive%\pagefile.sys is a hidden system file. Because the operating system keeps this file open during normal operation, it can never be read or accessed by a user. It is possible to read this file by parsing the raw file system (e.g. using The Sleuth Kit).
Data is stored in the paging file when Windows determines that it needs more space in physical memory. Because storage locations in the paging file are not necessarily sequential, it is unlikely to find consecutive pages there. Although it is possible to find data in chunks smaller than or equal to 4KB, its the largest an examiner can hope for.
Sadly, the most productive method to date for analyzing paging files is searching for strings. It is possible to carve out files, but as noted the examiner is unlikely to find anything larger than 4KB.
- Acquisition and Analysis of Windows Memory, by Nicholas Maclean in 2006. Thesis on Windows memory analysis and discusses the paging file.
- Using Every Part of the Buffalo in Windows Memory Analysis, by Jesse Kornblum in 2006. A paper discussing the different states of memory including where to find data in the paging file.
- Microsoft Windows Internals - An excellent guide to the inner workings of Microsoft Windows.