Risk passwords
You can achieve higher password quality and a higher level of security by using risk passwords for password validation.
Hundreds of millions of real world passwords previously exposed in data breaches is collected as risk passwords. By validating that the leaked passwords are not reused, you significantly increase the level of password security.
The risk passwords are uploaded ones per FoxIDs deployment in the master tenant and can be used in all tenants and environments.
1) Download risk passwords (pwned passwords)
Download the SHA-1
pwned passwords in a single file from haveibeenpwned.com/passwords using the PwnedPasswordsDownloader tool.
Be aware that it takes some time to download all risk passwords.
2) Upload risk passwords to FoxIDs
You then upload the risk passwords with the FoxIDs master seed tool console application.
Download the FoxIDs.MasterSeedTool-x.x.x-win-x64.zip
file for Windows or FoxIDs.MasterSeedTool-x.x.x-linux-x64.zip
file for Linux from the FoxIDs release and unpack the master seed tool.
Configure the master seed tool
The master seed tool is configured in the appsettings.json
file.
Access to upload risk passwords is granted in the master
tenant.
Create a master seed tool OAuth 2.0 client in the FoxIDs Control Client:
This will grant the master seed tool full access to the FoxIDs installation.
- Login to the master tenant
- Select the Applications tab
- Click New Application
- Click Backend Application
- Select Show advanced
- Add a Name e.g.,
Master seed tool
- Change the Client ID to
foxids_master_seed
- Click Register
- Remember the Authority.
- Remember the Client secret.
- Click Close
- Click on the application in the list to open it
- In the Resource and scopes section
- Remove the check mark from Default resource 'foxids_master_seed' for the application itself
- Click Add Resource and scope and add the resource
foxids_control_api
- Then click Add Scope and add the scope
foxids:master
- Select Show advanced
- In the Issue claims section
- Click Add Claim and add the claim
role
- Then click Add Value and add the claim value
foxids:tenant.admin
- Click Add Claim and add the claim
- Click Update
Add your FoxIDs Control API endpoint and the master seed tool Authority, Client secret and local risk passwords (pwned passwords) file to the master seed tool configuration.
"SeedSettings": {
"FoxIDsControlEndpoint": "https://control.foxids.com", // self-hosted "https://control.yyyyxxxx.com" or local development https://localhost:44331
"Authority": "https://id.foxids.com/zzzzz/master/foxids_seed/", // custom domain, self-hosted or local development "https://https://localhost:44331/zzzzz/master/foxids_seed/"
"ClientId": "foxids_master_seed",
"ClientSecret": "xxxxxx",
"Scope": "foxids_control_api:foxids:master",
"PwnedPasswordsPath": "c:\\... xxx ...\\pwned-passwords-sha1-ordered-by-count-v4.txt"
}
Run the master seed tool
- Start a Command Prompt
- Run the master seed tool with
MasterSeedTool.exe
- Click
R
to start uploading risk passwords
The risk password upload will take a while.
3) Test
You can read the number of risk passwords uploaded to FoxIDs in FoxIDs Control Client master tenant on the Settings / Risk Passwords tap. And you can test if a password is okay or has appeared in breaches.