dnx.exe
.NET Execution environment file included with .NET.
Full path
no defaultCommands
Local execution of C# project stored in consoleapp folder.
dnx.exe {PATH_ABSOLUTE:folder}Execute C# code located in the specified folder via ‘Program.cs’ and ‘Project.json’ (Note - Requires dependencies)
os: Windows
Detection
- Sigma https://github.com/SigmaHQ/sigma/blob/683b63f8184b93c9564c4310d10c571cbe367e1e/rules/windows/process_creation/proc_creation_win_lolbin_dnx.yml
- Elastic https://github.com/elastic/detection-rules/blob/414d32027632a49fb239abb8fbbb55d3fa8dd861/rules/windows/defense_evasion_unusual_process_network_connection.toml
- Elastic https://github.com/elastic/detection-rules/blob/414d32027632a49fb239abb8fbbb55d3fa8dd861/rules/windows/defense_evasion_network_connection_from_windows_binary.toml
- BlockRule https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-block-rules
Resources
acknowledgement: Matt Nelson @enigma0x3