DNS Exfiltration Guided by Generative Adversarial Networks
Authors:
- 8 July 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 580-599
Abstract
Today, DNS exfiltration attacks are detected by checking for anomalies present in the traffic, such as unusu-ally high transmission rates to a single domain and/or DNS query patterns that are very different from those in benign queries. While such approaches are seemingly robust, we show in this paper that our carefully designed and novel DNS exfiltration attack, Dolos, that uses a generative adversarial network (GAN), can guide the encoding of sensitive data in a manner that both evades these detectors and significantly speeds up the exfiltration rate compared to prior methods. At its core, Dolos divides the exfiltration data into smaller chunks, and projects each chunk into a representation that is very similar to benign queries. In addition, Dolosadaptively tunes its exfiltration rate to conform with benign DNS traffic from the compromised host, and introduces proper levels of spurious traffic to reduce entropy. Importantly, Dolos evades machine learning (ML) based detectors with no prior knowledge of their architectures or training sets (i.e., it is a blackbox exfiltration). We perform extensive evaluations using multiple datasets and also have a real im-plementation of DOLOS. Our evaluations show that DOLOS has a 12% detection probability even if 6 out of the 9 state-of-the-art defenses that we consider, are jointly used to detect exfiltration; if any of today's baseline exfiltration techniques try to achieve the same rate as Dolos in this setting, they are almost surely detected. If we reduce the rates of the baselines to achieve even a low albeit slightly higher detection probability than Dolos (0.15), we see that they take 25 x longer to achieve the exfiltration. With the other three defenses, we find that baselines are almost surely detected while Dolos remains relatively unaffected regardless of the rate of exfiltration.Keywords
This publication has 32 references indexed in Scilit:
- FECC: DNS tunnel detection model based on CNN and clusteringComputers & Security, 2023
- DNS covert channel detection method using the LSTM modelComputers & Security, 2021
- Malicious DNS Tunneling Detection in Real-Traffic DNS Data2020
- Generative adversarial networks with decoder–encoder output noisesNeural Networks, 2020
- A DNS Tunneling Detection Method Based on Deep Learning Models to Prevent Data ExfiltrationLecture Notes in Computer Science, 2019
- Detection of malicious and low throughput data exfiltration over the DNS protocolComputers & Security, 2019
- Behavior-based tracking: Exploiting characteristic patterns in DNS trafficComputers & Security, 2013
- Flow-Based Detection of DNS Tunnels2013
- Bro: a system for detecting network intruders in real-timeComputer Networks, 1999
- On the jaccard similarity testJournal of Mathematical Sciences, 1998