# How to set up Brute Force Detection feature

This feature enables ZTrust to detect brute force attacks, where attackers use trial and error techniques to discover correct credentials. ZTrust can identify and prevent such unauthorized access attempts. In case of detection, customized notification emails are sent to the IT Security Team or System Administrator whenever multiple failed attempts originate from a single IP Address.



Steps to be followed to set up Brute Force Detection feature -

1. Go to Realm Settings.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2F6vUNtVsGA5KFFhNJj4Tu%2F8.png?alt=media&#x26;token=a6f5ff1d-d36c-4450-9ee9-b8ac51824ef1" alt=""><figcaption></figcaption></figure>

2. Click on Security Defenses.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2F6HTThoNuVzR9aY2BkAKS%2F9.png?alt=media&#x26;token=cf979176-76dc-4c06-8a18-acdd126cf237" alt=""><figcaption></figcaption></figure>

3. Click on Brute Force Detection.

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2F86Tbk3Tx6mqM7AF6VXc3%2F10.png?alt=media&#x26;token=2a85e4fa-053a-47b4-9b00-137654001419" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="147">Field Name</th><th width="191">Mandatory (Yes/No)</th><th width="122">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>Brute Force Mode</td><td>Yes</td><td>dropdown</td><td>Select the most preferable option from the dropdown according to your needs.</td></tr></tbody></table>

<figure><img src="https://1778922777-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3EUK5AUZv0UVaI5S0CTM%2Fuploads%2FpfnMFSMrLJVMyRMbQIMQ%2F11.png?alt=media&#x26;token=18170770-2f35-4b65-9a96-b3b28c7c91f4" alt=""><figcaption></figcaption></figure>

4. Provide the details for the following according to your organization standards -

<table><thead><tr><th width="205">Field Name</th><th width="192">Mandatory (Yes/No)</th><th width="109">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>Max Login Failures</td><td>Yes</td><td>Text</td><td>Maximum number of login attempts permitted for a user if incorrect credentials are provided.</td></tr><tr><td>Wait Increment</td><td>Yes</td><td>Text</td><td>Duration after which the account will be unlocked to enable the user to log in again after the maximum number of failed attempts</td></tr><tr><td>Max wait</td><td>Yes</td><td>Text</td><td>Time after which it allows logging in again in case of a quick login failure.</td></tr><tr><td>Failure Reset Time</td><td>Yes</td><td>Text</td><td>Duration after which the count of failed login attempts will be reset to zero</td></tr><tr><td>Quick Login Check Milliseconds</td><td>Yes</td><td>Text</td><td>Recommended to verify if the login attempts are not from a bot. The time elapsed between the first failed login and the second failed login.</td></tr><tr><td>Minimum Quick Login Wait</td><td>Yes</td><td>Text</td><td><p>It represents the waiting period or the duration the user must wait after a rapid login failure.</p><p><br></p></td></tr></tbody></table>

All the above mentioned details are customizable and can be adjusted to align with the organization's standards.

5. Click on Save.

The Brute Force Detection feature will now be enabled.

\
