Difference between revisions of "Hiberfil.sys"

From ForensicsWiki
Jump to: navigation, search
(External Links)
m (updated compression diffs btwn WinOS vers)
Line 1: Line 1:
 
hiberfil.sys is the file used by default by Microsoft Windows to save the machine's state as part of the [[hibernation]] process. The operating system also keeps an open file handle to this file, so no user, including the Administrator, can read the file while the system is running.
 
hiberfil.sys is the file used by default by Microsoft Windows to save the machine's state as part of the [[hibernation]] process. The operating system also keeps an open file handle to this file, so no user, including the Administrator, can read the file while the system is running.
  
Although most of the data structures required to parse the file format are available in the [[Microsoft Windows]] debug symbols, the compression used (Xpress) was undocumented until it was reverse engineered by [[Matthieu Suiche]]. He created with [[Nicolas Ruff]] a project called [http://sandman.msuiche.net/ Sandman] is the only open-source tool that can read and write the Windows hibernation file.
+
Although most of the data structures required to parse the file format are available in the [[Microsoft Windows]] debug symbols, the various compression methods used (Xpress for Windows Vista and 7, TLZ for Windows 8+) are undocumented.
 +
 
 +
The Xpress compression was reverse engineered by [[Matthieu Suiche]]. He created with [[Nicolas Ruff]] a project called [http://sandman.msuiche.net/ Sandman] is the only open-source tool that can read and write the Windows hibernation file.
  
 
In early 2008, as part of the [http://msdn.microsoft.com/en-us/library/cc197979.aspx Windows Server Protocol Program], Microsoft released documentation on the Xpress compression algorithm in the [http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-DRSR%5D.pdf Directory Replication Service (DRS) Remote Protocol] specification (section 4.1.10.6.15, "DecompressWin2k3"). However, the pseudocode given contains numerous errors, as documented by [[Matthieu Suiche]] in a [http://www.msuiche.net/2008/04/06/few-words-about-microsoft-interoperability-initiative/ blog entry].
 
In early 2008, as part of the [http://msdn.microsoft.com/en-us/library/cc197979.aspx Windows Server Protocol Program], Microsoft released documentation on the Xpress compression algorithm in the [http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-DRSR%5D.pdf Directory Replication Service (DRS) Remote Protocol] specification (section 4.1.10.6.15, "DecompressWin2k3"). However, the pseudocode given contains numerous errors, as documented by [[Matthieu Suiche]] in a [http://www.msuiche.net/2008/04/06/few-words-about-microsoft-interoperability-initiative/ blog entry].

Revision as of 13:42, 9 March 2016

hiberfil.sys is the file used by default by Microsoft Windows to save the machine's state as part of the hibernation process. The operating system also keeps an open file handle to this file, so no user, including the Administrator, can read the file while the system is running.

Although most of the data structures required to parse the file format are available in the Microsoft Windows debug symbols, the various compression methods used (Xpress for Windows Vista and 7, TLZ for Windows 8+) are undocumented.

The Xpress compression was reverse engineered by Matthieu Suiche. He created with Nicolas Ruff a project called Sandman is the only open-source tool that can read and write the Windows hibernation file.

In early 2008, as part of the Windows Server Protocol Program, Microsoft released documentation on the Xpress compression algorithm in the Directory Replication Service (DRS) Remote Protocol specification (section 4.1.10.6.15, "DecompressWin2k3"). However, the pseudocode given contains numerous errors, as documented by Matthieu Suiche in a blog entry.

External Links

LZ XPRESS