Cookies from the past: timing server-side request processing code for history sniffing

dc.contributor.authorSánchez Rola, Iskander
dc.contributor.authorBalzarotti, Davide
dc.contributor.authorSantos Grueiro, Igor
dc.date.accessioned2025-10-10T06:30:23Z
dc.date.available2025-10-10T06:30:23Z
dc.date.issued2020-12-22
dc.date.updated2025-10-10T06:30:23Z
dc.description.abstractCookies were originally introduced as a way to provide state awareness to websites, and they are now one of the backbones of the current web. However, their use is not limited to store the login information or to save the current state of user browsing. In several cases, third-party cookies are deliberately used for web tracking, user analytics, and for online advertisement, with the subsequent privacy loss for the end-users. However, cookies are not the only technique capable of retrieving the users' browsing history. In fact, history sniffing techniques are capable of tracking the users' browsing history without relying on any specific code in a third-party website, but only on code executed within the visited site. Many sniffing techniques have been proposed to date, but they usually have several limitations, and they are not able to differentiate between multiple possible states within the target application. We propose BakingTimer, a new history-sniffing technique based on timing the execution of server-side request processing code. This method is capable of retrieving partial or complete user browsing history, it does not require any permission, and it can be performed through both first- and third-party scripts. We studied the impact of our timing side-channel attack to detect prior visits to websites and discovered that it was capable of detecting the users' state in more than half of the 10K websites analyzed, which is the largest test performed to date to test this type of technique. We additionally performed a manual analysis to check the capabilities of the attack to differentiate between three states: never accessed, accessed, and logged in. Moreover, we performed a set of stability tests to verify that our time measurements are robust with respect to changes both in the network RTT and in the servers workload. This extended version additionally includes a comprehensive analysis of existing countermeasures, starting from its evolution/adoption, and finishing with a large-scale experiment to asset the repercussions on the presented technique.en
dc.description.sponsorshipThis work is partially supported by the Basque Government under a pre-doctoral grant given to Iskander Sanchez-Rolaen
dc.identifier.citationSanchez-Rola, I., Balzarotti, D., & Santos, I. (2020). Cookies from the past: timing server-side request processing code for history sniffing. Digital Threats: Research and Practice, 1(4). https://doi.org/10.1145/3419473
dc.identifier.doi10.1145/3419473
dc.identifier.eissn2576-5337
dc.identifier.urihttps://hdl.handle.net/20.500.14454/3917
dc.language.isoeng
dc.publisherAssociation for Computing Machinery
dc.rights© 2020 Copyright held by the owner/author(s)
dc.subject.otherBrowser cookies
dc.subject.otherHistory sniffing
dc.subject.otherUser privacy
dc.titleCookies from the past: timing server-side request processing code for history sniffingen
dc.typejournal article
dcterms.accessRightsopen access
oaire.citation.issue4
oaire.citation.titleDigital Threats: Research and Practice
oaire.citation.volume1
oaire.versionVoR
Archivos
Bloque original
Mostrando 1 - 1 de 1
Cargando...
Miniatura
Nombre:
sanchez_cookies_2020.pdf
Tamaño:
905.79 KB
Formato:
Adobe Portable Document Format
Colecciones