Internet Explorer History File Format

From ForensicsWiki
Revision as of 18:18, 4 June 2007 by Cosimo (Talk | contribs) (URL Records)

Jump to: navigation, search

Information icon.png

Please help to improve this article by expanding it.
Further information might be found on the discussion page.

Internet Explorer stores the web browsing history in a file called index.dat. The file contains multiple records.

File Locations

On Windows 9x, index.dat files can be found in %SystemRoot%\History. On Windows XP and above these files can be found in %SystemDrive%\Documents and Settings\[Username]\Local Settings\History\History.IE6\.

Record Formats

URL Records

These records indicate web pages that were actually viewed. They contain the requested URL and the web server's response. They begin with the header, in hexadecimal:

55 52 4C 20

The definition for the structure in C99 format:

typedef struct _URL_RECORD {
  /* 000 */ char        Signature[4];
  /* 004 */ uint32_t    Length;
  /* 008 */ uint64_t    LastModified;
  /* 010 */ uint64_t    LastAccessed;
  /* 018 */ uint32_t    Expires;
  /* 01c */ 
  // Not finished yet

This corresponds to the string URL followed by a space. The actual interpretation of the "LastModified" and "LastAccessed" fields depends on the type of history file in which the record is contained. As a matter of fact, Internet Explorer uses three different types of history files, namely Daily History, Weekly History, and Main History. Other "index.dat" files are used to store cached copies of visited pages and cookies. The information concerning how to intepret the dates of these different files can be found on Capt. Steve Bunting's web page at the University of Delaware Computer Forensics Lab ( Please be aware that most free and/or open source index.dat parsing programs are not able to correctly interpret the above dates.

REDR Records

HASH Records

LEAK Records

External Links