ie-cookies

Parses the WebCacheV01.dat ESE (Extensible Storage Engine) database file used by Internet Explorer and queries the cookie history. Extracts usernames, URLs, and access times from cookie records stored in the Cookies container.

Command properties

PropertyValue
Command typeDriver query
Required permissionNone
License usageCounted
Parallel executionNot supported
Distributed executionRuns on Data Node (mapper)

Syntax

ie-cookies [zippath=STR] [zipcharset=STR] FILE_PATH

Options

zippath=STR
Path to the ZIP file containing the WebCacheV01.dat file. Use this when querying the ESE database file directly from inside a ZIP archive.
zipcharset=STR
Character set for ZIP file entries. (Default: utf-8)

Target

FILE_PATH
Path to the Internet Explorer WebCacheV01.dat file to query. You can use wildcards (*) to specify multiple files.

Output fields

FieldTypeDescription
_timetimestampLast access time
container_idlongContainer identifier
entry_idlongEntry identifier
cache_idlongCache identifier
typestringRecord type
visit_countlongAccess count
userstringUsername that owns the cookie
urlstringCookie target URL
file_pathstringLocal path of the cookie file
file_namestringCookie file name
file_sizelongCookie file size (bytes)
file_extstringCookie file extension
redirect_urlstringRedirect URL
sync_timetimestampSync time
creation_timetimestampCreation time
expiry_timetimestampExpiry time
modified_timetimestampModification time
post_check_timetimestampPost-check time
request_headersbinaryHTTP request headers
response_headersbinaryHTTP response headers
groupstringGroup
extra_databinaryExtra data
url_hashlongURL hash value
secure_dirlongSecure directory identifier

Error codes

Parsing errors

N/A

Runtime errors
Error codeMessageDescriptionAction on error
-cannot load ESE database: PATHThe ESE database file could not be readAborts query execution

Description

The ie-cookies command parses the WebCacheV01.dat ESE database file where Internet Explorer stores cookie information. It first identifies containers of type Cookies in the Containers table, then queries records from those containers.

Usernames and actual URLs are separated from the original URL field. When the URL has the format cookiename:username@host, the string before @ is assigned to the user field and the string after @ to the url field. If there is no @, the user field is set to null.

Date fields are converted from Windows FILETIME format (100-nanosecond units since January 1, 1601) to UNIX timestamps. If a FILETIME value is 0, the corresponding date field is not assigned.

Examples

  1. Query IE cookie history

    ie-cookies /opt/logpresso/evidence/WebCacheV01.dat
    

    Queries all cookie history from the WebCacheV01.dat file at the specified path.

  2. Filter cookie history for identified users

    ie-cookies /opt/logpresso/evidence/WebCacheV01.dat
    | search isnotnull(user)
    

    Filters only cookie history entries where a username was identified.

  3. Query a WebCacheV01.dat file inside a ZIP archive

    ie-cookies zippath=/opt/logpresso/evidence/browser.zip WebCacheV01.dat
    

    Queries cookie history from the WebCacheV01.dat file inside the ZIP archive.