Detectionhightest
PowerShell Credential Prompt
Detects PowerShell calling a credential prompt
John Lambert, Florian Roth (Nextron Systems)Created 2017-04-09Updated 2022-12-25ca8b77a9-d499-4095-b793-5d5f330d450ewindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enabled
Detection Logic
Detection Logic1 selector
detection:
selection:
ScriptBlockText|contains: 'PromptForCredential'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Sub-techniques
Rule Metadata
Rule ID
ca8b77a9-d499-4095-b793-5d5f330d450e
Status
test
Level
high
Type
Detection
Created
2017-04-09
Modified
2022-12-25
Path
rules/windows/powershell/powershell_script/posh_ps_prompt_credentials.yml
Raw Tags
attack.credential-accessattack.executionattack.t1059.001