How is it possible to set a windows account password directly by the password hash?

Posted by RMP_Official@reddit | sysadmin | View on Reddit | 29 comments

I tried almost all tools, nothing gives a possibility of changing an account's password directly by a hash, I found some interesting forks of Impacket on github with the possibility to do it with RPC but it gave me an rpc\_s\_access\_denied error even when I launched the script with SYSTEM privileges with the TrustedInstaller's token. I tried to understand the main logic of dumping the hashes but when i tried to reverse the logic it did'nt work. I think im doing something wrong and wanted to ask if someone knows a way to change an user account password directly by the hash, especially by having only the SAM and SYSTEM files.