Detectionmediumtest
C# IL Code Compilation Via Ilasm.EXE
Detects the use of "Ilasm.EXE" in order to compile C# intermediate (IL) code to EXE or DLL.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
François Hubaut, Nasreddine Bencherchali (Nextron Systems)Created Sat May 07Updated Mon May 16850d55f9-6eeb-4492-ad69-a72338f65ba4windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic2 selectors
detection:
selection_img:
- Image|endswith: '\ilasm.exe'
- OriginalFileName: 'ilasm.exe'
selection_cli:
CommandLine|contains:
- ' /dll'
- ' /exe'
condition: all of selection_*False Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Rule Metadata
Rule ID
850d55f9-6eeb-4492-ad69-a72338f65ba4
Status
test
Level
medium
Type
Detection
Created
Sat May 07
Modified
Mon May 16
Path
rules/windows/process_creation/proc_creation_win_ilasm_il_code_compilation.yml
Raw Tags
attack.defense-evasionattack.t1127