Skip to main content

Enterprise Password Enforcer (EPE) APIs

You can use APIs to perform functions related to Threat Prevention's Enterprise Password Enforcer (EPE) solution. These functions pertain to the EPE Settings Window and the Password Rules Filter of the Password Enforcement event type.

  • Password Validation Test Against EPE Rules
  • Import Character Substitutions
  • Export Character Substitutions
  • Import Character Substitution Words
  • Export Character Substitution Words
  • Import Passwords Dictionary
  • Export Passwords Dictionary
  • Set the Pwned Database

Password Validation Test Against EPE Rules

The Test-ValidatePassword command checks if a user supplied password passes the Enterprise Manager Enforcer (EPE) rules configured in the Password Rules event filter and the global settings in the EPE Settings Window.

The following parameters are required:

  • Server – Domain controller with the Threat Prevention Agent that checks the password value. Supply the server in one of the following formats:
    • Domain\ServerName
    • ServerName
    • IP Address
  • User – The user account testing the password
  • Password – Password value to validate

Example of a password validation command:

Test-ValidatePassword –Server “domain\server” –User “Username” –Password “Passwordvalue”

Import Character Substitutions

The Import-SICharacterSubstitution command imports the EPE Character Substitution Dictionary to the Enterprise Manager. The Substitutions Editor Window, accessed through the EPE Settings window, displays the imported file content.

The following parameter is required:

  • FileName [string] – Path to valid XML content

Example of adding an import xml file:

Import-SICharacterSubstitution -FileName "c:\Import\CharacterSubstitution.txt"

Export Character Substitutions

The Export-SICharacterSubstitution command exports the character substitution data the Enterprise Manager uses. The exported content matches what the Substitutions Editor Window displays.

Example:

Export-SICharacterSubstitution

Import Character Substitution Words

The Import-SICharacterSubstitutionWords command imports the EPE words subject to character substitution to the Enterprise Manager. Threat Prevention adds the imported file content to the Words List Dictionary Window, accessed through the EPE Settings window.

The following parameter is required:

  • FileName [string] – Path to valid XML content

Example of adding an import xml file:

Import-SICharacterSubstitutionWords -FileName "C:\Import\CharacterSubstitutionWords.xml"

Export Character Substitution Words

The Export-SICharacterSubstitutionWords command exports the EPE Words subject to character substitution that the Enterprise Manager uses. The exported content matches what the Words List Dictionary Window displays.

Example:

Export-SICharacterSubstitutionWords

Import Passwords Dictionary

The Import-SIPasswordsDictionary command imports the EPE Password Dictionary to the Enterprise Manager from the specified file. The Password Dictionary Window, accessed through the EPE Settings window, displays the imported file content.

The following parameter is required:

  • FileName [string] – Path to valid XML content

Export Passwords Dictionary

The Export-SIPasswordsDictionary command exports the EPE Password Dictionary that the Enterprise Manager uses. The exported content matches what the Password Dictionary Window displays.

Example:

Export-SIPasswordsDictionary

Set the Pwned Database

The Set-SIPwnedDB command converts the single specified hash file to the internal files that the Enterprise Manager and/or Threat Prevention Agents use.

The following parameter is required:

  • FileName [string] – Path to hash file

Example of adding an import xml file:

Set-SIPwnedDB -FileName "c:\pwned_db.txt"