PowerShell Credential Prompt
Detects PowerShell calling a credential prompt
Detection logic
selection
ScriptBlockText|contains: PromptForCredentialCondition
selectionRaw YAML
title: PowerShell Credential Prompt
id: ca8b77a9-d499-4095-b793-5d5f330d450e
status: test
description: Detects PowerShell calling a credential prompt
references:
- https://twitter.com/JohnLaTwC/status/850381440629981184
- https://t.co/ezOTGy1a1G
author: John Lambert (idea), Florian Roth (Nextron Systems)
date: 2017-04-09
modified: 2022-12-25
tags:
- attack.credential-access
- attack.execution
- attack.t1059.001
logsource:
product: windows
category: ps_script
definition: 'Requirements: Script Block Logging must be enabled'
detection:
selection:
ScriptBlockText|contains: 'PromptForCredential'
condition: selection
falsepositives:
- Unknown
level: highFalse positives
- Unknown
References
Similar rules
Change PowerShell Policies to an Insecure Level - PowerShell
mediumwindows · Shares T1059
DSInternals Suspicious PowerShell Cmdlets - ScriptBlock
highwindows · Shares T1059
Import PowerShell Modules From Suspicious Directories
mediumwindows · Shares T1059
Invoke-Obfuscation CLIP+ Launcher - PowerShell
highwindows · Shares T1059