Windows PowerShell Download Cradle Using nslookup TXT Queries (Process Creation)
Flags PowerShell spawning nslookup configured to query DNS TXT records as a download cradle.
- Product
- windows
- Category
- process_creation
- Author
- Nasreddine Bencherchali (Nextron Systems) (SigmaHQ), DRL 1.1
- Published
- 2022-09-05
- Updated
- 2026-10-14
ATT&CK techniques
C2Recon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
Exfiltration
Impact
What it detects
Identifies Windows processes where PowerShell (powershell.exe or pwsh.exe) launches a command using nslookup.exe to perform TXT-record queries (e.g., -q=txt / -querytype=txt / -type=txt). This behavior matters because DNS TXT lookups are commonly used to retrieve or stage payload data via command-and-control channels. The detection relies on process creation telemetry, matching the parent process image and the nslookup command-line parameters.
Reporting behind it
Changelog
v3- v3Candidate ingested via manual entry.2026-10-14
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: Windows PowerShell Download Cradle Using nslookup TXT Queries (Process Creation)
id: f34be208-c22a-4de7-adf2-92b737f3a78a
related:
- id: 72671447-4352-4413-bb91-b85569687135
type: obsolete
- id: 999bff6d-dc15-44c9-9f5c-e1051bfc86e1
type: similar
- id: 1b3b01c7-84e9-4072-86e5-fc285a41ff23
type: derived
status: test
description: Identifies Windows processes where PowerShell (powershell.exe or pwsh.exe) launches a command using nslookup.exe to perform TXT-record queries (e.g., -q=txt / -querytype=txt / -type=txt). This behavior matters because DNS TXT lookups are commonly used to retrieve or stage payload data via command-and-control channels. The detection relies on process creation telemetry, matching the parent process image and the nslookup command-line parameters.
references:
- https://twitter.com/Alh4zr3d/status/1566489367232651264
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_nslookup_poweshell_download.yml
author: Nasreddine Bencherchali (Nextron Systems), Huntrule Team
date: 2022-09-05
modified: 2026-10-13
tags:
- attack.command-and-control
- attack.t1071.004
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: \nslookup.exe
- OriginalFileName: nslookup.exe
selection_cmd:
ParentImage|endswith:
- \powershell.exe
- \pwsh.exe
CommandLine|contains:
- " -q=txt "
- " -querytype=txt "
- " -type=txt"
condition: all of selection_*
falsepositives:
- Unknown
level: medium
license: DRL-1.1