arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1705.09044cs.CRcs.NI
收藏

使用机器学习技术检测恶性TLS服务器

Detecting Malignant TLS Servers Using Machine Learning Techniques

Sankalp Bagaria, R. Balaji, B. S. Bindhumadhava

摘要:

TLS使用X.509证书进行服务器身份验证。X.509证书是一个复杂的文档,在创建/使用它时可能会发生各种无辜的错误。此外,许多证书属于恶意网站,应该被客户端拒绝,并且不应该访问这些Web服务器。通常情况下,当客户端发现一个证书是可疑的使用传统的测试,它要求人为干预。但是,看看证书,大多数人不能区分恶意和非恶意网站。因此,一旦传统的证书验证失败,而不是要求人工干预,我们使用机器学习技术,使Web浏览器能够决定证书所属的服务器是否是恶性的,即是否应该访问该网站。一旦证书在上述阶段被接受,我们观察到该网站仍然可能是恶意的。因此,在第二阶段,我们将网站的一部分下载到沙箱中,而不对其进行解密,并观察TLS加密流量(沙箱中捕获的加密恶意数据不会损害系统)。由于在握手完成后对流量进行加密,因此无法使用传统的模式匹配技术。因此,我们使用流量的流特征以及上述第一阶段中使用的特征。我们将这些特征与TLS握手期间获得的未加密TLS报头信息相结合,并在机器学习分类器中使用这些特征来识别流量是否是恶意的。

英文摘要:

TLS uses X.509 certificates for server authentication. A X.509 certificate is a complex document and various innocent errors may occur while creating/ using it. Also, many certificates belong to malicious websites and should be rejected by the client and those web servers should not be visited. Usually, when a client finds a certificate that is doubtful using the traditional tests, it asks for human intervention. But, looking at certificates, most people can't differentiate between malicious and non-malicious websites. Thus, once traditional certificate validation has failed, instead of asking for human intervention, we use machine learning techniques to enable a web browser to decide whether the server to which the certificate belongs to is malignant or not ie, whether the website should be visited or not. Once a certificate has been accepted in the above phase, we observe that the website may still turn out to be malicious. So, in the second phase, we download a part of the website in a sandbox without decrypting it and observe the TLS encrypted traffic (encrypted malicious data captured in a sandbox cannot harm the system). As the traffic is encrypted after Handshake is completed, traditional pattern-matching techniques cannot be employed. Thus we use flow features of the traffic along with the features used in the above first phase. We couple these features with the unencrypted TLS header information obtained during TLS Handshake and use these in a machine learning classifier to identify whether the traffic is malicious or not.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑