Files
blue-team-tools/rules/windows/powershell/powershell_script/posh_ps_enable_psremoting.yml
T

24 lines
982 B
YAML
Raw Normal View History

2022-01-08 09:17:56 +01:00
title: Enable Windows Remote Management
id: 991a9744-f2f0-44f2-bd33-9092eba17dc3
2023-01-27 06:48:34 +01:00
status: test
description: Adversaries may use Valid Accounts to interact with remote systems using Windows Remote Management (WinRM). The adversary may then perform actions as the logged-on user.
2022-01-08 09:17:56 +01:00
references:
2022-07-11 14:11:53 +01:00
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1021.006/T1021.006.md#atomic-test-1---enable-windows-remote-management
- https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.2
2022-01-08 09:17:56 +01:00
author: frack113
date: 2022-01-07
2022-10-26 09:43:39 +02:00
tags:
- attack.lateral-movement
2022-10-26 09:43:39 +02:00
- attack.t1021.006
2022-01-08 09:17:56 +01:00
logsource:
product: windows
category: ps_script
2023-01-04 17:49:32 +01:00
definition: 'Requirements: Script Block Logging must be enabled'
2022-01-08 09:17:56 +01:00
detection:
selection_cmdlet:
ScriptBlockText|contains: 'Enable-PSRemoting '
condition: selection_cmdlet
falsepositives:
2022-03-16 14:39:23 +01:00
- Legitimate script
2022-01-08 09:17:56 +01:00
level: medium