338CD001-2244-31F1-AAAA-900038001003
regsvc.dll
(loads into)svchost.exe
- ncacn_np:
\PIPE\winreg
- Network:
- Methods:
BaseRegCreateKey
BaseRegQueryInfoKey
BaseRegSetValue
- Methods:
- Host:
- Inbound network connection to: System over
\pipe\winreg
- Registry key modifications
- Sysmon Event ID 12/13
- Native windows binary to interact with registry remotely: reg.exe (look for ADD/QUERY parameters)
- Process creation events
- Remote Registry Service start type changed
- Inbound network connection to: System over
- Turn off the remote registry service and disable it.
- Modify permissions on sensitive registry keys
RPC Filter Example:
rpc
filter
add rule layer=um actiontype=permit
add condition field=if_uuid matchtype=equal data=338CD001-2244-31F1-AAAA-900038001003
add condition field=remote_user_token matchtype=equal data=D:(A;;KA;;;DA)
add filter
add rule layer=um actiontype=block
add condition field=if_uuid matchtype=equal data=367ABB81-9844-35F1-AD32-98F038001003
add filter
quit
-
By default local administrators can start the remote registry service and interact with the registry remotely.
-
If remote registry is an operational need, create a group specific to this action. Apply changes to the registry/rpc filter.