2020-04-11 02:51:05 -06:00
|
|
|
title: PowerShell Create Local User
|
|
|
|
|
id: 243de76f-4725-4f2e-8225-a8a69b15ad61
|
2020-06-16 14:46:08 -06:00
|
|
|
status: experimental
|
2020-04-11 02:51:05 -06:00
|
|
|
description: Detects creation of a local user via PowerShell
|
|
|
|
|
references:
|
|
|
|
|
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1136/T1136.md
|
|
|
|
|
tags:
|
|
|
|
|
- attack.execution
|
2020-06-16 14:46:08 -06:00
|
|
|
- attack.t1059.001
|
2020-08-24 00:01:50 +00:00
|
|
|
- attack.t1086 # an old one
|
|
|
|
|
- attack.persistence
|
|
|
|
|
- attack.t1136.001
|
|
|
|
|
- attack.t1136 # an old one
|
2020-06-16 14:46:08 -06:00
|
|
|
author: '@ROxPinTeddy'
|
|
|
|
|
date: 2020/04/11
|
2021-10-16 08:18:49 +02:00
|
|
|
modified: 2021/10/16
|
2020-04-11 02:51:05 -06:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
2021-10-16 08:18:49 +02:00
|
|
|
category: ps_script
|
2021-08-21 09:58:58 +02:00
|
|
|
definition: Script block logging must be enabled
|
2020-04-11 02:51:05 -06:00
|
|
|
detection:
|
|
|
|
|
selection:
|
2021-08-04 14:49:50 +02:00
|
|
|
ScriptBlockText|contains: 'New-LocalUser'
|
2020-06-16 14:46:08 -06:00
|
|
|
condition: selection
|
2020-04-11 02:51:05 -06:00
|
|
|
falsepositives:
|
2020-06-16 14:46:08 -06:00
|
|
|
- Legitimate user creation
|
2020-04-14 13:37:10 +02:00
|
|
|
level: medium
|