← All projects

Malware Analysis · Data Engineering

PowerShell Sandbox Telemetry Pipeline

Automated dynamic-analysis pipeline that executes PowerShell scripts inside an isolated VirtualBox Windows VM, records behaviour with Sysmon, and turns each run into one ML-ready sample combining static and runtime features.

Highlights

  • Executed 3,000+ real PowerShell malware samples (MalwareBazaar) in isolated Windows VMs
  • Snapshot restore after every sample; remote control via WinRM; VirtualBox/WinRM fallbacks
  • Sysmon events (process, file, network, registry) + script text, with PowerShell-engine noise filtering
  • One per-sample JSONL record linking static script features with aggregated telemetry

The data-collection half of my thesis. For every .ps1 file it restores a clean VM snapshot, executes the script under observation, captures Sysmon telemetry over a fixed window, exports it, and forms a single labelled JSONL sample that links the static script view with the behavioural one, traceable per sample.

The resulting dataset trains directly in the Fileless PowerShell Malware Detector.