Master's Thesis

XS-Leaks Crutch: Assisted Detection & Exploitation of Cross-Site Leaks

Manuel Vítor Dias de Sousa — 2021

Key information

Authors:

Manuel Vítor Dias de Sousa (Manuel Vítor Dias de Sousa)

Supervisors:

Pedro Miguel dos Santos Alves Madeira Adão (Pedro Miguel dos Santos Alves Madeira Adão)

Published in

January 27, 2021

Abstract

Cross-site Leaks (XS-Leaks) are a class of vulnerabilities that gained new attention from the security community at the end of 2018. The root cause associated with vulnerabilities combines different browser misfeatures and legacy web behaviors to attack web applications in a cross-origin environment. The primary attack vector is through Cross-Site Search and explores side channels like timing channels, error-events, among others. These attacks' impact is high as most current browser protections cannot prevent them by default, and the newly proposed web platform security features are still in an early stage. Firstly, as the first contribution of this thesis, we start by presenting the basic principles of XS-Leaks and a comprehensive survey of multiple attack vectors. We propose a taxonomy to help the community better understand this class of attacks and help classify future ones. We also present a systematization of the current defense mechanisms proposals to mitigate some of the techniques. Secondly, as the main contribution of this thesis, we present a novel library that will assist researchers and developers in detecting and exploiting a set of various XS-Leaks in web applications. This library is supported in multiple browsers and considers the current default defense mechanisms present in browsers. We conducted an expressive evaluation, proving the tool's success and efficacy in detecting and exploiting various XS-Leaks in simulated environments, real-world applications, and Capture the Flag challenges. Finally, at the end of this work, we present a profound reflection on the future of XS-Leaks research and the future challenges ahead.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

November 23, 2021

Institution name

Instituto Superior Técnico