01 / TRADECRAFT
2 examplesCommand reference
Compile2
EXAMPLE 01T1127
Binary file used by .NET to compile C#/intermediate (IL) code to .exe
COMMAND
ilasm.exe {PATH_ABSOLUTE:.txt} /exeEXAMPLE 02T1127
Binary file used by .NET to compile C#/intermediate (IL) code to dll
COMMAND
ilasm.exe {PATH_ABSOLUTE:.txt} /dll02 / ON DISK
Known paths
C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exeC:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe03 / DEFENSIVE INTELLIGENCE
1 resourcesDetection & indicators
Indicators & detection notes
- IOC
Ilasm may not be used often in production environments (such as on endpoints)
FURTHER READING
Research & resources
COMMUNITY RESEARCH
Acknowledgements
Hai Vaknin(Lux)@VakninHai
Lior Adar