Sigma rule: Suspicious Scan Loop Network
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-bba73eb5ea33, updated 2022-03-12T00:00:00.000Z.
Rule
- Title
- Suspicious Scan Loop Network
- Status
- test
- Level
- medium
- Author
- frack113
- Date
- 2022-03-12
- File
- rules/windows/process_creation/proc_creation_win_susp_network_scan_loop.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Adversaries 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
Log source
- product
- windows
- category
- process_creation
Detection
selection_loop:
CommandLine|contains:
- 'for '
- 'foreach '
selection_tools:
CommandLine|contains:
- 'nslookup'
- 'ping'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate script
Tags
- attack.execution
- attack.t1059
- attack.discovery
- attack.t1018
MITRE ATT&CK ids this rule names
References
- 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
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_network_scan_loop.yml
Sources and licences
SigmaHQ
"Suspicious Scan Loop Network" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_network_scan_loop.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious Scan Loop Network",
entity page, dataset version ref-bba73eb5ea33, updated 2022-03-12T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f8ad2e2c-40b6-4117-84d7-20b89896ab23 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f8ad2e2c-40b6-4117-84d7-20b89896ab23, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.