Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions detections/clients_connecting_to_multiple_dns_servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ detect:
splunk:
correlation_rule:
macros:
- clients_connecting_to_multiple_dns_servers_filter
- clients_connecting_to_multiple_dns_servers_output_filter
notable:
nes_fields: src, dest
rule_description: This search allows you to identify the endpoints that have
Expand All @@ -35,7 +35,7 @@ detect:
search: '| tstats `security_content_summariesonly` count, values(DNS.dest) AS dest dc(DNS.dest)
as dest_count from datamodel=Network_Resolution where DNS.message_type=QUERY
by DNS.src | `drop_dm_object_name("Network_Resolution")` |where dest_count
> 5 | `clients_connecting_to_multiple_dns_servers_filter`'
> 5 | `clients_connecting_to_multiple_dns_servers_output_filter`'
suppress:
suppress_fields: src
suppress_period: 86400s
Expand Down
4 changes: 2 additions & 2 deletions detections/dns_record_changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ detect:
lookups:
- discovered_dns_records
macros:
- dns_record_changed_filter
- dns_record_changed_output_filter
notable:
nes_fields: src
rule_description: The table represents a list of DNS records and their responses
Expand All @@ -44,7 +44,7 @@ detect:
| 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) | `dns_record_changed_filter`'
| eval n=mvfind(discovered_answer, current_answer) | where isnull(n) | `dns_record_changed_output_filter`'
suppress:
suppress_fields: src
suppress_period: 28800s
Expand Down
3 changes: 2 additions & 1 deletion macros/clients_connecting_to_multiple_dns_servers.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
description: Use this macro to add additional filters for monitoring clients connecting to multiple dns servers
name: clients_connecting_to_multiple_dns_servers_filter
name: clients_connecting_to_multiple_dns_servers_output_filter
definition: search *
3 changes: 2 additions & 1 deletion macros/dns_record_changed_filter.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
description: Use this macro to add additional filters for monitoring DNS records changed
name: dns_record_changed_filter
name: dns_record_changed_output_filter
definition: search *