Maintenance in progress: we are indexing a large batch of new skills. Some pages may load slowly or briefly show no results. Nothing is lost, and everything is back to normal within the hour.

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.

thedixitjain 13414e2 4 files · 23.2 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/engineering-core/analyzing-powershell-script-block-logging commit 13414e2135

Frequently asked questions

npx skillmds add thedixitjain/analyzing-powershell-script-block-logging