Hello!
Assumig one kernel module is creating reg key with ZwCreateKey, but just after that it is creating security_descriptor with following parameters:
BYTE Revision =1 ;
SECURITY_DESCRIPTOR_CONTROL Control = 4 (DACL_PRESENT)
PSID Owner = 0
PSID Group = 0
PACL Sacl = 0
PACL Dacl = 0
and sets security descriptor for reg key handle with ZwSetSecurityDescriptor().
Is it possible to delete this key with another kernel module?
Do you thnink using here ZwOpenProcessToken() to take token of current process, then ZwAdjustPrivilagesToken with restore priviledge and then trying to remove key could solve the problem? I read somewhere that it is one of the ways to bypass DACLs?
Thanks a lot for help!
Assumig one kernel module is creating reg key with ZwCreateKey, but just after that it is creating security_descriptor with following parameters:
BYTE Revision =1 ;
SECURITY_DESCRIPTOR_CONTROL Control = 4 (DACL_PRESENT)
PSID Owner = 0
PSID Group = 0
PACL Sacl = 0
PACL Dacl = 0
and sets security descriptor for reg key handle with ZwSetSecurityDescriptor().
Is it possible to delete this key with another kernel module?
Do you thnink using here ZwOpenProcessToken() to take token of current process, then ZwAdjustPrivilagesToken with restore priviledge and then trying to remove key could solve the problem? I read somewhere that it is one of the ways to bypass DACLs?
Thanks a lot for help!