Windows adidnsdump Execution via python.exe

Detects python.exe running adidnsdump, a DNS-record enumeration tool used for internal AD recon.

FreeUnreviewedSigmalowv1
title: Windows adidnsdump Execution via python.exe
id: c1bb5208-cb6e-42ce-b445-820847de5233
status: test
description: This rule flags process executions where python.exe is used to run a command line containing adidnsdump. Adidnsdump is used to enumerate or export DNS records, which can support reconnaissance of internal Active Directory integrated DNS. The detection relies on process creation telemetry including the image path and command line string contents.
references:
  - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md#atomic-test-9---remote-system-discovery---adidnsdump
  - https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_python_adidnsdump.yml
author: frack113, Huntrule Team
date: 2022-01-01
modified: 2023-02-21
tags:
  - attack.discovery
  - attack.t1018
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    Image|endswith: \python.exe
    CommandLine|contains: adidnsdump
  condition: selection
falsepositives:
  - Unknown
level: low
license: DRL-1.1
related:
  - id: 26d3f0a2-f514-4a3f-a8a7-e7e48a8d9160
    type: derived

What it detects

This rule flags process executions where python.exe is used to run a command line containing adidnsdump. Adidnsdump is used to enumerate or export DNS records, which can support reconnaissance of internal Active Directory integrated DNS. The detection relies on process creation telemetry including the image path and command line string contents.

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.