Sigma Rule Library

DNS RCE CVE-2020-1350

Detects exploitation of DNS RCE bug reported in CVE-2020-1350 by the detection of suspicious sub process

View on GitHubOpen raw file

Detection logic

selection

ParentImage|endswith: \System32\dns.exe

filter

Image|endswith:
  - \System32\werfault.exe
  - \System32\conhost.exe
  - \System32\dnscmd.exe
  - \System32\dns.exe

Condition

selection and not filter

Raw YAML

title: DNS RCE CVE-2020-1350
id: b5281f31-f9cc-4d0d-95d0-45b91c45b487
status: test
description: Detects exploitation of DNS RCE bug reported in CVE-2020-1350 by the detection of suspicious sub process
references:
    - https://research.checkpoint.com/2020/resolving-your-way-into-domain-admin-exploiting-a-17-year-old-bug-in-windows-dns-servers/
    - https://web.archive.org/web/20230329172447/https://blog.menasec.net/2019/02/threat-hunting-24-microsoft-windows-dns.html
author: Florian Roth (Nextron Systems)
date: 2020-07-15
modified: 2022-07-12
tags:
    - attack.initial-access
    - attack.t1190
    - attack.execution
    - attack.t1569.002
    - cve.2020-1350
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\System32\dns.exe'
    filter:
        Image|endswith:
            - '\System32\werfault.exe'
            - '\System32\conhost.exe'
            - '\System32\dnscmd.exe'
            - '\System32\dns.exe'
    condition: selection and not filter
falsepositives:
    - Unknown but benign sub processes of the Windows DNS service dns.exe
level: critical

False positives

  • Unknown but benign sub processes of the Windows DNS service dns.exe

References

Similar rules