Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How does Evercookie work?
Threats, Abuse & Incident Response

How does Evercookie work?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 17, 2026 Domain: Threats, Abuse & Incident Response

Evercookie works by storing the same tracking identifier in multiple browser and client-side storage locations so it can be recreated if one copy is deleted. Defenders should treat it as a persistence and tracking technique, restrict unnecessary browser storage, clear related artefacts during hygiene actions, and monitor for repeated identifier regeneration across sessions.

How Evercookie Persists Across Browser Storage

Evercookie is a persistence technique, not just a single cookie. It writes the same identifier into multiple places a browser or client can store state, so if one location is deleted, the value can be reconstructed from another surviving copy. That design makes it harder to clear than a normal cookie and gives trackers a way to re-identify the same browser over time.

The practical implication is that removal is only reliable when you clear all of the storage locations involved, not just the obvious cookie jar. For defenders, the important question is which browser, application, or extension artefacts are available in the environment and whether those artefacts can repopulate one another after cleanup.

Evercookie also sits close to the broader world of browser fingerprinting and device-level tracking. For background on how browser signals can be combined into durable identifiers, see the Device Intelligence and Fingerprinting Guide.

Why Recreated Identifiers Matter to Defenders

The security issue is persistence. If a tracking ID reappears after a user clears storage, the browser may still be linkable across sessions, profiles, or workspaces. That undermines privacy controls, weakens user expectations about deletion, and can complicate incident response when analysts assume a browser has been reset.

Failure often comes from incomplete hygiene. Teams may clear cookies but miss other storage layers, or they may overlook browser features, extensions, or synchronised state that can restore the identifier. In practice, repeated regeneration is the telltale sign that the underlying storage paths have not all been addressed.

There is also a governance angle: browsers and client-side code can create durable tracking surfaces even without explicit server-side session state. Current security guidance treats those surfaces as part of the data exposure problem, especially where identifiers can be used for correlation, profiling, or control bypass. The broader control mindset aligns with NIST Privacy Framework and with browser-state hygiene expectations in the NIST Cybersecurity Framework 2.0.

What Actually Breaks Evercookie, and What Does Not

Breaking the mechanism means removing every copy it can reach and stopping the storage from being rewritten. That usually requires clearing browser storage broadly, isolating or removing the source that repopulates the identifier, and checking whether the identifier is being regenerated by script on page load or by another component in the client environment.

What does not work well is partial cleanup. Clearing only one browser artefact, blocking only one storage type, or resetting only one profile can leave enough state for recreation. The defensive posture should therefore treat Evercookie as a cross-storage persistence problem, not as a single-cookie problem.

For teams that want a formal baseline for restrictive access and state control, the technical control families in NIST SP 800-53 Rev 5 Security and Privacy Controls are useful when translating the problem into policy, logging, and configuration requirements.

Risk and Threat Considerations

Evercookie is risky because it turns ordinary client storage into a resilient tracking and persistence channel. The same mechanism can support benign analytics, but it can also defeat user deletion intent, enable long-lived correlation, and preserve identifiers across sessions even when a user believes state has been cleared.

Failure mechanism: The identifier survives in one or more alternate browser storage locations and is restored when the page, script, or client logic finds a remaining copy.

Impact: Users, investigators, or defenders may incorrectly assume the browser is clean, while the identifier continues to support tracking, profile linkage, or repeated re-identification.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP API Security Top 10 addresses the attack and risk surface, while CIS Controls v8, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-5 — Account ManagementClient-side tracking state needs tight control over browser and endpoint artefacts.
Recommendation — Restrict unnecessary browser state and remove persistent tracking artefacts from managed endpoints.
NIST CSF 2.0PR.DS-01 — Data-at-rest is protectedEvercookie depends on persistent client-side data remaining available for restoration.
DE.CM-01 — Networks and systems are monitored to detect potential cybersecurity eventsRepeated identifier regeneration is a detectable persistence signal.
Recommendation — Protect and minimise stored client-side data that can recreate tracking identifiers. Monitor for recurring identifier regeneration and related client-state anomalies.
NIST SP 800-53 Rev 5CM-7 — Least FunctionalityReducing available browser storage and features narrows the persistence surface.
Recommendation — Disable or limit unnecessary client-side storage mechanisms where possible.
OWASP API Security Top 10API8 — Security MisconfigurationMisconfigured client or browser settings can leave storage paths open for recreation.
Recommendation — Harden client and browser configurations so storage cannot be repopulated unexpectedly.

Practitioner Guidance

What to prioritise: Focus on the storage surfaces that can repopulate each other, not only on standard cookies. If a browser cleanup process cannot account for all relevant client-side artefacts, treat the result as incomplete.

What to verify: Confirm whether the identifier reappears after a full reset of browser state, a fresh profile, or a different browser instance. Reappearance across sessions is the clearest signal that the tracking logic is distributed across multiple stores rather than isolated in one cookie.

Practitioner takeaway: The control objective is not “delete the cookie”, it is to eliminate every state source that can recreate the identifier and to prove that the identifier stays gone after cleanup.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 17, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org