![](https://d3ilqtpdwi981i.cloudfront.net/sF8ebwp8t65Nr5v8OmyWvRVJicw=/0x0:238x308/425x550/smart/https://bepress-attached-resources.s3.amazonaws.com/uploads/3d/6e/eb/3d6eebbf-95e2-42c4-b80a-57a79c7cfd7f/https___brand-experience.ieee.org_wp-content_uploads_2016_12_ieee-access-animation-thumbnail.jpg)
Domain generation algorithms (DGAs) have become commonplace in malware that seeks to establish command and control communication between an infected machine and the botmaster. DGAs dynamically and consistently generate large volumes of malicious domain names, only a few of which are registered by the botmaster, within a short time window around their generation time, and subsequently resolved when the malware on the infected machine tries to access them. Deep neural networks that can classify domain names as benign or malicious are of great interest in the real-time defense against DGAs. In contrast with traditional machine learning models, deep networks do not rely on human engineered features. Instead, they can learn features automatically from data, provided that they are supplied with sufficiently large amounts of suitable training data. Obtaining cleanly labeled ground truth data is difficult and time consuming. Heuristically labeled data could potentially provide a source of training data for weakly supervised training of DGA detectors. We propose a set of heuristics for automatically labeling domain names monitored in real traffic, and then train and evaluate classifiers with the proposed heuristically labeled dataset. We show through experiments on a dataset with 50 million domain names that such heuristically labeled data is very useful in practice to improve the predictive accuracy of deep learning-based DGA classifiers, and that these deep neural networks significantly outperform a random forest classifier with human engineered features.
Available at: http://works.bepress.com/anderson-nascimento/30/