+4 votes
217 views
Windows Server 2012 - Account Lock

in Windows Server by (552k points)
reopened | 217 views

1 Answer

+5 votes
Best answer

Account lock settings

When a user enters a wrong password a certain number of times it may happen that your account is under a brute force attack, or an external entity is trying to enter your account without authorization, to prevent this and to give more security to our environment. networks you must enter an account lockout policy.

This policy must guarantee that after a number of times of incorrect login attempts the user account is blocked, thus alerting the system administrator about the irregularity and forcing the user to report his account in case it was due to an error of what happened, and if it is due to some kind of attack, they can not access the data or the terminal.

image


These policies are configured in the GPO (Group Policy Objetcs) available in the route:

Computer Configuration \ Policies \ Windows Settings \ Security Settings \ Account

These policies must be established at the domain level so that they apply to our environment correctly.

For the blocking of accounts we have a series of policies that help us in this task, within our Windows Server 2012 domain environment we have the following:
  • Account blocking duration: This is the time that the account will be blocked, by default the base time is 30 minutes when the policy is activated. When the value is 0 it indicates that the account will be blocked until an administrator proceeds to do the unlocking.
  • Limit for the Account block: This element allows us to establish the limit of erroneous login attempts that an account can try to activate the block, when it is activated by default the value is 5 attempts, a maximum of 999 attempts can be placed, these attempts They must occur in a certain period of time to be accounted for.
  • Reset Counter of Erroneous Attempts: This element allows us to establish the period of time in which incorrect entry attempts with an incorrect password will be counted.


When we enable it, it brings us a default time of 30 minutes which means that if our account lockout limit is 5 attempts, these must occur in less than 30 minutes for the account to be blocked, now in case the User does the 5 attempts in 31 minutes the account lock does not happen since the counter would have reset in the 31st minute.

Blocking Accounts in the real world

In the real world, an account block that lasts 30 minutes is equivalent to a blockage that does not expire, since by nature the user pays little attention to security policies, even if the system administrator tells him thousands of times that once his Account must wait 30 minutes before returning to login.
In a work environment these 30 minutes can mean the delay for the printing of a report to the general management, so the technical support phones will always be ringing.
To prevent this, it is recommended that the block is 1 minute and specified on the screen with a message, this minute is enough to avoid attacks by dictionary and brute force, since it would force the attack engines to wait for a time in which the administrator could be aware and take the necessary measures.

by (3.5m points)
edited

Related questions

+4 votes
1 answer
asked Jun 15, 2020 in Windows Server by backtothefuture (552k points) | 797 views
+3 votes
1 answer
asked Jun 23, 2019 in Windows Server by backtothefuture (552k points) | 212 views
+4 votes
1 answer
asked Jun 23, 2019 in Windows Server by backtothefuture (552k points) | 191 views
+5 votes
1 answer
asked Jun 23, 2019 in Windows Server by backtothefuture (552k points) | 201 views
+4 votes
1 answer
asked Jun 23, 2019 in Windows Server by backtothefuture (552k points) | 207 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users