Automating security with PowerShell
summary
Shows how to enable PowerShell 5 invocation logging and how it records every command in the Windows PowerShell Operational log, then demos running mimikatz via PowerShell to prove credentials and the exact Invoke-Mimikatz command appear in events. Builds a simple character-frequency detector that scores obfuscated scripts (sample scores: 98% normal, 72% base64-encoded, 57% heavily obfuscated) and uses those detections plus event forwarding to automate defensive responses.
AI-written summary · about
