Suspicious Msbuild Execution By Unusual Parent Process (via process_creation)

This rule detects anomalous execution of 'Msbuild.exe' by a uncommon parent process

SigmamediumWindowsv1
sigma
title: Suspicious Msbuild Execution By Unusual Parent Process (via process_creation)
id: f2c6eeec-8254-5e12-9632-daddd6ed3666
status: stable
description: This rule detects anomalous execution of 'Msbuild.exe' by a uncommon parent process
references:
    - https://app.any.run/tasks/abdf586e-df0c-4d39-89a7-06bf24913401/
    - https://www.echotrail.io/insights/search/msbuild.exe
author: Huntrule Team
date: 2026-03-07
tags:
    - attack.stealth
    - attack.defense-evasion
    - attack.t1127.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\MSBuild.exe'
        - OriginalFileName: 'MSBuild.exe'
    filter_parent:
        ParentImage|endswith:
            - '\devenv.exe'
            - '\cmd.exe'
            - '\msbuild.exe'
            - '\python.exe'
            - '\explorer.exe'
            - '\nuget.exe'
    condition: selection and not filter_parent
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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