2017-04-09 10:22:04 +02:00
|
|
|
title: PowerShell Credential Prompt
|
2019-11-12 23:12:27 +01:00
|
|
|
id: ca8b77a9-d499-4095-b793-5d5f330d450e
|
2017-04-09 10:22:04 +02:00
|
|
|
status: experimental
|
|
|
|
|
description: Detects PowerShell calling a credential prompt
|
2018-01-28 02:24:16 +03:00
|
|
|
references:
|
2017-04-09 10:22:04 +02:00
|
|
|
- https://twitter.com/JohnLaTwC/status/850381440629981184
|
|
|
|
|
- https://t.co/ezOTGy1a1G
|
2018-07-24 10:56:41 +02:00
|
|
|
tags:
|
2020-01-30 16:07:37 +01:00
|
|
|
- attack.credential_access
|
2020-08-24 00:01:50 +00:00
|
|
|
- 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
|
2017-04-09 10:22:04 +02:00
|
|
|
author: John Lambert (idea), Florian Roth (rule)
|
2020-01-30 16:07:37 +01:00
|
|
|
date: 2017/04/09
|
2021-08-04 14:49:50 +02:00
|
|
|
modified: 2021/08/04
|
2017-04-09 10:22:04 +02:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
|
|
|
|
service: powershell
|
2021-08-21 09:33:52 +02:00
|
|
|
definition: Script block logging must be enabled
|
2017-04-09 10:22:04 +02:00
|
|
|
detection:
|
|
|
|
|
selection:
|
|
|
|
|
EventID: 4104
|
2021-08-04 14:49:50 +02:00
|
|
|
ScriptBlockText|contains: 'PromptForCredential'
|
2021-08-21 09:33:52 +02:00
|
|
|
condition: selection
|
|
|
|
|
falsepositives:
|
2017-04-09 10:22:04 +02:00
|
|
|
- Unknown
|
|
|
|
|
level: high
|