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 seed tool console application.
Download the FoxIDs.SeedTool-x.x.x-win-x64.zip
or FoxIDs.SeedTool-x.x.x-linux-x64.zip
file from the FoxIDs release and unpack the seed tool.
Configure the Seed Tool
The seed tool is configured in the appsettings.json
file.
Access to upload risk passwords is granted in the master
tenant.
Create a seed tool OAuth 2.0 client in the FoxIDs Control Client:
- Login to the master tenant
- Select the Applications tab
- Click New Application
- Click Backend Application
- Select Show advanced
- Add a Name e.g.,
Seed tool
- Set the Client ID to
foxids_seed
- Click Register
- Remember the Client secret.
- Click Close
- Click on your client registration in the list to open it
- In the Resource and scopes section - This will granted the client access to the master tenant
- Click Add Resource and scope and add the resource
foxids_control_api
- Then click Add Scope and add the scope
foxids:master
- Click Add Resource and scope and add the resource
- Select Show advanced
- In the Issue claims section - This will granted the client the tenant administrator role
- 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 and FoxIDs Control API endpoints and client secret and local risk passwords (pwned passwords) file to the seed tool configuration.
"SeedSettings": {
"FoxIDsEndpoint": "https://foxidsxxxx.azurewebsites.net",
"FoxIDsControlEndpoint": "https://foxidscontrolxxxx.azurewebsites.net",
"ClientSecret": "xxx",
...
"PwnedPasswordsPath": "c:\\... xxx ...\\pwned-passwords-sha1-ordered-by-count-v4.txt"
}
Run the Seed Tool
- Start a Command Prompt
- Run the seed tool with
SeedTool.exe
- Click
U
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.