2020-10-17 23:16:11 +00:00
|
|
|
action: global
|
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
|
2020-10-17 23:16:11 +00:00
|
|
|
tags:
|
2020-10-07 13:18:38 +00:00
|
|
|
- attack.execution
|
|
|
|
- attack.t1569.002
|
|
|
|
detection:
|
2020-10-17 23:16:11 +00:00
|
|
|
powershell_as_service:
|
|
|
|
ServiceFileName|contains:
|
|
|
|
- 'powershell'
|
|
|
|
- 'pwsh'
|
|
|
|
condition: service_creation and powershell_as_service
|
2020-10-07 13:18:38 +00:00
|
|
|
falsepositives: Unknown
|
2020-10-12 15:23:06 +00:00
|
|
|
level: high
|
2020-10-17 23:16:11 +00:00
|
|
|
---
|
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: system
|
|
|
|
detection:
|
|
|
|
service_creation:
|
|
|
|
EventID: 7045
|
|
|
|
---
|
2020-10-17 23:32:07 +00:00
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: sysmon
|
|
|
|
detection:
|
|
|
|
service_creation:
|
|
|
|
EventID: 6
|
|
|
|
---
|
2020-10-17 23:16:11 +00:00
|
|
|
logsource:
|
|
|
|
product: windows
|
|
|
|
service: security
|
|
|
|
detection:
|
|
|
|
service_creation:
|
|
|
|
EventID: 4697
|