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.

micsapp Updated 4 repo stars

File contents

micsapp/micstec-skills commit 62b31a319e

Frequently asked questions

npx get-skill add micsapp/analyzing-powershell-script-block-logging