HTB Academy: Windows Privilege Escalation DnsAdmins

I am having trouble with this section. I am OK until “clean-up”. I am trying to delete the registry key so that I can successfully restart the DNS service. However, when I try to either quiery or delete the key i get “ERROR: Access is denied.” The commands that I am using are reg query \[machineIP]\HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters and reg delete \[machineIP]\HKLM\SYSTEM\CurrentControlSet\Services\DNS\Parameters /v ServerLevelPluginDll

Same problem. jad2121 do you have any progress?

So you can finish the questions on the page without “clean up” by just following the rest of the directions on the page. That being said, I still can’t get this part to work

The main problem that I have is: despite I got to add my user to Domain Admins group I still have no access to the flag file. Neither have access to registry key. Do you have access to the flag file while for the registry key the permission is denied?

1 Like


How did you finish it. I also get access denied both for registry keys as well as for the flag.txt

I have same issue. But with .dll reverse shell it’s work properly.
Any body know why Domain Admins group dosnt work here?

For anyone stuck and looking for help on the conundrum of why you’re still not able to read the file despite the account being part of the Domain Admins group, consider whether there’s anything that often needs to be done before updated permissions take effect on Windows systems. The permissions WILL work, there is a (very small) step missing from the walkthrough.

1 Like

i need help with an hacker attack on me and my friends becasue he sayed that he will delete the discord platform and hes claiming that i work for him but i dont and he is a gerk so i really need help

can anyone help me if they can send me a private message

If anyone is stuck with this… logout and log back into the server. I think a gpupdate /force should work too…(as an alternative to login/logout)

1 Like