This analytic identifies a process making a DNS query to Discord, a well known instant messaging and digital distribution platform. Discord can be abused by adversaries, as seen in the WhisperGate campaign, to host and download malicious. external files. A process resolving a Discord DNS name could be an indicator of malware trying to download files from Discord for further execution.
- Type: Anomaly
- Product: Splunk Enterprise, Splunk Enterprise Security, Splunk Cloud
- Datamodel: Endpoint
- Last Updated: 2022-01-19
- Author: Teoderick Contreras, Splunk
- ID: 4d4332ae-792c-11ec-89c1-acde48001122
Kill Chain Phase
- CIS 3
- CIS 5
- CIS 16
1 2 3 4 5 `sysmon` EventCode=22 QueryName IN ("*discord*") process_path != "*\\AppData\\Local\\Discord\\*" AND process_path != "*\\Program Files*" AND process_name != "discord.exe" | stats count min(_time) as firstTime max(_time) as lastTime by Image QueryName QueryStatus process_name QueryResults Computer process_path | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `suspicious_process_with_discord_dns_query_filter`
The SPL above uses the following Macros:
Note that suspicious_process_with_discord_dns_query_filter is a empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.
How To Implement
his detection relies on sysmon logs with the Event ID 22, DNS Query.
Known False Positives
Noise and false positive can be seen if the following instant messaging is allowed to use within corporate network. In this case, a filter is needed.
Associated Analytic story
|64.0||80||80||suspicious process $process_name$ has a dns query in $QueryName$ on $Computer$|
source | version: 1