We are having some issues decrypting Support Info files on agents that have not yet registered with the tenant, how does the agent get the default encryption key?

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

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

We are having some issues decrypting Support Info files on agents that have not yet registered with the tenant, how does the agent get the default encryption key?

L0 Member

Because each set has a unique decryption key, the corresponding encryption key of the set we’re intending to register a new agent to must be included in the CyberArkEPMAgentSetupMacos.config or some other file included in the install package or it must get the encryption key when it registers with the tenant. The config file looks like it’s got a handful of keys in it, but based on the labels in the xml, they look more like the keys/certs to actually reach out and register with the cloud.

 

If that unique set encryption key is not included in the installation package, then the agent must get it after its first registration with the cloud where it can actually pull the key from the set’s agent configuration settings. If that’s the case, then a pre-registration client either has a hard-coded universal encryption key that all clients have by default prior to registration that it uses to encrypt the support info file or it just generates one for itself to have something to encrypt the support file with. With the former option, it is probably not ideal to publicly share the corresponding universal decryption key, but it must exist. With the latter option, it would be impossible to decrypt the support info file of a pre-registered EPM agent without some way to access that key. 

 

In our case, we have installed the agent, run the activation script successfully, but the agent isn't checking in to the tenant and we would like to gather the Support Info archive to see what is happening, but using the decrypt key for the set the agent is activated for isn't working. Am I doing something wrong or how can I get that Support Info file decrypted?

1 accepted solution

Accepted Solutions

L1 Bithead

Hi,

 

Thanks for the detailed question. The key point is that the Support Info password is provided to the agent by the server as part of the policies; it is not taken from the macOS installation package, and there is no separate customer-facing pre-registration key.

 

That means if an agent has never successfully connected to the tenant, it should not encrypt the Support Info archive at all; it should generate a regular ZIP file instead.

 

So if you are seeing an encrypted Support Info archive before the first successful check-in, the most likely explanation is that the machine had previously connected and already received policies, or that there are leftovers from an earlier installation on the endpoint.

 

In this case, I’d recommend performing a full uninstall and clean reinstall of the agent, then collecting Support Info again. On a freshly installed agent that has never connected, the expected result is a plain ZIP file.

 

If the endpoint still produces an encrypted archive after a clean reinstall and before the first successful registration, the next step would be to open a CyberArk Support case so the specific machine state can be reviewed.

 

For reference, the public documentation describes the standard Support Info decryption flow for agents that already have the configured Support Info password.

 

Best Regards,

Roey Aharon

View solution in original post

1 REPLY 1

L1 Bithead

Hi,

 

Thanks for the detailed question. The key point is that the Support Info password is provided to the agent by the server as part of the policies; it is not taken from the macOS installation package, and there is no separate customer-facing pre-registration key.

 

That means if an agent has never successfully connected to the tenant, it should not encrypt the Support Info archive at all; it should generate a regular ZIP file instead.

 

So if you are seeing an encrypted Support Info archive before the first successful check-in, the most likely explanation is that the machine had previously connected and already received policies, or that there are leftovers from an earlier installation on the endpoint.

 

In this case, I’d recommend performing a full uninstall and clean reinstall of the agent, then collecting Support Info again. On a freshly installed agent that has never connected, the expected result is a plain ZIP file.

 

If the endpoint still produces an encrypted archive after a clean reinstall and before the first successful registration, the next step would be to open a CyberArk Support case so the specific machine state can be reviewed.

 

For reference, the public documentation describes the standard Support Info decryption flow for agents that already have the configured Support Info password.

 

Best Regards,

Roey Aharon

  • 1 accepted solution
  • 64 Views
  • 1 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!