Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Get the compiled version as part of Comae Toolkit, register on:


Comae Hibernation File Decompressor (SANDMAN project)

Back in 2007 [1], after reversing Microsoft Windows Kernel Power Management functions and its compression algorithm. I started an open source project called Enter SandMan that aimed at decompressing hibernation files on Windows and extracting information out of it via an interactive shell - 10 years later hibernation file based memory forensics became very popular in the Law Enforcement World and helped many investigators to solve many cases all over the World.

SandMan initially started as an open-source project, but in 2008 a German company called X-Ways stole[2][3][4] my open source code without giving any proper due credits. As a results, I stopped open sourcing my projects.

2017 is now here, and I thought it would be a good way to start the year by open sourcing the current version of Hibr2Bin which also had been recently documented [5] by Joe T. Sylve, Vico Marziale, Golden G. Richard III.


  Hibr2Bin 3.0
  Copyright (C) 2007 - 2017, Matthieu Suiche <>
  Copyright (C) 2012 - 2014, MoonSols Limited <>
  Copyright (C) 2015 - 2017, Comae Technologies FZE <>

Usage: Hibr2Bin [Options] /INPUT <FILENAME> /OUTPUT <FILENAME>

  Enables users to uncompress Windows hibernation file.

  /PLATFORM, /P         Select platform (X64 or X86)

  /MAJOR, /V            Select major version (e.g. 6 for NT 6.1

  /MINOR, /M            Select minor version (e.g. 1 for NT 6.1)

  /OFFSET, /L           Data offset in hexadecimal (optional)

  /INPUT, /I            Input hiberfil.sys file.

  /OUTPUT, /O           Output hiberfil.sys file.

  /MAJOR 5 /MINOR 1     Windows XP
  /MAJOR 5 /MINOR 2     Windows XP x64, Windows 2003 R2
  /MAJOR 6 /MINOR 0     Windows Vista, Windows Server 2008
  /MAJOR 6 /MINOR 1     Windows 7, Windows Server 2008 R2
  /MAJOR 6 /MINOR 2     Windows 8, Windows Server 2012
  /MAJOR 6 /MINOR 3     Windows 8.1, Windows Server 2012 R2
  /MAJOR 10 /MINOR 0    Windows 10, Windows Server 2016

  Uncompress a Windows 7 (NT 6.1) x64 hibernation file:
      HIBR2BIN /PLATFORM X64 /MAJOR 6 /MINOR 1 /INPUT hiberfil.sys /OUTPUT uncompressed.bin

  Uncompress a Windows 10 (NT 10.0) x86 hibernation file:
      HIBR2BIN /PLATFORM X86 /MAJOR 10 /MINOR 0 /INPUT hiberfil.sys /OUTPUT uncompressed.bin



No releases published


No packages published