2020-10-07 13:18:38 +00:00
|
|
|
title: PowerShell Scripts Installed as Services
|
2020-10-12 15:23:06 +00:00
|
|
|
id: a2e5019d-a658-4c6a-92bf-7197b54e2cae
|
2020-10-07 13:18:38 +00:00
|
|
|
description: Detects powershell script installed as a Service
|
|
|
|
status: experimental
|
|
|
|
author: oscd.community, Natalia Shornikova
|
|
|
|
date: 2020/10/06
|
|
|
|
references:
|
|
|
|
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse
|
|
|
|
tag:
|
|
|
|
- attack.execution
|
|
|
|
- attack.t1569.002
|
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
detection:
|
2020-10-12 15:23:06 +00:00
|
|
|
selection1:
|
2020-10-07 13:18:38 +00:00
|
|
|
EventID:
|
|
|
|
- 7045
|
|
|
|
- 4697
|
|
|
|
ServiceFileName|contains:
|
|
|
|
- 'powershell'
|
|
|
|
- 'pwsh'
|
2020-10-12 15:23:06 +00:00
|
|
|
selection2:
|
2020-10-07 13:18:38 +00:00
|
|
|
EventID: 13
|
|
|
|
TargetObject: '*\Services\*\ImagePath'
|
|
|
|
Details|contains:
|
|
|
|
- 'powershell'
|
|
|
|
- 'pwsh'
|
2020-10-12 15:23:06 +00:00
|
|
|
condition: selection1 or selection2
|
2020-10-07 13:18:38 +00:00
|
|
|
falsepositives: Unknown
|
2020-10-12 15:23:06 +00:00
|
|
|
level: high
|