Best Practice for Securing SharePoint Service Accounts from AD Login Brute Force Attack

Hasan Köroğlu 46 Reputation points
2020-09-25T08:17:32.92+00:00

Hello everyone,

Especially for internet facing sharepoint sites, what is the best solution to prevent bad login attempts for sp service accounts. The solution could be hardware solution (firewall or waf) or software solution (scripting).

Thanks.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,936 questions
0 comments No comments
{count} votes

Accepted answer
  1. Trevor Seward 11,701 Reputation points
    2020-09-25T19:56:13.563+00:00

    For SharePoint service accounts, you should be adding them to the deny logon security policy (secpol.msc) on each SharePoint server. For SQL, you should be using a gMSA rather than a domain user account.

    Place a pre-authenticating reverse proxy in front of SharePoint and don't allow it to be bypassed to each web application. But there is nothing stopping an internal user from brute forcing or locking the accounts out -- this is typically why service accounts bypass lockout policies as you don't want your service to fail.

    Best defense is to use monitoring tools that will alert you of these types of attacks against users.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Sharath Kumar Aluri 3,071 Reputation points
    2020-09-25T15:02:32.587+00:00

    Unfortunately there isn't any proper way, I would say create them with a proper naming convention and explain the AD team to not to touch those service accounts.

    Below articles explains you to configure service accounts with proper naming convention.

    https://www.sharepointdiary.com/2014/09/sharepoint-2013-service-accounts-list-permissions-best-practices.html

    https://vladtalkstech.com/2013/01/sharepoint-2013-service-accounts-best-practices-explained.html

    Thanks & Regards,

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.