You must have the Cloud Firewall and DNS licenses to use DNS Security. This feature is available with IPSec, GRE, and Netskope Client traffic steering methods.
DNS Security is a Cloud Firewall feature that provides protection for DNS services.
DNS is one of the most widely used internet protocols for most services, which makes it vulnerable to attackers looking to exploit this service. These attackers use phishing sites, C&C servers, and malware on new domains that aren’t yet flagged as malicious. For example, newly registered domains (NRDs), domain generated algorithm (DGA) domains, etc. Attackers can also attempt Command and Control (C&C) and data exfiltration with tunneling over DNS by using software on an infected host to encode extra content within a DNS query.
This feature allows you to identify and block malicious DNS requests. You can apply domain blocking categorically to prevent your users from connecting to unsafe domains. This allows you to stop or sinkhole connections to newly registered domains (NRDs), DGA domains, and others that aren’t yet classified as malicious. You can also allow or block DNS tunnels and protect against unauthorized data transfers using those tunnels. Netskope updates the threat database every 15 minutes to protect your data against the latest threats.
DNS servers refusing to respond are treated like unreachable servers and resolved through Netskope DNS. When “All Traffic” is steered to the Netskope SSE platform, whether through the Client or using GRE or IPSec tunnels, Cloud Firewall will inspect the packets and identify DNS requests sent on TCP or UDP protocols, thus allowing for DNS Security on DNS requests that use non-standard ports.
The primary steps to configure DNS Security include:
- Create a steering configuration to steer DNS traffic to the Netskope cloud.
- Create a DNS exception for your steering configuration. You should bypass local domains by specifying them in the steering exceptions.
- Create a DNS Profile to define the actions taken for different domain categories. For example, you can block all domains that fall under the phishing category.
- Create a Real-time Protection policy for the DNS profile you created.
Netskope Proxy applies DoH (DNS over HTTPS) policies per tenant policy configuration. DoH wraps the DNS query in an HTTPS request and sends it over port 443. This encrypts the DNS queries and responses preventing attackers from intercepting the packets.
DNS Security Through Netskope Client
The Netskope Client is capable of steering DNS requests originally destined to an internal DNS Server if the appropriate steering configurations are in place. In essence we want to configure the default “Local IP address range” steering bypass to “Bypass, except for DNS traffic”:
The Netskope Client is also capable of performing exceptions based on the DNS query content itself. Those exceptions are called “DNS” steering exceptions, and instruct NSClient to send direct queries that match the configured record type and domain:
DNS exceptions are mandatory for all the internal domains, as all the internal domains are to be resolved by the local DNS server, and as such they must not be steered.
DNS Security with Web Traffic mode
DNS Security can be enabled for “Web Traffic” steering only. The idea behind this is that DNS Security can be used by customers that don’t want to use other CFW features. This is also very useful for migrating from “Web Traffic” to “All Traffic” in steps.
DNS Security can also be enabled or disabled when steering “All Traffic” and it can be granularly configured when Dynamic Steering is enabled.