Analytics Story: Suspicious DNS Traffic

Description

Attackers often attempt to hide within or otherwise abuse the domain name system (DNS). You can thwart attempts to manipulate this omnipresent protocol by monitoring for these types of abuses.

Why it matters

Although DNS is one of the fundamental underlying protocols that make the Internet work, it is often ignored (perhaps because of its complexity and effectiveness). However, attackers have discovered ways to abuse the protocol to meet their objectives. One potential abuse involves manipulating DNS to hijack traffic and redirect it to an IP address under the attacker's control. This could inadvertently send users intending to visit google.com, for example, to an unrelated malicious website. Another technique involves using the DNS protocol for command-and-control activities with the attacker's malicious code or to covertly exfiltrate data. The searches within this Analytic Story look for these types of abuses.

Detections

Name ▲▼ Technique ▲▼ Type ▲▼
Excessive Usage of NSLOOKUP App Exfiltration Over Alternative Protocol Anomaly
DNS Query Length With High Standard Deviation Exfiltration Over Unencrypted Non-C2 Protocol Anomaly
Windows Kerberos Coercion via DNS DNS, Forced Authentication, Name Resolution Poisoning and SMB Relay TTP
DNS Exfiltration Using Nslookup App Exfiltration Over Alternative Protocol TTP
DNS Kerberos Coercion DNS, Forced Authentication, Name Resolution Poisoning and SMB Relay TTP
Detect hosts connecting to dynamic domain providers Drive-by Compromise TTP
Windows Short Lived DNS Record DNS, Forced Authentication, Name Resolution Poisoning and SMB Relay TTP
Windows Credential Target Information Structure in Commandline DNS, Forced Authentication, Name Resolution Poisoning and SMB Relay TTP
Excessive DNS Failures DNS Anomaly

Data Sources

Name ▲▼ Platform ▲▼ Sourcetype ▲▼ Source ▲▼
CrowdStrike ProcessRollup2 Other crowdstrike:events:sensor crowdstrike
Sysmon EventID 1 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Windows Event Log Security 4688 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security
Sysmon EventID 22 Windows icon Windows XmlWinEventLog XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
Windows Event Log Security 5136 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security
Windows Event Log Security 5137 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security
Windows Event Log Security 4662 Windows icon Windows XmlWinEventLog XmlWinEventLog:Security
Suricata Other suricata not_applicable

References


Source: GitHub | Version: 2