windows enabled community low v1.0.0

ilasm

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.

📋 Live Preview
ilasm
ilasm

Sandbox: execFile · Timeout: 30s

Capabilities

build.compile.code

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

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

Detection

TypeRule / 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

Documentation

ilasm

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.

References