Skip to content

Repository files navigation

CyberArk.PSM.GenerateTOTPPreconnect

A PreConnect DLL for CyberArk's Privileged Session Manager that can be used to generate a TOTP. Tested on PSM version 12.2.

Building the DLL

Simply build the solution inside of Visual Studio 2022.

Using the Preconnect DLL

  1. Copy the PreConnect DLL to PSM/Components/.
  2. Add the LogonAccount capability to the Connection Component under Component Parameters > Target Settings > Supported Capabilities.
  3. Configure the connection component as described in the documentation. Use CyberArk.PSM.GenerateTOTPPreconnect.dll for the PreConnectDllName value and logonaccount_password for the PreConnectParameters value.
  4. Use &MfaCode& in the connection component's WebFormFields when you want to inject the TOTP.

About

A Preconnect DLL to generate TOTPs when the TOTP secret is stored as a linked logon account. Tested on version 12.2 of the Idira (formerly CyberArk) Privileged Session Manager.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages