Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Create Metadata Streaming Profile to Detect DNS Tunnels

  1. In the Metadata Streaming Profiles section, click +.
    The Create Metadata Streaming Profile page is displayed.
  2. Enter a unique profile name within 63 alphanumeric characters. You can use special characters such as _ and -.
  3. In the DNS section, enable the Tunnel detection toggle button.
  4. Select the action that must be performed if a threat is detected:
    • Deny—Drop the session.

    • Sinkhole—Drop the session and sinkhole the request domain.

      Note:

      To sinkhole a request domain, you must configure the sinkhole settings for the device. To configure the settings from Juniper Security Director Cloud, click the device name on the Devices page and then click Junos Detailed Configurations > Services > Dns Filtering > Sinkhole.

    • Permit—Permit the session.

  5. Select how you want to log a request:
    • Log detections—Log the request only if a threat is detected.

    • Log everything—Log all requests received by the device.

  6. Enable the Fallback options log toggle button to log the request if no threat is detected.
  7. In the Inspection depth text box, enter the number of packets that must be inspected to detect a DNS tunnel.
    Note:

    The permitted range is 0-10. The default value is 4 packets. If you enter 0, Juniper Security Director Cloud inspects all the packets.

  8. To store DNS requests in cache, enable the Cache TTL toggle button and enter the duration for which requests from beningn and command-and-control (C2) domains must be stored.
  9. Click OK.
    The metadata streaming profile is created and displayed on the Metadata Streaming Policy page.