Back to search

University of Toronto

On the Security and Privacy of Web Requests

Abstract

dc:description.abstract

This thesis introduces new approaches for enhancing the security and privacy of client-server commu- nications by addressing two critical issues. First, we investigate the risks posed by user-impersonation attacks, where client-side malware forges or tampers with web requests, initiating security-sensitive actions such as financial transactions or voting without the user’s true intent. Current defenses, including user authentication and network encryption, fall short because they assume the integrity of the client device. We present vWitness, a system that certifies user intent by “witnessing” client interactions with the web page, ensuring that outgoing requests align with the interactions that the user made with the help of specifications set by the server. Using computer vision, vWitness distin- guishes benign rendering variations from potential malicious alterations, achieving 99.97% accuracy with minimal performance impact, adding only 197ms on average to the interaction session. This solution enables web servers to verify that requests truly originate from a user’s intended actions. Additionally, we address privacy challenges arising from web tracking, where existing tools strug- gle to balance effective tracker blocking with site compatibility. Many tools rely on manual updates and user feedback to resolve “breakages” caused by overblocking, where essential site functional- ity is inadvertently blocked. To address this, we propose Duumviri, an automated approach that enhances tracking detection by integrating a machine learning-based breakage detection model. Du- umviri improves the accuracy of tracker detection by using differential features of web requests and incorporates breakage detection to mitigate overblocking. This method is particularly novel in han- dling “mixed” trackers, trackers that blend tracking with functional information into a single request, by enabling analysis at partial-request granularity to distinguish between tracking components and functional ones. Evaluations of Duumviri demonstrate high accuracy in detecting non-mixed trackers (97.44%) and mixed trackers (74.19%). Together, vWitness and Duumviri represent significant advancements in web security and privacy. vWitness introduces an innovative method for certifying user intent to counter user-impersonation attacks, while Duumviri provides an automated framework for robust tracker detection and breakage management to safeguard user privacy without compromising functionality.

Degree

thesis:*
Department dc:contributor.department
Electrical and Computer Engineering
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Shuang, He
Advisors dc:contributor.advisor
  • Lie, David
  • Zhao, Lianying

Subjects

dc:subject × 6

Rights

dc:rights
Statement dc:rights
  • Attribution 4.0 International

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1807/144802

Chain of custody

source
Harvested from
University of Toronto
Base URL
utoronto.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Shuang, He. On the Security and Privacy of Web Requests. 2025. https://hdl.handle.net/1807/144802