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: 17/03/2020
Commands:
2020-03-17 11:05:14 +01:00
- Command: ilasm.exe C:\public\test.txt /exe
2020-03-17 02:04:20 +01:00
Description: Binary file used by .NET to compile c# code to .exe
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
MitreLink: https://attack.mitre.org/techniques/T1127/
OperatingSystem: Windows 10,7
2020-03-17 11:05:14 +01:00
- Command: ilasm.exe C:\public\test.txt /dll
2020-03-17 02:04:20 +01:00
Description: Binary file used by .NET to compile c# code to dll
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
MitreLink: https://attack.mitre.org/techniques/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
2020-03-17 02:04:20 +01:00
Code_Sample:
2020-03-17 11:05:14 +01:00
- Code:
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
---