Command Line
ilasm.exe C:\public\test.txt /exe
Description
Using ilasm to compile C# code directly to an EXE on a target machine (use /dll for DLL output)
Risk
Medium
Risk Reason
This type of activity is suspicious for the majority of users who are not developers but may be common for developer-type users.
Fidelity
Medium
Fidelity Reason
This is likely a rare activity for the majority of users in standard organizations.
Operating Systems
Killchain Phases
References
MITRE ATT&CK TECHNIQUES
URL: https://attack.mitre.org/techniques/T1127
Description: Adversaries may take advantage of trusted developer utilities to proxy execution of malicious payloads. There are many utilities used for software development related tasks that can be used to execute code in various forms to assist in development, debugging, and reverse engineering.(Citation: engima0x3 DNX Bypass)(Citation: engima0x3 RCSI Bypass)(Citation: Exploit Monday WinDbg)(Citation: LOLBAS Tracker) These utilities may often be signed with legitimate certificates that allow them to execute on a system and proxy execution of malicious code through a trusted process that effectively bypasses application control solutions.
Tactics: