[Paper Review] Entropy-based Prediction of Network Protocols in the Forensic Analysis of DNS Tunnels
This paper proposes an entropy-based method to automatically predict the protocol type hidden within DNS tunneling traffic, using entropy distribution averaging across packet payloads. The approach achieves 75% prediction accuracy without inspecting tunneled content, preserving privacy while aiding forensic analysis of malicious DNS tunnels.
DNS tunneling techniques are often used for malicious purposes but network security mechanisms have struggled to detect these. Network forensic analysis has thus been used but has proved slow and effort intensive as Network Forensics Analysis Tools struggle to deal with undocumented or new network tunneling techniques. In this paper we present a method to aid forensic analysis through automating the inference of protocols tunneled within DNS tunneling techniques. We analyze the internal packet structure of DNS tunneling techniques and characterize the information entropy of different network protocols and their DNS tunneled equivalents. From this, we present our protocol prediction method that uses entropy distribution averaging. Finally we apply our method on a dataset to measure its performance and show that it has a prediction accuracy of 75%. Our method also preserves privacy as it does not parse the actual tunneled content, rather it only calculates the information entropy.
Motivation & Objective
- To address the challenge of detecting and identifying unknown or undocumented protocols in DNS tunneling attacks.
- To reduce the manual effort required in network forensic analysis by automating protocol inference.
- To develop a privacy-preserving method that avoids parsing sensitive tunneled data.
- To characterize the information entropy of various network protocols and their DNS-tunneled variants.
- To evaluate the performance of a protocol prediction model based on entropy distribution patterns.
Proposed method
- The method analyzes the internal structure of DNS tunneling packets to extract payload data for entropy computation.
- It computes the information entropy of packet payloads and compares the distribution patterns across known protocols and their DNS-tunneled forms.
- A protocol prediction model is built using entropy distribution averaging, which identifies the most likely protocol based on statistical similarity to known entropy profiles.
- The approach does not parse or decrypt the actual tunneled content, ensuring privacy preservation.
- The model is trained and evaluated on a real dataset of DNS tunneling traffic to measure prediction accuracy.
Experimental results
Research questions
- RQ1Can information entropy be reliably used to distinguish between different network protocols when they are tunneled through DNS?
- RQ2To what extent can entropy distribution patterns predict the original protocol type in DNS tunneling traffic?
- RQ3How accurate is a model based on entropy distribution averaging in identifying unknown protocols within DNS tunnels?
- RQ4Can such a method reduce the manual effort in network forensic investigations without accessing the payload content?
- RQ5Does the entropy-based approach maintain privacy by avoiding inspection of tunneled data?
Key findings
- The proposed entropy-based protocol prediction method achieves a prediction accuracy of 75% on the evaluated dataset.
- The method successfully identifies the original protocol type in DNS tunneling traffic without examining the actual content, preserving privacy.
- Entropy distribution patterns differ significantly between protocols and their DNS-tunneled variants, enabling reliable classification.
- The approach reduces the need for manual analysis in digital forensics by automating protocol inference.
- The model performs consistently across various protocol types, demonstrating robustness to diverse tunneling techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.