SigmaHQ/rules/windows/powershell/powershell_suspicious_recon.yml

30 lines
881 B
YAML
Raw Normal View History

2021-07-30 06:20:51 +00:00
title: Recon Information for Export with PowerShell
id: a9723fcc-881c-424c-8709-fd61442ab3c3
status: experimental
author: frack113
date: 2021/07/30
description: Once established within a system or network, an adversary may use automated techniques for collecting internal data
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1119/T1119.md
tags:
- attack.collection
- attack.t1119
logsource:
product: windows
service: powershell
2021-08-21 07:50:59 +00:00
definition: Script block logging must be enabled
2021-07-30 06:20:51 +00:00
detection:
selection_eventid:
EventID: 4104
selection_action:
ScriptBlockText|contains:
- 'Get-Service '
- 'Get-ChildItem '
- 'Get-Process '
selection_redirect:
ScriptBlockText|contains: '> $env:TEMP\'
condition: all of them
falsepositives:
- Unknown
level: medium