From abb01cc26448f12e2ed86f7cedb962d03506831c Mon Sep 17 00:00:00 2001 From: Florian Roth Date: Sun, 9 Apr 2017 10:22:04 +0200 Subject: [PATCH] Rule: PowerShell credential prompt --- .../powershell_prompt_credentials.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 rules/windows/powershell/powershell_prompt_credentials.yml diff --git a/rules/windows/powershell/powershell_prompt_credentials.yml b/rules/windows/powershell/powershell_prompt_credentials.yml new file mode 100644 index 000000000..2e7a67629 --- /dev/null +++ b/rules/windows/powershell/powershell_prompt_credentials.yml @@ -0,0 +1,19 @@ +title: PowerShell Credential Prompt +status: experimental +description: Detects PowerShell calling a credential prompt +reference: + - https://twitter.com/JohnLaTwC/status/850381440629981184 + - https://t.co/ezOTGy1a1G +author: John Lambert (idea), Florian Roth (rule) +logsource: + product: windows + service: powershell + description: 'Script block logging must be enabled' +detection: + selection: + EventID: 4104 + keyword: 'PromptForCredential' + condition: selection and keyword +falsepositives: + - Unknown +level: high