2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: Regasm.exe
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Part of .NET
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
2021-01-10 16:04:52 +01:00
|
|
|
- Command: regasm.exe AllTheThingsx64.dll
|
2018-06-09 00:15:06 +02:00
|
|
|
Description: Loads the target .DLL file and executes the RegisterClass function.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Execute code and bypass Application whitelisting
|
|
|
|
Category: AWL bypass
|
2020-03-20 18:51:21 +01: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
|
2021-01-10 16:04:52 +01:00
|
|
|
- Command: regasm.exe /U AllTheThingsx64.dll
|
2020-03-20 18:51:21 +01:00
|
|
|
Description: Loads the target .DLL file and executes the UnRegisterClass function.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Execute code and bypass Application whitelisting
|
|
|
|
Category: Execute
|
|
|
|
Privileges: User
|
|
|
|
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\Microsoft.NET\Framework\v2.0.50727\regasm.exe
|
|
|
|
- Path: C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm.exe
|
|
|
|
- Path: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe
|
|
|
|
- Path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Code:
|
|
|
|
Detection:
|
|
|
|
- IOC: regasm.exe executing dll file
|
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-03-20 18:51:21 +01:00
|
|
|
---
|