论文标题

基于正态分布合理范围过滤的DNS隧道滑动窗口差分检测方法

A DNS Tunnel Sliding Window Differential Detection Method Based on Normal Distribution Reasonable Range Filtering

论文作者

Ma, Xin, Guo, Shize, Pan, Zhisong, Liu, Bin, Jiang, Kaolin, Chen, Ming, Tang, Shijiao

论文摘要

APT组织经常使用的秘密攻击方法是DNS隧道,该隧道用于通过构建C2网络传递信息。他们经常使用经常更改域名和服务器IP地址的方法来逃避监视,这使得很难检测到它们。但是,他们在普通DNS通信中携带DNS隧道信息流量,这不可避免地带来了DNS流量的某些统计特征的异常,因此它将为安全人员提供找到它们的机会。根据上述考虑,本文研究了典型DNS隧道高频查询行为的统计发现方法。首先,我们分析了DNS域名长度和时间的分布,并发现DNS域名长度和时间遵循正常分布定律。其次,基于此分布定律,我们提出了一种基于域名长度和频率的统计规​​则,检测和发现非单个域名的高频DNS查询行为,我们还给出了三个定理作为理论支持。第三,我们根据上述方法设计了一个滑动窗口差方案。实验结果表明,我们的方法具有较高的检测率。同时,由于我们的方法不需要构建数据集,因此它在检测未知的DNS隧道方面具有更好的实用性。这也表明,我们基于数学模型的检测方法可以有效避免机器学习方法的困境,这些方法必须具有有用的培训数据集,并且具有强大的实际意义。

A covert attack method often used by APT organizations is the DNS tunnel, which is used to pass information by constructing C2 networks. And they often use the method of frequently changing domain names and server IP addresses to evade monitoring, which makes it extremely difficult to detect them. However, they carry DNS tunnel information traffic in normal DNS communication, which inevitably brings anomalies in some statistical characteristics of DNS traffic, so that it would provide security personnel with the opportunity to find them. Based on the above considerations, this paper studies the statistical discovery methodology of typical DNS tunnel high-frequency query behavior. Firstly, we analyze the distribution of the DNS domain name length and times and finds that the DNS domain name length and times follow the normal distribution law. Secondly, based on this distribution law, we propose a method for detecting and discovering high-frequency DNS query behaviors of non-single domain names based on the statistical rules of domain name length and frequency and we also give three theorems as theoretical support. Thirdly, we design a sliding window difference scheme based on the above method. Experimental results show that our method has a higher detection rate. At the same time, since our method does not need to construct a data set, it has better practicability in detecting unknown DNS tunnels. This also shows that our detection method based on mathematical models can effectively avoid the dilemma for machine learning methods that must have useful training data sets, and has strong practical significance.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源