arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1709.08395cs.CR
收藏

基于DNS协议的恶意低吞吐量数据泄漏检测

Detection of Malicious and Low Throughput Data Exfiltration Over the DNS Protocol

Asaf Nadler, Avi Aminov, Asaf Shabtai

摘要:

在存在安全对策的情况下,设计用于数据泄露的恶意软件必须使用隐蔽通道来实现其目标。在现有的隐蔽通道中有域名系统(DNS)协议。虽然在过去的十年中,DNS上的隐蔽通道的检测已经得到了深入的研究,以前的研究涉及一个特定的隐蔽通道的子类,即DNS隧道。虽然隧道检测的重要性没有被削弱,但一类低吞吐量DNS渗透恶意软件仍然被忽视。本研究的目标是提出一种方法,用于检测隧道和低吞吐量的数据泄露的DNS。为此,我们提出了一个解决方案,包括一个监督特征选择方法,和一个可互换的,可调整的异常检测模型训练的合法流量。在第一步中,应用单类分类器来检测不符合正常行为的特定于域的流量。然后,在第二步中,为了减少由于尝试检测低吞吐量数据泄漏而导致的误报率,我们应用基于规则的过滤器,该过滤器过滤合法服务使用的DNS上的数据交换。我们的解决方案在中等规模的递归DNS服务器日志上进行了评估,涉及超过75,000次合法使用和近2,000次攻击。评估结果表明,虽然DNS隧道覆盖至少99%的召回率和小于0.01%的误报率,低吞吐量的渗透检测是比较困难的。虽然不能完全阻止它,但我们的解决方案在DNS语法的限制下(相当于每小时5个信用卡详细信息或10个用户凭据)限制了恶意软件试图避免检测的最多1 kb/h有效负载,这降低了攻击的有效性。

英文摘要:

In the presence of security countermeasures, a malware designed for data exfiltration must do so using a covert channel to achieve its goal. Among existing covert channels stands the domain name system (DNS) protocol. Although the detection of covert channels over the DNS has been thoroughly studied in the last decade, previous research dealt with a specific subclass of covert channels, namely DNS tunneling. While the importance of tunneling detection is not undermined, an entire class of low throughput DNS exfiltration malware remained overlooked. The goal of this study is to propose a method for detecting both tunneling and low-throughput data exfiltration over the DNS. Towards this end, we propose a solution composed of a supervised feature selection method, and an interchangeable, and adjustable anomaly detection model trained on legitimate traffic. In the first step, a one-class classifier is applied for detecting domain-specific traffic that does not conform with the normal behavior. Then, in the second step, in order to reduce the false positive rate resulting from the attempt to detect the low-throughput data exfiltration we apply a rule-based filter that filters data exchange over DNS used by legitimate services. Our solution was evaluated on a medium-scale recursive DNS server logs, and involved more than 75,000 legitimate uses and almost 2,000 attacks. Evaluation results shows that while DNS tunneling is covered with at least 99% recall rate and less than 0.01% false positive rate, the detection of low throughput exfiltration is more difficult. While not preventing it completely, our solution limits a malware attempting to avoid detection with at most a 1kb/h of payload under the limitations of the DNS syntax (equivalent to five credit cards details, or ten user credentials per hour) which reduces the effectiveness of the attack.

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

↑