LOLBAS/yml/OSBinaries/Ilasm.yml

35 lines
1.1 KiB
YAML
Raw Normal View History

2020-03-17 02:04:20 +01:00
---
2020-03-17 11:05:14 +01:00
Name: Ilasm.exe
2020-03-17 02:04:20 +01:00
Description: used for compile c# code into dll or exe.
Author: Hai vaknin (lux)
Created: 2020-03-17
2020-03-17 02:04:20 +01:00
Commands:
2020-03-17 11:05:14 +01:00
- Command: ilasm.exe C:\public\test.txt /exe
Description: Binary file used by .NET to compile C#/intermediate (IL) code to .exe
2020-03-17 02:04:20 +01:00
Usecase: Compile attacker code on system. Bypass defensive counter measures.
Category: Compile
2020-03-17 11:05:14 +01:00
Privileges: User
2020-03-17 02:04:20 +01:00
MitreID: T1127
OperatingSystem: Windows 10,7
2020-03-17 11:05:14 +01:00
- Command: ilasm.exe C:\public\test.txt /dll
Description: Binary file used by .NET to compile C#/intermediate (IL) code to dll
2020-03-17 02:04:20 +01:00
Usecase: A description of the usecase
Category: Compile
2020-03-17 11:05:14 +01:00
Privileges: User
2020-03-17 02:04:20 +01:00
MitreID: T1127
Full_Path:
2020-03-17 11:05:14 +01:00
- Path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ilasm.exe
- Path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ilasm.exe
Code_Sample:
- Code:
Detection:
- IOC: Ilasm may not be used often in production environments (such as on endpoints)
2020-03-17 11:05:14 +01:00
Resources:
- Link: https://github.com/LuxNoBulIshit/BeforeCompileBy-ilasm/blob/master/hello_world.txt
2020-03-17 02:04:20 +01:00
Acknowledgement:
2020-03-17 11:05:14 +01:00
- Person: Hai Vaknin(Lux)
Handle: '@VakninHai'
- Person: Lior Adar
Handle:
2020-03-17 02:04:20 +01:00
---