arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.06641cs.NI
收藏

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

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

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

摘要:

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.

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

↑