[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GXYXZFSPYN7V39RPQYJ44R":3,"skill-same:01M6GXYXZFSPYN7V39RPQYJ44R":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6GXYXZFSPYN7V39RPQYJ44R","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.","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fextracting-browser-history-artifacts\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"extracting","artifacts","browser","history","extracting browser history artifacts","downloads","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":43,"author":45,"domain":30,"license":14,"version":46,"subdomain":47,"description":7},[32,44,37,36,33,29,28],"browser-forensics","mahipal","1.0","digital-forensics","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fextracting-browser-history-artifacts",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add micsapp\u002Fmicstec-skills --skill extracting-browser-history-artifacts",{"tool":61,"command":62},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill extracting-browser-history-artifacts",{"tool":64,"command":65},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill extracting-browser-history-artifacts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fextracting-browser-history-artifacts\u002FSKILL.md",true,[69,74,80],{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fextracting-browser-history-artifacts\u002FLICENSE",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fapi-reference.md","REFERENCE","参考文档",2171,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fextracting-browser-history-artifacts\u002Freferences\u002Fapi-reference.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fagent.py","SCRIPT","脚本",7871,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fextracting-browser-history-artifacts\u002Fscripts\u002Fagent.py",[87,115,137,157,175,200],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[],[95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[],[122,123,124,125,96,126,127,128,129,130,131,132,104,105,111,133,134,112,135,136],"deployment","apiops deployment","workflows","azure devops","infrastructure","code","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD","implementing",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[],[144,145,146,147,96,99,104,105,148,149,150,151,152,153,154,112,155,156,136,114],"policy","authoring","apim policy authoring","security","access","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[],[164,147,165,104,151,166,96,122,167,168,169,170,105,171,112,172,173,174,113,114],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[182,183,184,124,185,186,187,188,104,189,190,191,192,193,194,195,196,197,198,199],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[202,207,208,209,210,211,212,149,213,214],"npm","js","calculate","node","math","user","compute","errors"]