Difference between revisions of "Pagefile.sys"

From ForensicsWiki
Jump to: navigation, search
(New page: Microsoft Windows uses a '''paging file''', called <tt>pagefile.sys</tt> to store frames of memory that do not current fit into physical memory. Although Windows supports up to 16 ...)
 
m (Fixed formatting)
Line 10: Line 10:
  
 
* [[Nicholas Maclean]] published his thesis on [[Windows Memory Analysis|Windows memory analysis]] and discussed the paging file. Unfortunately the document does not appear to be online anymore.
 
* [[Nicholas Maclean]] published his thesis on [[Windows Memory Analysis|Windows memory analysis]] and discussed the paging file. Unfortunately the document does not appear to be online anymore.
* ''[http://www.jessekornblum.com/research/papers/buffalo.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.jessekornblum.com/research/papers/buffalo.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
 
* ''[http://www.microsoft.com/MSPress/books/6710.aspx Microsoft Windows Internals]'' - An excellent guide to the inner workings of Microsoft Windows

Revision as of 07:09, 8 April 2007

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).

Analysis Options

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.

External Links