Skip to content
Skillpedia
Misc35k · #5438

analyzing-browser-forensics-with-hindsight

Lets your agent analyze internet browser data. It recovers history, passwords, and cookies to reconstruct a user's online activity.

What it does

Hindsight is a tool that examines data from browsers like Chrome, Edge, and Opera. It combines information such as browsing history, downloads, and saved passwords to create a timeline of how someone used the internet.

When to use it

  • ✓To investigate security incidents and see what was done on the browser.
  • ✓To understand a user's actions in criminal investigations.
  • ✓To reconstruct someone's online activity after an event.

Example of what to ask your AI

“Analyze a user's Chrome browser history to see which websites they visited in the last 24 hours.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-browser-forensics-with-hindsight/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-browser-forensics-with-hindsight/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool accesses the files where the browser stores information. Then, it organizes this data chronologically, showing what happened.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-browser-forensics-with-hindsight

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/analyzing-browser-forensics-with-hindsight/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Analyzing Browser Forensics with Hindsight

Overview

Hindsight is an open-source browser forensics tool designed to parse artifacts from Google Chrome and other Chromium-based browsers (Microsoft Edge, Brave, Opera, Vivaldi). It extracts and correlates data from multiple browser database files to create a unified timeline of web activity. Hindsight can parse URLs, download history, cache records, bookmarks, autofill records, saved passwords, preferences, browser extensions, HTTP cookies, Local Storage (HTML5 cookies), login data, and session/tab information. The tool produces chronological timelines in multiple output formats (XLSX, JSON, SQLite) that enable investigators to reconstruct user web activity for incident response, insider threat investigations, and criminal cases.

When to Use

  • When investigating security incidents that require analyzing browser forensics with hindsight
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Python 3.8+ with Hindsight installed (pip install pyhindsight)
  • Access to browser profile directories from forensic image
  • Browser profile data (not encrypted with OS-level encryption)
  • Timeline Explorer or spreadsheet application for analysis

Browser Profile Locations

Browser Windows Profile Path
Chrome %LOCALAPPDATA%\Google\Chrome\User Data\Default\
Edge %LOCALAPPDATA%\Microsoft\Edge\User Data\Default\
Brave %LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\Default\
Opera %APPDATA%\Opera Software\Opera Stable\
Vivaldi %LOCALAPPDATA%\Vivaldi\User Data\Default\
Chrome (macOS) ~/Library/Application Support/Google/Chrome/Default/
Chrome (Linux) ~/.config/google-chrome/Default/

Key Artifact Files

File Contents
History URL visits, downloads, keyword searches
Cookies HTTP cookies with domain, expiry, values
Web Data Autofill entries, saved credit cards
Login Data Saved usernames/passwords (encrypted)
Bookmarks JSON bookmark tree
Preferences Browser configuration and extensions
Local Storage/ HTML5 Local Storage per domain
Session Storage/ Session-specific storage per domain
Network Action Predictor Previously typed URLs
Shortcuts Omnibox shortcuts and predictions
Top Sites Frequently visited sites

Running Hindsight

Command Line

# Basic analysis of a Chrome profile
hindsight.exe -i "C:\Evidence\Users\suspect\AppData\Local\Google\Chrome\User Data\Default" -o C:\Output\chrome_analysis

# Specify browser type
hindsight.exe -i "/path/to/profile" -o /output/analysis -b Chrome

# JSON output format
hindsight.exe -i "C:\Evidence\Chrome\Default" -o C:\Output\chrome --format jsonl

# With cache parsing (slower but more complete)
hindsight.exe -i "C:\Evidence\Chrome\Default" -o C:\Output\chrome --cache

Web UI

# Start Hindsight web interface
hindsight_gui.exe
# Navigate to http://localhost:8080
# Upload or point to browser profile directory
# Configure output format and analysis options
# Generate and download report

Artifact Analysis Details

URL History and Visits

-- Chrome History database schema (key tables)
-- urls table: id, url, title, visit_count, typed_count, last_visit_time
-- visits table: id, url, visit_time, from_visit, transition, segment_id

-- Timestamps are Chrome/WebKit format: microseconds since 1601-01-01
-- Convert: datetime((visit_time/1000000)-11644473600, 'unixepoch')

Download History

-- downloads table: id, current_path, target_path, start_time, end_time,
--   received_bytes, total_bytes, state, danger_type, interrupt_reason,
--   url, referrer, tab_url, mime_type, original_mime_type

Cookie Analysis

-- cookies table: creation_utc, host_key, name, value, encrypted_value,
--   path, expires_utc, is_secure, is_httponly, last_access_utc,
--   has_expires, is_persistent, priority, samesite

Python Analysis Script

import sqlite3
import os
import json
import sys
from datetime import datetime, timedelta


CHROME_EPOCH = datetime(1601, 1, 1)


def chrome_time_to_datetime(chrome_ts: int):
    """Convert Chrome timestamp to datetime."""
    if chrome_ts == 0:
        return None
    try:

…
FAQ

Which browsers does Hindsight analyze?

It analyzes Chromium-based browsers such as Google Chrome, Microsoft Edge, Brave, Opera, and Vivaldi.

What kind of information can it extract?

It can extract browsing history, downloads, cookies, saved passwords, autofill data, and extensions.

In what format are the results presented?

Results can be exported in formats like XLSX (spreadsheet), JSON, or SQLite, making analysis easier.

Details

Original description by the author

Parse Chromium-based browser databases with Hindsight to extract and correlate browsing history, downloads, cookies, cached content, autofill data, saved passwords, and extensions from Chrome, Edge, Brave, Opera, and Vivaldi into a unified timeline (XLSX, JSON, or SQLite output). Use during incident response, insider-threat investigations, or criminal cases when you need to reconstruct a user's we

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5438
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills