Analyzing Powershell Script Block Logging

Parse Windows PowerShell Script Block Logs (Event ID 4104) from EVTX files to detect obfuscated commands, encoded payloads, and living-off-the-land techniques. Uses python-evtx to extract and reconstruct multi-block scripts, applies entropy analysis and pattern matching for Base64-encoded commands, Invoke-Expression abuse, download cradles, and AMSI bypass attempts.

Mikaru0Mystic Updated

File contents

Mikaru0Mystic/sectinel/tree/main/arsenal/Anthropic-Cybersecurity-Skills/skills/analyzing-powershell-script-block-logging commit 15a7ce4fa2

Frequently asked questions

npx skillmds@latest add mikaru0mystic/analyzing-powershell-script-block-logging