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.

yanacuti1121 Updated 13 repo stars
Yana AI

File contents

yanacuti1121/Yana-AI commit 405137f102

Frequently asked questions

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