used for compile c# code into dll or exe. Located at: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exe; C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe.
ilasm ilasm Sandbox: execFile · Timeout: 30s
build.compile.code Outputs
process.output Command execution output
process_spawn Produces
process.output| Resource | Value |
|---|---|
| CPU | low |
| Memory | 16 MB |
| Network | low |
| Disk I/O | low |
Binary file used by .NET to compile C#/intermediate (IL) code to .exe (Compile attacker code on system. Bypass defensive counter measures.)
ilasm.exe {PATH_ABSOLUTE:.txt} /exe Binary file used by .NET to compile C#/intermediate (IL) code to dll (A description of the usecase)
ilasm.exe {PATH_ABSOLUTE:.txt} /dll | Type | Rule / Indicator |
|---|---|
| ioc | Ilasm may not be used often in production environments (such as on endpoints) |
| sigma | https://github.com/SigmaHQ/sigma/blob/bea6f18d350d9c9fdc067f93dde0e9b11cc22dc2/rules/windows/process_creation/proc_creation_win_lolbin_ilasm.yml |
ilasm is a Windows LOLBin. used for compile c# code into dll or exe. Located at: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exe; C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe.