CPM - How password change is secured through the network?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CPM - How password change is secured through the network?

L2 Linker

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

2 REPLIES 2

L6 Presenter

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

L2 Linker

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?

  • 552 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!