Suspicious Scan Loop Network (via process_creation)
This rule detects threat actors may attempt to get a listing of other systems by IP address, hostname, or other logical identifier on a network that may be used for Lateral Movement from the current system
SigmamediumWindowsv1
sigma
suspicious-scan-loop-network-via-process-creation
title: Suspicious Scan Loop Network (via process_creation)
id: cc4e2da5-e1b8-5820-95ba-cf9ac0795189
status: stable
description: This rule detects threat actors may attempt to get a listing of other systems by IP address, hostname, or other logical identifier on a network that may be used for Lateral Movement from the current system
references:
- https://attack.mitre.org/techniques/T1018/
- https://attack.mitre.org/techniques/T1059/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md
- https://ss64.com/nt/for.html
- https://ss64.com/ps/foreach-object.html
author: Huntrule Team
date: 2026-02-22
tags:
- attack.execution
- attack.t1059
- attack.discovery
- attack.t1018
logsource:
category: process_creation
product: windows
detection:
selection_loop:
CommandLine|contains:
- 'for '
- 'foreach '
selection_tools:
CommandLine|contains:
- 'nslookup'
- 'ping'
condition: all of selection_*
falsepositives:
- Unknown
level: medium
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.