mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-30 16:54:00 +01:00
26 lines
953 B
Markdown
26 lines
953 B
Markdown
|
## Regasm.exe
|
||
|
* Functions: Execute
|
||
|
```
|
||
|
|
||
|
regasm.exe /U AllTheThingsx64.dll
|
||
|
Loads the target .DLL file and executes the UnRegisterClass function.
|
||
|
|
||
|
regasm.exe AllTheThingsx64.dll
|
||
|
Loads the target .DLL file and executes the RegisterClass function.
|
||
|
```
|
||
|
|
||
|
* Resources:
|
||
|
* https://pentestlab.blog/2017/05/19/applocker-bypass-regasm-and-regsvcs/
|
||
|
* https://github.com/redcanaryco/atomic-red-team/blob/master/Windows/Payloads/RegSvcsRegAsmBypass.cs
|
||
|
* https://github.com/redcanaryco/atomic-red-team/blob/master/Windows/Execution/RegsvcsRegasm.md
|
||
|
* https://oddvar.moe/2017/12/13/applocker-case-study-how-insecure-is-it-really-part-1/
|
||
|
|
||
|
* Full path:
|
||
|
* C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe
|
||
|
* C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm.exe
|
||
|
* C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
|
||
|
* C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe
|
||
|
|
||
|
* Notes: Thanks to Casey Smith - @subtee
|
||
|
|