2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: Regsvcs.exe
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Regsvcs and Regasm are Windows command-line utilities that are used to register .NET Component Object Model (COM) assemblies
|
|
|
|
Author: 'Oddvar Moe'
|
2018-06-09 00:15:06 +02:00
|
|
|
Created: '2018-05-25'
|
|
|
|
Commands:
|
|
|
|
- Command: regsvcs.exe AllTheThingsx64.dll
|
|
|
|
Description: Loads the target .DLL file and executes the RegisterClass function.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Execute dll file and bypass Application whitelisting
|
|
|
|
Category: Execute
|
2020-07-03 16:24:34 +02:00
|
|
|
Privileges: Local Admin
|
2018-09-24 21:59:43 +02:00
|
|
|
MitreID: T1121
|
|
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1121
|
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
|
|
|
- Command: regsvcs.exe AllTheThingsx64.dll
|
|
|
|
Description: Loads the target .DLL file and executes the RegisterClass function.
|
|
|
|
Usecase: Execute dll file and bypass Application whitelisting
|
|
|
|
Category: AWL bypass
|
2020-08-04 15:40:48 +02:00
|
|
|
Privileges: Local Admin
|
2018-09-24 21:59:43 +02:00
|
|
|
MitreID: T1121
|
|
|
|
MitreLink: https://attack.mitre.org/wiki/Technique/T1121
|
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\regsvcs.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\regsvcs.exe
|
2018-12-10 14:28:12 +01:00
|
|
|
Code_Sample:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Code:
|
|
|
|
Detection:
|
|
|
|
- IOC:
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Link: https://pentestlab.blog/2017/05/19/applocker-bypass-regasm-and-regsvcs/
|
|
|
|
- Link: https://oddvar.moe/2017/12/13/applocker-case-study-how-insecure-is-it-really-part-1/
|
|
|
|
- Link: https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1121/T1121.md
|
|
|
|
Acknowledgement:
|
|
|
|
- Person: Casey Smith
|
|
|
|
Handle: '@subtee'
|
2020-07-03 16:24:34 +02:00
|
|
|
---
|