Skip to content
Threat Feed
medium advisory

Suspicious Microsoft Workflow Compiler Proxy Execution

The Microsoft Workflow Compiler (microsoft.workflow.compiler.exe) is being abused as a living-off-the-land technique to execute arbitrary code or maintain persistence via proxy execution.

Microsoft.Workflow.Compiler.exe is a legitimate component of the .NET Framework, typically located within the C:\Windows\Microsoft.NET\Framework64\v4.0.30319 directory. Because this executable is rarely utilized in standard administrative or user workflows, it has become a target for adversaries seeking to bypass security controls. By leveraging this trusted utility, attackers can perform proxy execution to launch arbitrary code or establish persistence mechanisms, effectively blending in with legitimate system activity. Defenders should monitor for any execution of this binary, as standard environments rarely require its use, making it a high-fidelity indicator of potential Living off the Land (LotL) activity.

Attack Chain

  1. Attacker drops an arbitrary payload or malicious workflow definition file onto the target system.
  2. Attacker identifies the location of the legitimate Microsoft.Workflow.Compiler.exe binary.
  3. Attacker executes microsoft.workflow.compiler.exe via command line or automated script.
  4. The binary is invoked to compile and execute the malicious workflow or linked payload.
  5. The compiler executes the arbitrary code as a child process or in the context of the compiler.
  6. Persistence or secondary stage execution is established on the host.

Impact

Successful exploitation allows for arbitrary code execution within a trusted process context, facilitating defense evasion, persistence, and potential escalation of privileges. While specific victim counts are not provided, this technique is used across various sectors to minimize the forensic footprint of malicious operations on Windows endpoints.

Recommendation

  1. Deploy the Sigma rules below to monitor for any process execution of microsoft.workflow.compiler.exe.
  2. Enable Sysmon Event ID 1 (Process Creation) or Windows Event ID 4688 to capture the full command-line arguments used during execution.
  3. Alert on any occurrence of this binary and perform baseline analysis to rule out legitimate administrative activity, such as specific SCCM-related tasks.

Immediate actions

Deploy Sigma detection rule to SIEM

Detection Engineering 24h

Threat Hunt

Search historic process logs for microsoft.workflow.compiler.exe

T1127 high high confidence hunt now

Data: Process execution logs

Mitigations

Restrict execution permissions for the compiler binary to authorized service accounts only

medium_term IT Operations

Proxy execution via T1127

Detection coverage 1

Detect Suspicious Microsoft Workflow Compiler Execution

medium

Detects execution of microsoft.workflow.compiler.exe, which is rarely used and often abused for proxy execution.

sigma tactics: defense_evasion techniques: T1127 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →