arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.01969cs.CRcs.AI
收藏

DeepDGA:逆向调谐域生成和检测

DeepDGA: Adversarially-Tuned Domain Generation and Detection

Endgame, Inc.(Endgame公司)

Hyrum S. Anderson, Jonathan Woodbridge, Bobby Filar

摘要:

许多恶意软件家族利用域生成算法(DGAs)来建立命令和控制(C&C)连接。虽然有很多方法来伪随机生成域,我们专注于在本文中检测(和生成)域上的每域的基础上,它提供了一个简单而灵活的手段来检测已知的DGA家庭。最近的机器学习DGA检测方法已经在相当简单的DGA上取得了成功,其中许多产生固定长度的名称。然而,在有限的数据集上训练的模型对新的DGA变体有些盲目。在本文中,我们利用生成对抗网络的概念来构建基于深度学习的DGA,该DGA旨在有意绕过基于深度学习的检测器。在一系列对抗回合中,生成器学会生成越来越难以检测的域名。反过来,检测器模型更新其参数以补偿对抗生成的域。我们测试的假设是否可以使用对抗生成的域来增强训练集,以加强其他机器学习模型对尚未观察到的DGA。我们详细介绍了训练这种基于字符的生成对抗网络(GAN)的几个挑战的解决方案。特别是,我们的深度学习架构开始于一个域名自动编码器(编码器+解码器),在Alexa 100万的域上训练。然后,编码器和解码器在一个生成对抗网络(检测器+生成器)中竞争性地重新组装,并采用新的神经架构和训练策略来提高收敛性。

英文摘要:

Many malware families utilize domain generation algorithms (DGAs) to establish command and control (C&C) connections. While there are many methods to pseudorandomly generate domains, we focus in this paper on detecting (and generating) domains on a per-domain basis which provides a simple and flexible means to detect known DGA families. Recent machine learning approaches to DGA detection have been successful on fairly simplistic DGAs, many of which produce names of fixed length. However, models trained on limited datasets are somewhat blind to new DGA variants. In this paper, we leverage the concept of generative adversarial networks to construct a deep learning based DGA that is designed to intentionally bypass a deep learning based detector. In a series of adversarial rounds, the generator learns to generate domain names that are increasingly more difficult to detect. In turn, a detector model updates its parameters to compensate for the adversarially generated domains. We test the hypothesis of whether adversarially generated domains may be used to augment training sets in order to harden other machine learning models against yet-to-be-observed DGAs. We detail solutions to several challenges in training this character-based generative adversarial network (GAN). In particular, our deep learning architecture begins as a domain name auto-encoder (encoder + decoder) trained on domains in the Alexa one million. Then the encoder and decoder are reassembled competitively in a generative adversarial network (detector + generator), with novel neural architectures and training strategies to improve convergence.

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

↑