We introduce an attack against encrypted web traffic that makes use only of packet timing information on the uplink. This attack is therefore impervious to existing packet padding defences. In addition, unlike existing approaches this timing-only attack does not require knowledge of the start/end of web fetches and so is effective against traffic streams. We demonstrate the effectiveness of the attack against both wired and wireless traffic, achieving mean success rates in excess of 90%. In addition to being of interest in its own right, this timing-only attack serves to highlight deficiencies in existing defences and so to areas where it would be beneficial for VPN designers to focus further attention.
NetLexicon: Learning Discrete Behavioral Representations for Encrypted Web Traffic Analysis
Institute for Network Sciences and Cyberspace, Tsinghua University(清华大学网络科学与网络空间研究院);State Key Laboratory of Internet Architecture(互联网架构国家重点实验室);Renmin University of China(中国人民大学);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);Huawei(华为);Beijing National Research Center for Information Science and Technology (BNRist), Tsinghua University(清华大学北京信息科学与技术国家研究中心)
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);University of Chinese Academy of Sciences(中国科学院大学);Guangzhou University(广州大学)
密码协议被广泛用于保护用户的隐私和避免暴露隐私信息。QUIC(Quick UDP Internet Connections),包括最初由Google设计的版本(GQUIC)和IETF标准化的版本(IQUIC),作为传统HTTP的替代品,展示了其独特的传输特性:基于UDP进行加密资源传输,加速网页渲染。然而,现有的基于TCP的加密传输方案容易受到网站指纹(WFP)攻击,允许攻击者通过窃听传输信道来推断用户访问的网站。GQUIC和IQUIC能否有效抵御此类攻击值得研究。本文从流量分析的角度研究了GQUIC、IQUIC和HTTPS对WFP攻击的脆弱性。大量实验表明,在早期流量场景下,GQUIC、IQUIC和HTTPS中GQUIC最容易受到WFP攻击,而IQUIC比HTTPS更容易受到攻击,但在正常全流量场景下,三种协议的脆弱性相似。特征迁移分析表明,在正常的全业务场景下,协议间的大部分特征是可以迁移的。然而,结合潜在特征表示的定性分析,我们发现,在早期流量时,传输是低效的,因为GQUIC,IQUIC和HTTPS在早期流量上的流量分布的变化幅度显着不同。通过将一次WFP攻击升级为多次WFP Top-a攻击,我们发现在GQUIC和IQUIC上的攻击准确率分别达到95.4%和95.5%,而在HTTPS上的攻击准确率仅为60.7%。我们还证明了IQUIC的脆弱性只是轻微地依赖于网络环境。