Suspicious Msbuild Execution By Uncommon Parent Process
Detects suspicious execution of 'Msbuild.exe' by a uncommon parent process
Detection logic
selection
- Image|endswith: \MSBuild.exe
- OriginalFileName: MSBuild.exefilter_parent
ParentImage|endswith:
- \devenv.exe
- \cmd.exe
- \msbuild.exe
- \python.exe
- \explorer.exe
- \nuget.exeCondition
selection and not filter_parentRaw YAML
title: Suspicious Msbuild Execution By Uncommon Parent Process
id: 33be4333-2c6b-44f4-ae28-102cdbde0a31
status: test
description: Detects suspicious 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: frack113
date: 2022-11-17
tags:
- attack.stealth
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: mediumFalse positives
- Unknown
References
Similar rules
Abuse of Service Permissions to Hide Services Via Set-Service
highwindows · Same logsource category (process_creation)
Abusing Print Executable
mediumwindows · Same logsource category (process_creation)
AddinUtil.EXE Execution From Uncommon Directory
mediumwindows · Same logsource category (process_creation)
AgentExecutor PowerShell Execution
mediumwindows · Same logsource category (process_creation)