Browser cookies can provide everyone from advertisers to malware authors with useful information on things like unique identifiers and the sites a user has visited. But they're also fragile, and can be deleted with a click of the mouse. So, in recent years, there has been a rash of cookies that are much harder to get rid of, that burrow into persistent files and continue to propagate even after the browser is reset. Eventually, in a proof of principle, security researcher Samy Kamkar developed evercookie, an especially persistent example. It turns out that it is possible to delete evercookie from most browsers, but the methods range from simple to positively baroque.
The first persistent cookies used Adobe's Flash to store their data. Flash cookies aren't deleted when you delete the browser's normal cookie cache, and they can persist for much longer. With the right bit of code, it turned out to be possible to use Flash cookies to resurrect normal cookies that were deleted or expired in the browser's collection. Other companies then used a similar technique to store cookies in HTML5's local databases, which worked well when Flash wasn't installed. When a site detects that a user-tracking cookie is missing, it can simply pull the ID out of HTML5 storage, and recreate the cookie with it.
That apparently prompted Kamkar to raise awareness of the privacy issues by making evercookie, which uses all these techniques and more. Flash cookies, Silverlight cookies, and three different types of HTML5 storage are all used to hold the cookie data. In perhaps its most devious move, evercookie forces the browser to cache a PNG image that stores an identification code in one of the color channels.
It seems that Kamkar's goal of raising awareness has worked, in that people are finding ways of purging evercookie and, in doing so, have made us all aware of where some of the persistent storage resides.