[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EV4KWWFMWKT2YEFWG8DFFG":3,"skill-same:01M6EV4KWWFMWKT2YEFWG8DFFG":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6EV4KWWFMWKT2YEFWG8DFFG","extracting-browser-history-artifacts",null,"Extract and analyze browser history, cookies, cache, downloads, and bookmarks from Chrome, Firefox, and Edge for forensic evidence of user web activity.","luokai0\u002Fai-agent-skills-by-luo-kai","luokai0","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266954973?v=4","01M6E16VNT42JB8B3X3254QWJ7","luo kai","01M6E16VTFVP6S5XJF1V1MPV90",14,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fextracting-browser-history-artifacts\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"artifacts","browser","history","extracting browser history artifacts","downloads","activity","artifact","evidence","bookmarks","analyze","artifact-extraction","web-history","cybersecurity","cookies","forensics","edge","cache","web","firefox","chrome","2026-11-10 10:12:30",false,"---\nname: extracting-browser-history-artifacts\ndescription: Extract and analyze browser history, cookies, cache, downloads, and bookmarks from Chrome, Firefox, and Edge for forensic evidence of user web activity.\ndomain: cybersecurity\nsubdomain: digital-forensics\ntags: [forensics, browser-forensics, chrome, firefox, edge, web-history, artifact-extraction]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n\n# Extracting Browser History Artifacts\n\n## When to Use\n- When investigating user web activity as part of a forensic examination\n- During insider threat investigations to establish patterns of data exfiltration\n- When tracing user visits to malicious or policy-violating websites\n- For correlating browser activity with other forensic artifacts and timelines\n- When investigating phishing attacks to identify which links were clicked\n\n## Prerequisites\n- Forensic image or access to user profile directories\n- SQLite3 for querying browser databases\n- Hindsight, BrowsingHistoryView, or DB Browser for SQLite\n- Knowledge of browser artifact file locations per OS\n- Python 3 with sqlite3 module for automated extraction\n- Understanding of Chrome, Firefox, and Edge storage formats\n\n## Workflow\n\n### Step 1: Locate Browser Artifact Files\n\n```bash\n# Mount forensic image\nmount -o ro,loop,offset=$((2048*512)) \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \u002Fmnt\u002Fevidence\n\n# Chrome artifact locations (Windows)\nCHROME_WIN=\"\u002Fmnt\u002Fevidence\u002FUsers\u002Fsuspect\u002FAppData\u002FLocal\u002FGoogle\u002FChrome\u002FUser Data\u002FDefault\"\n# Key files: History, Cookies, Login Data, Web Data, Bookmarks, Preferences,\n#            Cache\u002F, GPUCache\u002F, Local Storage\u002F, Session Storage\u002F, IndexedDB\u002F\n\n# Firefox artifact locations (Windows)\nFIREFOX_WIN=\"\u002Fmnt\u002Fevidence\u002FUsers\u002Fsuspect\u002FAppData\u002FRoaming\u002FMozilla\u002FFirefox\u002FProfiles\u002F*.default-release\"\n# Key files: places.sqlite, cookies.sqlite, formhistory.sqlite, logins.json,\n#            key4.db, sessionstore.jsonlz4, webappsstore.sqlite\n\n# Edge (Chromium) artifact locations (Windows)\nEDGE_WIN=\"\u002Fmnt\u002Fevidence\u002FUsers\u002Fsuspect\u002FAppData\u002FLocal\u002FMicrosoft\u002FEdge\u002FUser Data\u002FDefault\"\n\n# Copy artifacts to working directory\nmkdir -p \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002F{chrome,firefox,edge}\ncp -r \"$CHROME_WIN\"\u002F{History,Cookies,Downloads,\"Login Data\",\"Web Data\",Bookmarks} \\\n   \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F 2>\u002Fdev\u002Fnull\ncp -r $FIREFOX_WIN\u002F{places.sqlite,cookies.sqlite,formhistory.sqlite,logins.json} \\\n   \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002F 2>\u002Fdev\u002Fnull\ncp -r \"$EDGE_WIN\"\u002F{History,Cookies,Downloads} \\\n   \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fedge\u002F 2>\u002Fdev\u002Fnull\n\n# Hash artifacts for integrity\nfind \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002F -type f -exec sha256sum {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fartifact_hashes.txt\n```\n\n### Step 2: Extract Chrome Browsing History and Downloads\n\n```bash\n# Query Chrome History database\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FHistory \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_history.csv\n\nSELECT\n    urls.url,\n    urls.title,\n    datetime(urls.last_visit_time\u002F1000000-11644473600, 'unixepoch') AS last_visit,\n    urls.visit_count,\n    urls.typed_count,\n    visits.transition & 0xFF AS transition_type\nFROM urls\nLEFT JOIN visits ON urls.id = visits.url\nORDER BY urls.last_visit_time DESC;\nSQL\n\n# Extract Chrome downloads\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FHistory \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_downloads.csv\n\nSELECT\n    current_path,\n    tab_url AS source_url,\n    total_bytes,\n    datetime(start_time\u002F1000000-11644473600, 'unixepoch') AS start_time,\n    datetime(end_time\u002F1000000-11644473600, 'unixepoch') AS end_time,\n    state,\n    danger_type,\n    mime_type\nFROM downloads\nORDER BY start_time DESC;\nSQL\n\n# Extract Chrome search terms\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FHistory \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_searches.csv\n\nSELECT\n    term,\n    urls.url,\n    datetime(urls.last_visit_time\u002F1000000-11644473600, 'unixepoch') AS search_time\nFROM keyword_search_terms\nJOIN urls ON keyword_search_terms.url_id = urls.id\nORDER BY urls.last_visit_time DESC;\nSQL\n```\n\n### Step 3: Extract Firefox Browsing History\n\n```bash\n# Query Firefox places.sqlite for history\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fplaces.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_history.csv\n\nSELECT\n    moz_places.url,\n    moz_places.title,\n    datetime(moz_historyvisits.visit_date\u002F1000000, 'unixepoch') AS visit_date,\n    moz_places.visit_count,\n    moz_historyvisits.visit_type\nFROM moz_places\nJOIN moz_historyvisits ON moz_places.id = moz_historyvisits.place_id\nORDER BY moz_historyvisits.visit_date DESC;\nSQL\n\n# Extract Firefox bookmarks\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fplaces.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_bookmarks.csv\n\nSELECT\n    moz_bookmarks.title,\n    moz_places.url,\n    datetime(moz_bookmarks.dateAdded\u002F1000000, 'unixepoch') AS date_added,\n    datetime(moz_bookmarks.lastModified\u002F1000000, 'unixepoch') AS last_modified\nFROM moz_bookmarks\nJOIN moz_places ON moz_bookmarks.fk = moz_places.id\nWHERE moz_bookmarks.type = 1\nORDER BY moz_bookmarks.dateAdded DESC;\nSQL\n\n# Extract Firefox form history (search terms, form fills)\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fformhistory.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_forms.csv\n\nSELECT\n    fieldname,\n    value,\n    timesUsed,\n    datetime(firstUsed\u002F1000000, 'unixepoch') AS first_used,\n    datetime(lastUsed\u002F1000000, 'unixepoch') AS last_used\nFROM moz_formhistory\nORDER BY lastUsed DESC;\nSQL\n```\n\n### Step 4: Extract Cookies and Stored Credentials\n\n```bash\n# Extract Chrome cookies\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FCookies \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_cookies.csv\n\nSELECT\n    host_key,\n    name,\n    path,\n    datetime(creation_utc\u002F1000000-11644473600, 'unixepoch') AS created,\n    datetime(expires_utc\u002F1000000-11644473600, 'unixepoch') AS expires,\n    datetime(last_access_utc\u002F1000000-11644473600, 'unixepoch') AS last_access,\n    is_secure,\n    is_httponly,\n    is_persistent\nFROM cookies\nORDER BY last_access_utc DESC;\nSQL\n\n# Extract Firefox cookies\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fcookies.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_cookies.csv\n\nSELECT\n    host,\n    name,\n    path,\n    datetime(creationTime\u002F1000000, 'unixepoch') AS created,\n    datetime(expiry, 'unixepoch') AS expires,\n    datetime(lastAccessed\u002F1000000, 'unixepoch') AS last_access,\n    isSecure,\n    isHttpOnly\nFROM moz_cookies\nORDER BY lastAccessed DESC;\nSQL\n\n# Note: Chrome Login Data is encrypted with DPAPI (Windows) or keychain (Mac)\n# Extract stored login URLs (passwords are encrypted)\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F\"Login Data\" \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_logins.csv\n\nSELECT\n    origin_url,\n    action_url,\n    username_value,\n    datetime(date_created\u002F1000000-11644473600, 'unixepoch') AS date_created,\n    datetime(date_last_used\u002F1000000-11644473600, 'unixepoch') AS date_last_used,\n    times_used\nFROM logins\nORDER BY date_last_used DESC;\nSQL\n```\n\n### Step 5: Use Hindsight for Comprehensive Chrome Analysis\n\n```bash\n# Install Hindsight\npip install pyhindsight\n\n# Run Hindsight against Chrome profile\nhindsight -i \"\u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F\" \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fhindsight_report \\\n   -f xlsx\n\n# Hindsight automatically extracts:\n# - Browsing history with timestamps\n# - Downloads with source URLs\n# - Cookies with decryption (where possible)\n# - Cache records\n# - Local Storage entries\n# - Autofill data\n# - Saved passwords (encrypted)\n# - Preferences and extensions\n# - Session\u002Ftab recovery data\n\n# For JSONL output (easier to parse)\nhindsight -i \"\u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F\" \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fhindsight_report \\\n   -f jsonl\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Chrome timestamp | Microseconds since January 1, 1601 (WebKit\u002FChrome epoch) |\n| Firefox timestamp | Microseconds since January 1, 1970 (Unix epoch in microseconds) |\n| Transition types | How a URL was accessed: typed (1), link (0), bookmark (1), redirect (5\u002F6) |\n| DPAPI encryption | Windows Data Protection API encrypting stored passwords and cookies |\n| places.sqlite | Firefox combined history and bookmark database |\n| SQLite WAL | Write-Ahead Log that may contain recently deleted browser records |\n| Session restore | Browser data preserving open tabs across restarts |\n| IndexedDB | Browser-based database that may contain web application data |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Hindsight | Comprehensive Chrome\u002FChromium forensic analysis tool |\n| sqlite3 | Command-line SQLite database query tool |\n| DB Browser for SQLite | GUI tool for browsing SQLite databases |\n| BrowsingHistoryView | NirSoft tool for viewing browser history across all browsers |\n| ChromeCacheView | NirSoft tool for examining Chrome cache contents |\n| MZCacheView | NirSoft tool for Firefox cache analysis |\n| KAPE | Automated artifact collection including browser data |\n| Autopsy | Full forensic platform with browser artifact ingest modules |\n\n## Common Scenarios\n\n**Scenario 1: Phishing Investigation**\nExtract browser history around the reported phishing timeframe, identify the phishing URL that was visited, check downloads for malicious attachments, examine cookies for session tokens that may have been stolen, correlate with email header analysis.\n\n**Scenario 2: Data Exfiltration via Cloud Services**\nSearch history for cloud storage URLs (Dropbox, Google Drive, OneDrive, Mega), examine downloads and uploads, check form history for file names entered, review cookies for active cloud service sessions during the investigation period.\n\n**Scenario 3: Policy Violation Investigation**\nExtract complete browsing history for the investigation period, categorize sites visited, identify access to prohibited content categories, document timestamps and visit duration, correlate with network proxy logs for verification.\n\n**Scenario 4: Malware Delivery Vector Analysis**\nTrace the chain of redirects leading to a drive-by download, examine the downloads database for the malware payload, check cache for exploit kit landing pages, identify the initial referrer URL that started the infection chain.\n\n## Output Format\n\n```\nBrowser Forensics Summary:\n  User Profile: suspect (Windows 10)\n  Browsers Found: Chrome 120, Firefox 121, Edge 120\n\n  Chrome Analysis:\n    History Entries:    12,456\n    Downloads:          234\n    Saved Passwords:    67 sites (encrypted)\n    Cookies:            3,456\n    Bookmarks:          89\n\n  Firefox Analysis:\n    History Entries:    5,678\n    Form Entries:       234\n    Bookmarks:          45\n    Cookies:            1,234\n\n  Suspicious Findings:\n    - Visited known phishing URL at 2024-01-15 14:32 UTC\n    - Downloaded \"invoice_update.exe\" from suspicious domain\n    - Cloud storage (mega.nz) accessed 15 times in 2-hour window\n    - Search queries: \"how to encrypt files\", \"secure file transfer\"\n\n  Reports:\n    Chrome History:   \u002Fanalysis\u002Fchrome_history.csv\n    Firefox History:  \u002Fanalysis\u002Ffirefox_history.csv\n    Full Report:      \u002Fanalysis\u002Fhindsight_report.xlsx\n```\n","# Extracting Browser History Artifacts\n\n## When to Use\n- When investigating user web activity as part of a forensic examination\n- During insider threat investigations to establish patterns of data exfiltration\n- When tracing user visits to malicious or policy-violating websites\n- For correlating browser activity with other forensic artifacts and timelines\n- When investigating phishing attacks to identify which links were clicked\n\n## Prerequisites\n- Forensic image or access to user profile directories\n- SQLite3 for querying browser databases\n- Hindsight, BrowsingHistoryView, or DB Browser for SQLite\n- Knowledge of browser artifact file locations per OS\n- Python 3 with sqlite3 module for automated extraction\n- Understanding of Chrome, Firefox, and Edge storage formats\n\n## Workflow\n\n### Step 1: Locate Browser Artifact Files\n\n```bash\n# Mount forensic image\nmount -o ro,loop,offset=$((2048*512)) \u002Fcases\u002Fcase-2024-001\u002Fimages\u002Fevidence.dd \u002Fmnt\u002Fevidence\n\n# Chrome artifact locations (Windows)\nCHROME_WIN=\"\u002Fmnt\u002Fevidence\u002FUsers\u002Fsuspect\u002FAppData\u002FLocal\u002FGoogle\u002FChrome\u002FUser Data\u002FDefault\"\n# Key files: History, Cookies, Login Data, Web Data, Bookmarks, Preferences,\n#            Cache\u002F, GPUCache\u002F, Local Storage\u002F, Session Storage\u002F, IndexedDB\u002F\n\n# Firefox artifact locations (Windows)\nFIREFOX_WIN=\"\u002Fmnt\u002Fevidence\u002FUsers\u002Fsuspect\u002FAppData\u002FRoaming\u002FMozilla\u002FFirefox\u002FProfiles\u002F*.default-release\"\n# Key files: places.sqlite, cookies.sqlite, formhistory.sqlite, logins.json,\n#            key4.db, sessionstore.jsonlz4, webappsstore.sqlite\n\n# Edge (Chromium) artifact locations (Windows)\nEDGE_WIN=\"\u002Fmnt\u002Fevidence\u002FUsers\u002Fsuspect\u002FAppData\u002FLocal\u002FMicrosoft\u002FEdge\u002FUser Data\u002FDefault\"\n\n# Copy artifacts to working directory\nmkdir -p \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002F{chrome,firefox,edge}\ncp -r \"$CHROME_WIN\"\u002F{History,Cookies,Downloads,\"Login Data\",\"Web Data\",Bookmarks} \\\n   \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F 2>\u002Fdev\u002Fnull\ncp -r $FIREFOX_WIN\u002F{places.sqlite,cookies.sqlite,formhistory.sqlite,logins.json} \\\n   \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002F 2>\u002Fdev\u002Fnull\ncp -r \"$EDGE_WIN\"\u002F{History,Cookies,Downloads} \\\n   \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fedge\u002F 2>\u002Fdev\u002Fnull\n\n# Hash artifacts for integrity\nfind \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002F -type f -exec sha256sum {} \\; \\\n   > \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fartifact_hashes.txt\n```\n\n### Step 2: Extract Chrome Browsing History and Downloads\n\n```bash\n# Query Chrome History database\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FHistory \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_history.csv\n\nSELECT\n    urls.url,\n    urls.title,\n    datetime(urls.last_visit_time\u002F1000000-11644473600, 'unixepoch') AS last_visit,\n    urls.visit_count,\n    urls.typed_count,\n    visits.transition & 0xFF AS transition_type\nFROM urls\nLEFT JOIN visits ON urls.id = visits.url\nORDER BY urls.last_visit_time DESC;\nSQL\n\n# Extract Chrome downloads\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FHistory \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_downloads.csv\n\nSELECT\n    current_path,\n    tab_url AS source_url,\n    total_bytes,\n    datetime(start_time\u002F1000000-11644473600, 'unixepoch') AS start_time,\n    datetime(end_time\u002F1000000-11644473600, 'unixepoch') AS end_time,\n    state,\n    danger_type,\n    mime_type\nFROM downloads\nORDER BY start_time DESC;\nSQL\n\n# Extract Chrome search terms\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FHistory \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_searches.csv\n\nSELECT\n    term,\n    urls.url,\n    datetime(urls.last_visit_time\u002F1000000-11644473600, 'unixepoch') AS search_time\nFROM keyword_search_terms\nJOIN urls ON keyword_search_terms.url_id = urls.id\nORDER BY urls.last_visit_time DESC;\nSQL\n```\n\n### Step 3: Extract Firefox Browsing History\n\n```bash\n# Query Firefox places.sqlite for history\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fplaces.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_history.csv\n\nSELECT\n    moz_places.url,\n    moz_places.title,\n    datetime(moz_historyvisits.visit_date\u002F1000000, 'unixepoch') AS visit_date,\n    moz_places.visit_count,\n    moz_historyvisits.visit_type\nFROM moz_places\nJOIN moz_historyvisits ON moz_places.id = moz_historyvisits.place_id\nORDER BY moz_historyvisits.visit_date DESC;\nSQL\n\n# Extract Firefox bookmarks\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fplaces.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_bookmarks.csv\n\nSELECT\n    moz_bookmarks.title,\n    moz_places.url,\n    datetime(moz_bookmarks.dateAdded\u002F1000000, 'unixepoch') AS date_added,\n    datetime(moz_bookmarks.lastModified\u002F1000000, 'unixepoch') AS last_modified\nFROM moz_bookmarks\nJOIN moz_places ON moz_bookmarks.fk = moz_places.id\nWHERE moz_bookmarks.type = 1\nORDER BY moz_bookmarks.dateAdded DESC;\nSQL\n\n# Extract Firefox form history (search terms, form fills)\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fformhistory.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_forms.csv\n\nSELECT\n    fieldname,\n    value,\n    timesUsed,\n    datetime(firstUsed\u002F1000000, 'unixepoch') AS first_used,\n    datetime(lastUsed\u002F1000000, 'unixepoch') AS last_used\nFROM moz_formhistory\nORDER BY lastUsed DESC;\nSQL\n```\n\n### Step 4: Extract Cookies and Stored Credentials\n\n```bash\n# Extract Chrome cookies\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002FCookies \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_cookies.csv\n\nSELECT\n    host_key,\n    name,\n    path,\n    datetime(creation_utc\u002F1000000-11644473600, 'unixepoch') AS created,\n    datetime(expires_utc\u002F1000000-11644473600, 'unixepoch') AS expires,\n    datetime(last_access_utc\u002F1000000-11644473600, 'unixepoch') AS last_access,\n    is_secure,\n    is_httponly,\n    is_persistent\nFROM cookies\nORDER BY last_access_utc DESC;\nSQL\n\n# Extract Firefox cookies\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Ffirefox\u002Fcookies.sqlite \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Ffirefox_cookies.csv\n\nSELECT\n    host,\n    name,\n    path,\n    datetime(creationTime\u002F1000000, 'unixepoch') AS created,\n    datetime(expiry, 'unixepoch') AS expires,\n    datetime(lastAccessed\u002F1000000, 'unixepoch') AS last_access,\n    isSecure,\n    isHttpOnly\nFROM moz_cookies\nORDER BY lastAccessed DESC;\nSQL\n\n# Note: Chrome Login Data is encrypted with DPAPI (Windows) or keychain (Mac)\n# Extract stored login URLs (passwords are encrypted)\nsqlite3 \u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F\"Login Data\" \u003C\u003C 'SQL'\n.headers on\n.mode csv\n.output \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fchrome_logins.csv\n\nSELECT\n    origin_url,\n    action_url,\n    username_value,\n    datetime(date_created\u002F1000000-11644473600, 'unixepoch') AS date_created,\n    datetime(date_last_used\u002F1000000-11644473600, 'unixepoch') AS date_last_used,\n    times_used\nFROM logins\nORDER BY date_last_used DESC;\nSQL\n```\n\n### Step 5: Use Hindsight for Comprehensive Chrome Analysis\n\n```bash\n# Install Hindsight\npip install pyhindsight\n\n# Run Hindsight against Chrome profile\nhindsight -i \"\u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F\" \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fhindsight_report \\\n   -f xlsx\n\n# Hindsight automatically extracts:\n# - Browsing history with timestamps\n# - Downloads with source URLs\n# - Cookies with decryption (where possible)\n# - Cache records\n# - Local Storage entries\n# - Autofill data\n# - Saved passwords (encrypted)\n# - Preferences and extensions\n# - Session\u002Ftab recovery data\n\n# For JSONL output (easier to parse)\nhindsight -i \"\u002Fcases\u002Fcase-2024-001\u002Fbrowser\u002Fchrome\u002F\" \\\n   -o \u002Fcases\u002Fcase-2024-001\u002Fanalysis\u002Fhindsight_report \\\n   -f jsonl\n```\n\n## Key Concepts\n\n| Concept | Description |\n|---------|-------------|\n| Chrome timestamp | Microseconds since January 1, 1601 (WebKit\u002FChrome epoch) |\n| Firefox timestamp | Microseconds since January 1, 1970 (Unix epoch in microseconds) |\n| Transition types | How a URL was accessed: typed (1), link (0), bookmark (1), redirect (5\u002F6) |\n| DPAPI encryption | Windows Data Protection API encrypting stored passwords and cookies |\n| places.sqlite | Firefox combined history and bookmark database |\n| SQLite WAL | Write-Ahead Log that may contain recently deleted browser records |\n| Session restore | Browser data preserving open tabs across restarts |\n| IndexedDB | Browser-based database that may contain web application data |\n\n## Tools & Systems\n\n| Tool | Purpose |\n|------|---------|\n| Hindsight | Comprehensive Chrome\u002FChromium forensic analysis tool |\n| sqlite3 | Command-line SQLite database query tool |\n| DB Browser for SQLite | GUI tool for browsing SQLite databases |\n| BrowsingHistoryView | NirSoft tool for viewing browser history across all browsers |\n| ChromeCacheView | NirSoft tool for examining Chrome cache contents |\n| MZCacheView | NirSoft tool for Firefox cache analysis |\n| KAPE | Automated artifact collection including browser data |\n| Autopsy | Full forensic platform with browser artifact ingest modules |\n\n## Common Scenarios\n\n**Scenario 1: Phishing Investigation**\nExtract browser history around the reported phishing timeframe, identify the phishing URL that was visited, check downloads for malicious attachments, examine cookies for session tokens that may have been stolen, correlate with email header analysis.\n\n**Scenario 2: Data Exfiltration via Cloud Services**\nSearch history for cloud storage URLs (Dropbox, Google Drive, OneDrive, Mega), examine downloads and uploads, check form history for file names entered, review cookies for active cloud service sessions during the investigation period.\n\n**Scenario 3: Policy Violation Investigation**\nExtract complete browsing history for the investigation period, categorize sites visited, identify access to prohibited content categories, document timestamps and visit duration, correlate with network proxy logs for verification.\n\n**Scenario 4: Malware Delivery Vector Analysis**\nTrace the chain of redirects leading to a drive-by download, examine the downloads database for the malware payload, check cache for exploit kit landing pages, identify the initial referrer URL that started the infection chain.\n\n## Output Format\n\n```\nBrowser Forensics Summary:\n  User Profile: suspect (Windows 10)\n  Browsers Found: Chrome 120, Firefox 121, Edge 120\n\n  Chrome Analysis:\n    History Entries:    12,456\n    Downloads:          234\n    Saved Passwords:    67 sites (encrypted)\n    Cookies:            3,456\n    Bookmarks:          89\n\n  Firefox Analysis:\n    History Entries:    5,678\n    Form Entries:       234\n    Bookmarks:          45\n    Cookies:            1,234\n\n  Suspicious Findings:\n    - Visited known phishing URL at 2024-01-15 14:32 UTC\n    - Downloaded \"invoice_update.exe\" from suspicious domain\n    - Cloud storage (mega.nz) accessed 15 times in 2-hour window\n    - Search queries: \"how to encrypt files\", \"secure file transfer\"\n\n  Reports:\n    Chrome History:   \u002Fanalysis\u002Fchrome_history.csv\n    Firefox History:  \u002Fanalysis\u002Ffirefox_history.csv\n    Full Report:      \u002Fanalysis\u002Fhindsight_report.xlsx\n```\n",{"name":5,"tags":44,"author":46,"domain":31,"license":15,"version":47,"subdomain":48,"description":7},[33,45,38,37,34,30,29],"browser-forensics","mahipal","1.0","digital-forensics","main","4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c","ai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fextracting-browser-history-artifacts",2,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai","https:\u002F\u002Fgithub.com\u002Fluokai0","a solo builder.","2026-05-06 04:29:04",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill extracting-browser-history-artifacts",{"tool":63,"command":64},"bunx","bunx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill extracting-browser-history-artifacts",{"tool":66,"command":67},"pnpm","pnpm dlx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill extracting-browser-history-artifacts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fextracting-browser-history-artifacts\u002FSKILL.md",true,[71,76,82],{"path":72,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fextracting-browser-history-artifacts\u002FLICENSE",{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fapi-reference.md","REFERENCE","参考文档",2171,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fextracting-browser-history-artifacts\u002Freferences\u002Fapi-reference.md",{"path":83,"resourceType":84,"resourceTypeDesc":85,"sizeBytes":86,"sourceHtmlUrl":87},"scripts\u002Fagent.py","SCRIPT","脚本",7871,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fextracting-browser-history-artifacts\u002Fscripts\u002Fagent.py",[89,117,133,158,185,210],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":39},"01M6F2SKTE208174C7S7JJCZC7","write-contracts","Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.","MIT","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fwrite-contracts\u002FSKILL.md",[],[97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116],"write","contracts","write contracts","storage","secure","create","generate","collection","model","decision","ask","smart-contracts","selection","objects","structure","nft","token","aptos","critical","move",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":39},"01M6F2RFXJ6T9MKW0A7N7GM45B","web-search","通用网络搜索技能，支持多引擎搜索（百度、必应、DuckDuckGo），无需API密钥即可获取实时信息","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fweb-search-ex-skill\u002FSKILL.md",[],[36,124,125,126,127,128,129,130,131,132],"search","web search","搜索","baidu","bing","duckduckgo","百度","多引擎","internet",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":39},"01M6F2K968G1FZEZFPW2E6B222","solo-build","Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says \"build it\", \"start building\", \"execute plan\", \"implement tasks\", \"ship it\", or references a track ID. Do NOT use for planning (use \u002Fplan) or scaffolding (use \u002Fscaffold).","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fsolo-build\u002FSKILL.md",[],[140,141,142,143,144,145,146,147,124,148,149,150,97,151,152,153,154,155,156,157],"build","solo","solo build","MCP","workflow","commit","tasks","code","Bash","plan","read","auto","references","context7","query","scaffolding","ship it","project",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":39},"01M6F2GKN39SGHSPWYB3662YC8","react-email","Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Freact-email-skills\u002FSKILL.md",[],[165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184],"react","email","react email","github","editor","components","react components","component","welcome","https","notifications","password","node","use","html","resend","visual","emails","rendering","with",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":39},"01M6F2FBVGVDFSG8SSFJGXA40C","APITester Agent-Driven API Testing","Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fopenclaw-api-tester\u002FSKILL.md",[],[192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209],"testing","api","api testing","driven","APITester Agent Driven API Testing","test","run","postman","results","plain english","tester","endpoints","document","get","define","tests","english","api-tester",{"skillNo":211,"name":212,"nameZh":6,"description":213,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":93,"licenseFileUrl":6,"sourceHtmlUrl":214,"categories":215,"keywords":216,"publishedAt":39},"01M6F273Y3NGAPVJZ608BC0G9G","hubspot-implementation-plan","Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running \u002Fhubspot-audit.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fhubspot-implementation-plan\u002FSKILL.md",[],[149,217,218,219,220,221,222,103,223,224,225,226,227,178,228,229,184,230],"implementation","hubspot","hubspot implementation plan","automation","feasibility","cleanup","planning","report","audit","audit report","phased implementation","dependencies","processes","hubspot audit"]