PowerShell Add-Type Keylogging/Screen Capture Detection
Detects PowerShell using the Add-Type cmdlet to dynamically compile C# code referencing keylogging (SetWindowsHookEx) or screen capture (CopyFromScreen) APIs. This behavior is indicative of PS1Bot in-memory module execution.
Microsoft Sentinel (KQL)

