Safari History Database Tags Can Reveal What Users Were Browsing on macOS
Safari's history database can store automatic topic tags that reveal browsing themes even when original records are limited.
Overview
Safari on macOS stores automatically generated topic tags in its history databaseAn organized digital store of structured records, such as customer accounts, orders, or messages, queried by software that can reveal themes a user explored. This feature is stored in the History.db file, which already records visited URLsThe full web address used to locate a specific page, file, or resource on the internet, webpage titles, timestamps, redirectsA web flaw where a trusted site accepts an outside URL parameter and forwards visitors there, and visit counts. Two additional tables, history_tags and history_items_to_tags, link these inferred topics to specific browsing records. The tag identifier field can begin with Q, indicating a link to a Wikidata entity for a recognized technology, organization, location, software package, or broader concept. Analysts must add 978307200 seconds to Safari timestamps to convert them to Unix time because Apple uses a Cocoa epoch beginning on January 1, 2001. Digital forensicCollecting and examining disk images, memory dumps, and logs after an incident to reconstruct what an attacker did investigators can use these tags to understand browsing activity even when original records are limited.
Terms in this story
- Database
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- URLs
- The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
- redirects
- A web flaw where a trusted site accepts an outside URL parameter and forwards visitors there. Attackers abuse an open redirect on a well-known website so the link in their email starts with a trusted domain name before forwarding the victim to a fake login page.
- forensic
- Collecting and examining disk images, memory dumps, and logs after an incident to reconstruct what an attacker did. After a breach, specialists perform digital forensics to find how the intruder broke in, which files were copied, and whether any hidden backdoors remain. Security+ objective 4.8 lists the term
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- metadata
- Information that describes a file or message, such as when it was made, who sent it, or where. Even when the body of a message is encrypted, network metadata reveals who talked to whom and when, and document metadata in a leaked PDF can accidentally name its author. Security+ objective 4.9 lists the term
- SQL
- The standard query language used to read, add, update, and delete records in relational databases. Almost every banking, retail, and hospital system stores its records in a database controlled by SQL, which is why SQL injection bugs that alter those queries are so dangerous.
- phishing
- Tricking people into handing over passwords or money through fake messages that look real. Attackers send fake emails or messages that copy a bank, school, or login page so a reader types in their password or opens a malicious attachment. Security+ objective 2.2 lists the term
- APT
- A well-funded, organized hacking group, usually backed by a government, that runs long-term spying campaigns. Security companies track each major state-sponsored group as an APT and study how it breaks into government, defense, and technology networks over many years. Security+ objective 2.1 lists the term
- advanced persistent threat
- A well-funded, long-term hacking group, usually backed by a government, that quietly spies on strategic targets. Unlike noisy ransomware criminals looking for quick cash, an advanced persistent threat spends months inside a defense contractor, telecom, or ministry network stealing secrets without being noticed.
- DNS
- The internet directory service that translates human-readable domain names into numerical IP addresses. Whenever you type a web address into a browser, DNS looks up the server's IP address, and attackers who hijack DNS settings can silently steer visitors to a fake server. Security+ objective 2.4 lists the term
- endpoint
- Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Safari History Database Tags Can Reveal What Users Were Browsing on macOS..." Found by reading the article; these exact words are in it - Who is affected: "...digital forensic investigators..."
Copied word for word from the article - Security+ 4.8 Explain appropriate incident response activities.
"......little-known Safari database feature could give digital forensic investigators another way to understand browsing activity..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"Safari History Database Tags Can Reveal What Users..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"......Can Reveal What Users Were Browsing on macOS..." Found in the headline
How a story is connected to the course, and every objective, week and job role