Windows: Suspicious Msbuild.exe execution from uncommon parent process

Alerts when Msbuild.exe runs under an unexpected parent process on Windows.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
frack113 (SigmaHQ), DRL 1.1
Published
2022-11-17
Updated
2026-07-30

What it detects

This rule flags process creation events where Msbuild.exe is launched by a parent process that is not in a small allowlist (e.g., devenv.exe, cmd.exe, msbuild.exe, python.exe, explorer.exe, nuget.exe). Attackers often use build tooling like Msbuild to execute code while blending in with legitimate software activity, so unexpected parent-child relationships are a useful indicator. It relies on Windows process creation telemetry including the child image name and the parent image path.

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.