mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-27 07:18:05 +01:00
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
|
---
|
||
|
Name: pnputil.exe
|
||
|
Description: used for Install drivers.
|
||
|
Author: Hai vaknin (lux)
|
||
|
Created: 25/12/2020
|
||
|
Commands:
|
||
|
- Command:
|
||
|
pnputil.exe -i -a C:\Users\hai\Desktop\mo.inf
|
||
|
Description: Binary file used by .NET to compile c# code to .exe
|
||
|
Usecase: Compile attacker code on system. Bypass defensive counter measures.
|
||
|
Category: Execution
|
||
|
Privileges required:Administrator
|
||
|
MitreID: T1127
|
||
|
MitreLink: https://attack.mitre.org/techniques/T1127/
|
||
|
OperatingSystem: Windows 10,7
|
||
|
- Command: ilasm.exe C:\Users\חי\Desktop\test.txt /dll
|
||
|
Description: Binary file used by .NET to compile c# code to dll
|
||
|
Usecase: A description of the usecase
|
||
|
Category: Compile
|
||
|
Privileges required:User
|
||
|
MitreID: T1127
|
||
|
MitreLink: https://attack.mitre.org/techniques/T1127/
|
||
|
|
||
|
Full_Path:
|
||
|
- Path:
|
||
|
C:\Windows\System32\PnPUtil.exe
|
||
|
Code_Sample:
|
||
|
https://github.com/LuxNoBulIshit/test.inf/blob/main/inf
|
||
|
|
||
|
Code:
|
||
|
1.pnputil.exe -i -a C:\Users\hai\Desktop\mo.inf
|
||
|
Acknowledgement:
|
||
|
- Person:
|
||
|
Hai Vaknin(Lux) https://github.com/LuxNoBulIshit
|
||
|
Avihay Eldad
|
||
|
AlonEliassaf http://github.com/aloneliassaf
|
||
|
|
||
|
|
||
|
---
|