Detectionhightest

PowerShell Credential Prompt

Detects PowerShell calling a credential prompt

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
John Lambert, Florian Roth (Nextron Systems)Created Sun Apr 09Updated Sun Dec 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: selection
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
ca8b77a9-d499-4095-b793-5d5f330d450e
Status
test
Level
high
Type
Detection
Created
Sun Apr 09
Modified
Sun Dec 25
Path
rules/windows/powershell/powershell_script/posh_ps_prompt_credentials.yml
Raw Tags
attack.credential-accessattack.executionattack.t1059.001
View on GitHub