用于网络安全监控的被动、透明和选择性TLS解密
Passive, Transparent, and Selective TLS Decryption for Network Security Monitoring
摘要:
互联网流量越来越加密。虽然这保护了通信的机密性和完整性,但它阻止了网络监控系统(NMS)和入侵检测系统(IDS)有效地分析现在加密的有效载荷。因此,许多企业网已经部署了中间人(MitM)代理,其在网络边界处拦截TLS连接以检查分组有效载荷,从而保持一定的可见性。然而,最近的研究表明,TLS拦截通常会降低连接安全性,并可能向网络引入额外的攻击向量。在本文中,我们提出了一种合作的方法,在该方法中,终端主机作为加密端点选择性地提供TLS密钥材料的NMS进行解密。这使端点能够控制谁可以解密哪些内容,并让用户保留所选连接的隐私。我们实现了一个基于Zeek NMS的原型,该原型能够从主机接收密钥材料,解密TLS连接并对明文进行分析。该补丁是免费提供的,我们计划一旦它们足够成熟,就将我们的更改上游到Zeek。在我们的评估中,我们讨论了我们的方法如何在概念上需要显着更少的计算资源相比,通常部署的MitM代理。我们的实验结果表明,TLS解密增加了约2.5倍的原始运行时间上的明文运行时的开销。此外,我们表明,主机和NMS之间传输密钥的延迟可以通过在NMS上缓冲至少40 ms的流量来有效地解决,允许成功解密所有观察到的TLS连接的99.99%。
英文摘要:
Internet traffic is increasingly encrypted. While this protects the confidentiality and integrity of communication, it prevents network monitoring systems (NMS) and intrusion detection systems (IDSs) from effectively analyzing the now encrypted payloads. Therefore, many enterprise networks have deployed man-in-the-middle (MitM) proxies that intercept TLS connections at the network border to examine packet payloads and thus retain some visibility. However, recent studies have shown that TLS interception often reduces connection security and potentially introduces additional attack vectors to the network. In this paper, we present a cooperative approach in which end-hosts as cryptographic endpoints selectively provide TLS key material to NMS for decryption. This enables endpoints to control who can decrypt which content and lets users retain privacy for chosen connections. We implement a prototype based on the Zeek NMS that is able to receive key material from hosts, decrypt TLS connections and perform analyzes on the cleartext. The patch is freely available and we plan to upstream our changes to Zeek once they are mature enough. In our evaluation, we discuss how our approach conceptually requires significantly less computational resources compared to the commonly deployed MitM proxies. Our experimental results indicate, that TLS decryption increases a runtime overhead of about 2.5 times of the original runtime on cleartext. Additionally, we show that the latency for transmitting keys between hosts and the NMS can be effectively addressed by buffering traffic at the NMS for at least 40ms, allowing successful decryption of 99.99% of all observed TLS connections.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。