Possible Application Whitelisting Bypass through Dnx.EXE (via process_creation)
This rule detects the execution of Dnx.EXE. The Dnx utility enables for the execution of C# code. Attackers might misuse this to bypass application whitelisting.
SigmamediumWindowsv1
sigma
possible-application-whitelisting-bypass-through-dnx-exe-via-process-creation
title: Possible Application Whitelisting Bypass through Dnx.EXE (via process_creation)
id: dc9b7e26-0df0-51b1-b161-d4cb2cd85469
status: stable
description: This rule detects the execution of Dnx.EXE. The Dnx utility enables for the execution of C# code. Attackers might misuse this to bypass application whitelisting.
references:
- https://attack.mitre.org/techniques/T1027/004/
- https://attack.mitre.org/techniques/T1218/
- https://lolbas-project.github.io/lolbas/OtherMSBinaries/Csi/
- https://enigma0x3.net/2016/11/17/bypassing-application-whitelisting-by-using-dnx-exe/
author: Huntrule Team
date: 2026-01-11
tags:
- attack.stealth
- attack.t1218
- attack.t1027.004
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\dnx.exe'
condition: selection
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.