The Workflow Command-line Compiler tool is included with the Windows Software Development Kit (SDK). Located at: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\wfc.exe.
wfc wfc Sandbox: execFile · Timeout: 30s
security.defense-evasion.bypass Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Execute arbitrary C# code embedded in a XOML file. (Execute proxied payload with Microsoft signed binary to bypass WDAC policies)
wfc.exe {PATH_ABSOLUTE:.xoml} | Type | Rule / Indicator |
|---|---|
| blockrule | https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-block-rules |
| sigma | https://github.com/SigmaHQ/sigma/blob/6b34764215b0e97e32cbc4c6325fc933d2695c3a/rules/windows/process_creation/proc_creation_win_lolbin_wfc.yml |
| ioc | As a Windows SDK binary, execution on a system may be suspicious |
wfc is a Windows LOLBin. The Workflow Command-line Compiler tool is included with the Windows Software Development Kit (SDK). Located at: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\wfc.exe.