- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-15-2023 07:53 AM
Hello Community,
I have a question concerning the CPM password change protocol used for handling Windows target account passwords and how this protocol is secured?
I know that CPM server uses Microsoft API commands (“NetUserChangePassword” for change and “NetUSerSetInfo” for reset (reconcile)) to connect, verify, change and reconcile passwords for Windows accounts.
What I know is that those commands make use of SMB on the target machines. Only the latest SMB versions that are available while transacting with the target Windows machine will be used (SMB 3.02 for 2012R2 Srv, SMB 3.3.3 for 2016 srv,….).
It seems that the “NetUserChangePassword” API function does not handle itself password sending encryption, this is done by the Remote Procedure Call (RPC) mechanism through Kerberos for encryption (“To keep data secure while it is in transit between sites, RPC over IP replication uses both authentication (with the Kerberos version 5 (V5) authentication protocol) and data encryption”).
Is there any documentation to explain this encryption mechanism?
Thanks in advance for your help on this 🙂 !
Didier
09-17-2023 09:15 AM
Hi @Didier D.,
I assume you are referring to the following article.
How does CPM manage Windows accounts / passwords
The CPM executes commands that exploit the APIs made available by the target (in this case Windows). I believe the information you are looking for can be found in the following Microsoft documentation links:
Nino
09-18-2023 02:16 AM
Hello @Antonino Bambino and thanks for the links!
I suppose RPC protocol is protected as described in the RFC 9289 (https://www.rfc-editor.org/rfc/rfc9289.pdf) but not sure... Is someone already get this information?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

