Nslookup PowerShell Download Cradle - ProcessCreation

testmedium
log source: windows · process_creationauthor Nasreddine Bencherchali (Nextron Systems)date 2022-09-05
01

description

What this is, in brief.

Detects suspicious powershell download cradle using nslookup. This cradle uses nslookup to extract payloads from DNS records

02

tags

attack.command-and-controlattack.t1071.004
03

rule source (YAML)

title: Nslookup PowerShell Download Cradle - ProcessCreation
id: 1b3b01c7-84e9-4072-86e5-fc285a41ff23
related:
    - id: 72671447-4352-4413-bb91-b85569687135
      type: obsolete
    - id: 999bff6d-dc15-44c9-9f5c-e1051bfc86e1
      type: similar
status: test
description: |
    Detects suspicious powershell download cradle using nslookup.
    This cradle uses nslookup to extract payloads from DNS records
references:
    - https://twitter.com/Alh4zr3d/status/1566489367232651264
author: Nasreddine Bencherchali (Nextron Systems)
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
04

detects techniques (1)

ATT&CK techniques this enables or maps to.

05

references

External citations — patches, advisories, analysis.