.. / Regsvcs.exe
Star

Regsvcs and Regasm are Windows command-line utilities that are used to register .NET Component Object Model (COM) assemblies


Paths:


Resources:
https://pentestlab.blog/2017/05/19/applocker-bypass-regasm-and-regsvcs/
https://oddvar.moe/2017/12/13/applocker-case-study-how-insecure-is-it-really-part-1/
https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1121/T1121.md

Acknowledgement:
Casey Smith - @subtee


Detection:



Execute

Loads the target .DLL file and executes the RegisterClass function.
regsvcs.exe AllTheThingsx64.dll
Usecase:Execute dll file and bypass Application whitelisting
Privileges required:User
OS:Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
Mitre:T1121



AWL bypass

Loads the target .DLL file and executes the RegisterClass function.
regsvcs.exe AllTheThingsx64.dll
Usecase:Execute dll file and bypass Application whitelisting
Privileges required:User
OS:Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
Mitre:T1121