name: Suspicious microsoft workflow compiler usage id: 9bbc62e8-55d8-11eb-ae93-0242ac130002 version: 2 date: '2021-01-12' author: Michael Haag, Splunk status: production type: TTP description: The following analytic identifies microsoft.workflow.compiler.exe usage. microsoft.workflow.compiler.exe is natively found in C:\Windows\Microsoft.NET\Framework64\v4.0.30319 and is rarely utilized. When investigating, identify the executed code on disk and review. It is not a commonly used process by many applications. data_source: - Sysmon Event ID 1 search: selection1: OriginalFileName: Microsoft.Workflow.Compiler.exe selection2: Image|endswith: microsoft.workflow.compiler.exe condition: (selection1 or selection2) how_to_implement: To successfully implement this search you need to be ingesting information on process that include the name of the process responsible for the changes from your endpoints into the `Endpoint` datamodel in the `Processes` node. In addition, confirm the latest CIM App 4.20 or higher is installed and the latest TA for the endpoint product. known_false_positives: Although unlikely, limited instances have been identified coming from native Microsoft utilities similar to SCCM. references: - https://lolbas-project.github.io/lolbas/Binaries/Msbuild/ - https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1218/T1218.md#atomic-test-6---microsoftworkflowcompilerexe-payload-execution tags: analytic_story: - Trusted Developer Utilities Proxy Execution - Living Off The Land asset_type: Endpoint confidence: 50 impact: 70 message: Suspicious microsoft.workflow.compiler.exe process ran on $dest$ by $user$ mitre_attack_id: - T1127 observable: - name: dest type: Endpoint role: - Victim - name: User type: User role: - Victim product: - Splunk Enterprise - Splunk Enterprise Security - Splunk Cloud risk_score: 35 security_domain: endpoint tests: - name: True Positive Test attack_data: - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1127/atomic_red_team/windows-sysmon.log source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational sourcetype: xmlwineventlog