<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Correlation Rule: Unauthorized DNS Server Exceptions in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Rule-Unauthorized-DNS-Server-Exceptions/m-p/389795#M4185</link>
    <description>&lt;P&gt;A lookup is the way that I would suggest doing it.&lt;/P&gt;

&lt;P&gt;I tested this and got this to work pretty easily. Here is how I did it:&lt;/P&gt;

&lt;H4&gt;Step 1: make a lookup file&lt;/H4&gt;

&lt;P&gt;I made a lookup file with two columns:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;dest&lt;/LI&gt;
&lt;LI&gt;approved&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;You can specify a value of "1" in the approved column to drop the destination from the search.&lt;/P&gt;

&lt;H4&gt;Step 2: update the search to use the lookup file&lt;/H4&gt;

&lt;P&gt;Next, I updated the search to use the lookup and drop the entries that match it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats `summariesonly` count from datamodel=Network_Resolution where DNS.dest_category != dns_server AND DNS.src_category != dns_server by DNS.src DNS.dest | `drop_dm_object_name("DNS")` | lookup dns_exception_list dest | search NOT approved=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note that the lookup I created was called "dns_exception_list". It drops any entries where the 'approved' column has a value of '1'.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:42:26 GMT</pubDate>
    <dc:creator>LukeMurphey</dc:creator>
    <dc:date>2020-09-30T00:42:26Z</dc:date>
    <item>
      <title>Correlation Rule: Unauthorized DNS Server Exceptions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Rule-Unauthorized-DNS-Server-Exceptions/m-p/389794#M4184</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm looking at enabling the 'DNS Query Requests Resolved by Unauthorized DNS Servers' rule in Splunk ES - Unfortunately this is generating a large amount of false results.&lt;/P&gt;

&lt;P&gt;See the search below:&lt;BR /&gt;
| tstats &lt;CODE&gt;summariesonly&lt;/CODE&gt; count from datamodel=Network_Resolution where DNS.dest_category != dns_server AND DNS.src_category != dns_server by DNS.src DNS.dest | &lt;CODE&gt;drop_dm_object_name("DNS")&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;I want to add a list of legitimate DNS servers to this search so that the false alerts can be excluded from this.&lt;/P&gt;

&lt;P&gt;I'm wondering what the best way to incorporate this into the search would be (potentially a lookup)?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:42:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Rule-Unauthorized-DNS-Server-Exceptions/m-p/389794#M4184</guid>
      <dc:creator>adam_dixon95</dc:creator>
      <dc:date>2020-09-30T00:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Correlation Rule: Unauthorized DNS Server Exceptions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Rule-Unauthorized-DNS-Server-Exceptions/m-p/389795#M4185</link>
      <description>&lt;P&gt;A lookup is the way that I would suggest doing it.&lt;/P&gt;

&lt;P&gt;I tested this and got this to work pretty easily. Here is how I did it:&lt;/P&gt;

&lt;H4&gt;Step 1: make a lookup file&lt;/H4&gt;

&lt;P&gt;I made a lookup file with two columns:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;dest&lt;/LI&gt;
&lt;LI&gt;approved&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;You can specify a value of "1" in the approved column to drop the destination from the search.&lt;/P&gt;

&lt;H4&gt;Step 2: update the search to use the lookup file&lt;/H4&gt;

&lt;P&gt;Next, I updated the search to use the lookup and drop the entries that match it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats `summariesonly` count from datamodel=Network_Resolution where DNS.dest_category != dns_server AND DNS.src_category != dns_server by DNS.src DNS.dest | `drop_dm_object_name("DNS")` | lookup dns_exception_list dest | search NOT approved=1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note that the lookup I created was called "dns_exception_list". It drops any entries where the 'approved' column has a value of '1'.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:42:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/Correlation-Rule-Unauthorized-DNS-Server-Exceptions/m-p/389795#M4185</guid>
      <dc:creator>LukeMurphey</dc:creator>
      <dc:date>2020-09-30T00:42:26Z</dc:date>
    </item>
  </channel>
</rss>

