{"id":"81ebd28b-9607-4478-bf06-974ed9d53ed7","title":"Potential Application Whitelisting Bypass via Dnx.EXE","description":"Detects the execution of Dnx.EXE. The Dnx utility allows for the execution of C# code.\nAttackers might abuse this in order to bypass application whitelisting.\n","author":"Beyu Denis, oscd.community","status":"test","level":"medium","date":"2019-10-26","modified":"2024-04-24","tags":["attack.stealth","attack.t1218","attack.t1027.004"],"technique_ids":["T1027.004","T1218"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate use of dnx.exe by legitimate user"],"references":["https://lolbas-project.github.io/lolbas/OtherMSBinaries/Csi/","https://enigma0x3.net/2016/11/17/bypassing-application-whitelisting-by-using-dnx-exe/"],"source_path":"rules/windows/process_creation/proc_creation_win_dnx_execute_csharp_code.yml","source_sha256":"5dbe6e226a98a8ecf194ef25b934dec3f859539cfbb87d56c0a12a86196aa19b","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_dnx_execute_csharp_code.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential Application Whitelisting Bypass via Dnx.EXE\nid: 81ebd28b-9607-4478-bf06-974ed9d53ed7\nstatus: test\ndescription: |\n    Detects the execution of Dnx.EXE. The Dnx utility allows for the execution of C# code.\n    Attackers might abuse this in order to bypass application whitelisting.\nreferences:\n    - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Csi/\n    - https://enigma0x3.net/2016/11/17/bypassing-application-whitelisting-by-using-dnx-exe/\nauthor: Beyu Denis, oscd.community\ndate: 2019-10-26\nmodified: 2024-04-24\ntags:\n    - attack.stealth\n    - attack.t1218\n    - attack.t1027.004\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        Image|endswith: '\\dnx.exe'\n    condition: selection\nfalsepositives:\n    - Legitimate use of dnx.exe by legitimate user\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1027.004","id":"T1027.004","name":"Compile After Delivery","page":"techniques/enterprise/T1027.004/"},{"key":"enterprise/T1218","id":"T1218","name":"System Binary Proxy Execution","page":"techniques/enterprise/T1218/"}],"data_path":"data/detection-rules/81ebd28b-9607-4478-bf06-974ed9d53ed7.json","kind":"sigma"}
