title: Application Whitelisting Bypass via Dnx.exe
id: 81ebd28b-9607-4478-bf06-974ed9d53ed7
status: test
description: Execute C# code located in the consoleapp folder
author: Beyu Denis, oscd.community
references:
  - https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OtherMSBinaries/Csi.yml
  - https://enigma0x3.net/2016/11/17/bypassing-application-whitelisting-by-using-dnx-exe/
date: 2019/10/26
modified: 2021/11/27
logsource:
  category: process_creation
  product: windows
detection:
  selection:
    Image|endswith: '\dnx.exe'
  condition: selection
falsepositives:
  - Legitimate use of dnx.exe by legitimate user
level: medium
tags:
  - attack.defense_evasion
  - attack.t1218
  - attack.t1027.004
