Powershell Keylogging
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Adversaries may log user keystrokes to intercept credentials as the user types them.
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "PowerShell Script Block Logged" AND SCRIPTEXECUTED contains "Get-Keystrokes" OR (SCRIPTEXECUTED contains "Get-ProcAddress user32.dll GetAsyncKeyState" AND SCRIPTEXECUTED contains "Get-ProcAddress user32.dll GetForegroundWindow") select Action1.HOSTNAME,Action1.MESSAGE,Action1.SCRIPTEXECUTED
Detection
Execution Mode
realtime
Log Sources
Windows
Author
frack113


