EXPLORE
← Back to Explore
sigmahighHunting

PowerShell Credential Prompt

Detects PowerShell calling a credential prompt

MITRE ATT&CK

credential-accessexecution

Detection Query

selection:
  ScriptBlockText|contains: PromptForCredential
condition: selection

Author

John Lambert (idea), Florian Roth (Nextron Systems)

Created

2017-04-09

Data Sources

windowsps_script

Platforms

windows

Tags

attack.credential-accessattack.executionattack.t1059.001
Raw Content
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: high