Skip to content
NewA calmer, faster ZeroHour

Safari History Database Tags Can Reveal Users’ Browsing Themes in Forensic Investigations

GBHackersby Divya ()3 min read1
AI summary · grok-4.7Summaries by Vani AI

Safari History.db stores Wikidata-linked topic tags that can reveal browsing themes in macOS investigations.

Safari’s History.db, at ~/Library/Safari/History.db, can attach automatically generated topic tags to visited pages through the history_tags and history_items_to_tags tables. Tag identifiers typically start with “Q” and map to Wikidata concepts; not every page is tagged, and the behavior has been observed since at least 2021. Investigators must convert Cocoa timestamps by adding 978307200 seconds, and labels can mislead—for example “APT” may mean the Advanced Package Tool (Q230724) rather than an intrusion. Residual tags can remain after related history records are deleted, and mac_apt now parses them.

Key facts
  • History.db maps history_tags to visited URLs through history_items_to_tags.
  • Tag identifiers beginning with Q correspond to Wikidata entities, not keywords.
  • Timestamps use the Mac epoch and need 978307200 added for Unix time.
  • Orphaned tags with a zero item count can survive history deletion.
  • The mac_apt framework now parses Safari tags for triage and disk images.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

3 min read at gbhackers.com

Safari’s History database contains a lesser-known tagging artifact that can help investigators infer a user’s browsing themes. While this feature is not definitive evidence of intent, when correlated with URLs, visit times, cache data, downloads, and network telemetry, it can provide useful context for macOS forensic timelines. Safari History Tags and Browsing Themes Safari’s History.

GBHackers

By Divya · gbhackers.com

Read the full article at GBHackers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.