Merge pull request #22 from splunk/dns_hijack_update

dns_hijack.json story update
This commit is contained in:
Bhavin Patel
2019-02-27 13:48:26 -08:00
committed by GitHub
3 changed files with 14 additions and 4 deletions
@@ -34,7 +34,7 @@
]
},
"eli5": "Using a lookup discover_dns_records generated by support search \"Discover DNS records\" we check previous network traffic and make sure the responses have not changed.",
"how_to_implement": "To successfully implement this search you will need to ensure that DNS data is populating the Network_Resolution data model. It also requires that the discover_dns_record lookup table be populated by the included support search \"Discover DNS record\".",
"how_to_implement": "To successfully implement this search you will need to ensure that DNS data is populating the Network_Resolution data model. It also requires that the discover_dns_record lookup table be populated by the included support search \"Discover DNS record\". <br></br> <b>Splunk>Phantom Playbook Integration</b><br></br>If Splunk>Phantom is also configured in your environment, a Playbook called \"DNS Hijack Investigation\" can be configured to run when any results are found by this detection search. The playbook takes in the DNS record changed and uses Geoip, whois, Censys and PassiveTotal to detect if DNS issuers changed. To use this integration, install the Phantom App for Splunk <code>https://splunkbase.splunk.com/app/3411/</code>, add the correct hostname to the \"Phantom Instance\" field in the Adaptive Response Actions when configuring this detection search, and set the corresponding Playbook to active. <br/>(Playbook Link:<code>https://my.phantom.us/4.1/playbook/dns-hijack-investigation/</code>).<br></br>\"",
"known_false_positives": "Legitimate DNS changes can be detected in this search. Investigate, verify and update the list of provided current answers for the domains in question as appropriate.",
"maintainers": [
{
@@ -75,12 +75,22 @@
"name": "Jose Hernandez"
}
],
"phantom_playbooks": [
{
"phantom_server": "automation (hostname)",
"playbook_display_name": "DNS record change investigation",
"playbook_name": "community/dns_hijack_investigation",
"playbook_url": "https://my.phantom.us/4.1/playbook/dns-hijack-investigation/",
"sensitivity": "green",
"severity": "medium"
}
],
"scheduling": {
"cron_schedule": "0 * * * *",
"earliest_time": "-70m@m",
"latest_time": "-10m@m"
},
"search": "| inputlookup discovered_dns_records.csv | rename answer as discovered_answer | join domain[|tstats summariesonly=true count values(DNS.record_type) as type, values(DNS.answer) as current_answer values(DNS.src) as src from datamodel=Network_Resolution where DNS.message_type=RESPONSE DNS.answer!=\"unknown\" DNS.answer!=\"\" by DNS.query | rename DNS.query as query | where query!=\"unknown\" | rex field=query \"(?<domain>\\w+\\.\\w+?)(?:$|/)\"] | makemv delim=\" \" answer | makemv delim=\" \" type | sort -count | table count,src,domain,type,query,current_answer,discovered_answer | where current_answer!=discovered_answer",
"search": "| inputlookup discovered_dns_records.csv | rename answer as discovered_answer | join domain[|tstats summariesonly=true count values(DNS.record_type) as type, values(DNS.answer) as current_answer values(DNS.src) as src from datamodel=Network_Resolution where DNS.message_type=RESPONSE DNS.answer!=\"unknown\" DNS.answer!=\"\" by DNS.query | rename DNS.query as query | where query!=\"unknown\" | rex field=query \"(?<domain>\\w+\\.\\w+?)(?:$|/)\"] | makemv delim=\" \" answer | makemv delim=\" \" type | sort -count | table count,src,domain,type,query,current_answer,discovered_answer | makemv current_answer | mvexpand current_answer | makemv discovered_answer | eval n=mvfind(discovered_answer, current_answer) | where isnull(n)",
"search_description": "The search takes the DNS records and their answers results of the discovered_dns_records lookup and finds if any records have changed by searching DNS response from the Network_Resolution datamodel across the last day.",
"search_id": "44d3a43e-dcd5-49f7-8356-5209bb369065",
"search_name": "DNS record changed",
@@ -31,7 +31,7 @@
"name": "Rico Valdez"
}
],
"search": "| tstats `summariesonly` min(_time) as firstTime max(_time) as lastTime count from datamodel=Email.All_Email by All_Email.src | `drop_dm_object_name(\"Email\")` | `ctime(firstTime)` | `ctime(lastTime)` | sort -count | rename All_Email.src as source firstTime as \"First Time\", lastTime as \"Last Time\"",
"search": "|tstats `summariesonly` values(All_Email.dest) as dest values(All_Email.recipient) as recepient min(_time) as firstTime max(_time) as lastTime count from datamodel=Email.All_Email by All_Email.src |`drop_dm_object_name(All_Email)` | `ctime(firstTime)` | `ctime(lastTime)`",
"search_description": "This search returns a list of all email sources seen in the 48 hours prior to the notable event to 24 hours after, and the number of emails from each source.",
"search_id": "ddc7af28-c34d-4392-af93-7f29a4e8806c",
"search_name": "Get History Of Email Sources",
@@ -3,7 +3,7 @@
"creation_date": "2019-02-14",
"data_metadata": {
"data_models": [
"Network_Traffic"
"Network_Resolution"
],
"data_source": [
"Network Communication"