Support
Scan Agents

Configuring internal agents for secrets management services

This document is for:
Invicti Enterprise On-Demand, Invicti Enterprise On-Premises

Invicti Enterprise internal agents can connect with secrets and encryption management services such as CyberArk or HashiCorp to centrally manage privileged account identities. These services protect critical systems, prevent unauthorized access, and secure credentials across on-premises, hybrid, and cloud environments, including rotating passwords and SSH keys.

These services can be integrated on both Invicti Enterprise On-Demand and Invicti Enterprise On-Premises.

This document explains how to authenticate a form using on-premises secrets and encryption services using HashiCorp Vault together with an internal authentication verifier agent.

Prerequisites

IMPORTANT:

It is highly recommended that the secrets and encryption management service, the scan agent, and the authentication verifier agent have network connectivity among themselves.

Whitelisting requirements

Refer to these documents to whitelist the correct IP addresses based on your region:

How to authenticate a form using the authentication verifier agent with HashiCorp Vault

  • In Invicti Enterprise, select Scans > New Scan from the left-side menu
  • Fill in the Target URL field
  • In the Authentication section, click Form

  • Enable the checkbox labeled Form Authentication 
  • In the Login Form URL field, enter the path for your target's login page

  • Expand the New Persona dropdown to display your available secret and encryption management services

  • In the drop-down select a secret and encryption management service (in this example HashiCorp Vault)

TIP:

Refer to official HashiCorp documentation for more information about configuring Vault.

  • Fill in the fields in the settings dialog as follows:

  • The field values should contain the following information:
  • Integrations: This is the name of your secrets management service (in this example HashiCorp Vault)
  • KV Version: Leave the default value V2
  • Secret Engine: This is the name of your secrets engine in HashiCorp (in this example eng-secrets)

  • Secret: This is the name of the set of credentials you entered in HashiCorp for the target website (in this example passcodes)

  • Use static username:  leave this checkbox disabled
  • Username key: This is the key name for the username in HashiCorp (in this example Username)
  • Password key: This is the key name for the password in HashiCorp (in this example Password)

  • Select Test Vault Settings to verify the username and password are indeed correct
  • Click Save
  • Select Verify Login & Logout to test the New Persona

  • This launches the login verification page, showing the login process. This takes you to the authenticated part of the target
  • At the bottom of the login verification page, click the OK button
  • Scroll to the bottom of the New Scan page and click the Launch button to start your scan