Files
blue-team-tools/rules/windows/process_creation/proc_creation_win_dnscmd_discovery.yml
T
2022-10-28 15:06:36 +02:00

39 lines
1.2 KiB
YAML

title: Discovery/Execution via dnscmd.exe
id: b6457d63-d2a2-4e29-859d-4e7affc153d1
status: experimental
description: |
Detects an attempt to add a potentially crafted DLL as a plug in of the DNS Service.
Detects an attempt to leverage dnscmd.exe to enumerate the DNS zones of a domain.
DNS zones used to host the DNS records for a particular domain
references:
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dnscmd
- https://docs.microsoft.com/en-us/azure/dns/dns-zones-records
- https://lolbas-project.github.io/lolbas/Binaries/Dnscmd/
author: '@gott_cyber'
date: 2022/07/31
modified: 2022/09/14
tags:
- attack.discovery
- attack.execution
- attack.t1543.003
logsource:
category: process_creation
product: windows
detection:
dnscmd:
Image|endswith: '\dnscmd.exe'
selection_1:
CommandLine|contains:
- '/enumrecords'
- '/enumzones'
- '/ZonePrint'
- '/info'
selection_2:
CommandLine|contains|all:
- '/config'
- '/serverlevelplugindll'
condition: dnscmd and 1 of selection_*
falsepositives:
- Legitimate administration use
level: medium