arrow
Return

HTB: A Very Effective Method to Protect Web Servers Against BREACH Attack to HTTPS

delete2022-01-01
delete1
delete
OA
AI
R
Rafael Palacios *
A
Andrea Farina Fernandez-Portillo
E
Eugenio F. Sánchez‐Úbeda
P
Pablo Garcia-De-Zuniga
DOI:10.1109/ACCESS.2022.3166175delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
BREACH is a side-channel attack to HTTPS that allows an attacker to obtain victims' credentials under certain conditions. An attacker with a privileged position on the network can guess character by character a secret session key just by analyzing the size of the responses returned by the server over HTTPS and encrypted. Heal the Breach (HTB) is the proposed technique to mitigate BREACH attack by randomly changing the size of server responses through a modified gzip library. The attacker needs a precision of one byte in the size of the responses to be able to determine if a guess character is part of the secret token. Since the modified gzip library introduces randomness in the size of the response, BREACH becomes ineffective. The only way to circumvent this protection is to make several requests and compute the average size of the response, which minimizes the random effect. Mathematical and experimental results show that, for a random variation of the size from 1 to 10 bytes, an attacker needs to analyze 500 times more packages to obtain enough accuracy and surpass this mitigation. However, if the number of requests increases it is easier to isolate and block the attack using standard Intrusion Detection Systems (IDS). Compared to other mitigations, the approach presented in this paper is very effective, easy to implement for all websites hosted in the server, and produces a negligible increase in normal traffic.
Keywords:
Codes
Open wireless architecture
Huffman coding
Servers
Uniform resource locators
Side-channel attacks
Encryption
BREACH
CRIME
gzip library
HTTPs
side-channel attacks

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

C
Comillas Pontifical University
Scholars:
1.4K
Papers: 1.2K
Citations: 10
S
siemens ag
Scholars:
5.6K
Papers: 4.6K
Citations: 3