Possible Recon Information for Export with PowerShell (via ps_script)
This rule detects once established within a system or network, an adversary may use automated methods for collecting internal data
SigmamediumWindowsv1
sigma
possible-recon-information-for-export-with-powershell-via-ps-script
title: Possible Recon Information for Export with PowerShell (via ps_script)
id: 7b2c198f-12e7-5278-8873-89feb8f14e2b
status: stable
description: This rule detects once established within a system or network, an adversary may use automated methods for collecting internal data
references:
- https://attack.mitre.org/techniques/T1119/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1119/T1119.md
author: Huntrule Team
date: 2026-03-01
tags:
- attack.collection
- attack.t1119
logsource:
product: windows
category: ps_script
definition: 'Requirements: Script Block Logging must be enabled'
detection:
selection_action:
ScriptBlockText|contains:
- 'Get-Service '
- 'Get-ChildItem '
- 'Get-Process '
selection_redirect:
ScriptBlockText|contains: '> $env:TEMP\'
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.