Getting Brute Force Attacks on MS SQL Server, Urgent Help Needed

Mohit Anand 1 Reputation point
2022-07-18T20:21:22.97+00:00

Hi,

We have a Dedicated Godaddy Server running Windows Server 2012 accessible through remote desktop. We are getting a lot of IP brute force attacks on the server with these error codes:

Event ID: 4625, Audit Failure

Event ID: 10016,_DISTRIBUTEDCOM

These errors are getting repeated almost every second. The MS SQL is now using over 50% in CPU and RAM and the server is responding very slow.

How do I resolve this.

Please help.

221939-event-10016-distributedcom-1.jpg

222003-event4625-1.jpg

Windows for business Windows Server User experience Other
{count} votes

2 answers

Sort by: Most helpful
  1. Bjoern Peters 8,921 Reputation points
    2022-07-18T21:19:05.237+00:00

    Why do you think that this is an attack?

    Knowing nothing about your environment and just "judging" on your screenshots...

    Do you really need that SQL Service "Replay Agent"?
    From everything I know this just looks like you are doing something on your server that wants to access something that is not running right now and cannot be started because of an security/permission issue.

    According to this post
    https://learn.microsoft.com/en-us/troubleshoot/windows-client/application-management/event-10016-logged-when-accessing-dcom
    the errorid itself is nothing dangerous and on a first view "normal" (if you don't have such permissions)

    your 4625 in combination with 10016 seems also to be normal because a login attempt was logged because it failed... in this scenario I would suggest it is a user that wants to start a specific service...

    yes, in a compromised environment that might be an attacker, then your first point of connection should be GoDaddy and not a Microsoft Community Forum...
    If it is a DDOS attack also contact GoDaddy as they are responsible for the underlying network infrastructure.

    From my point of view: "Take a deeper look into your application, why and who is somebody trying to start regularly that "Distributed Replay Agent" and those permissions."


  2. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2022-07-18T22:06:48.93+00:00

    Exposing SQL Server on the internet is an utterly bad idea. If you need to access SQL Server remotely, set up a VPN connection. If you only need to access SQL Server from the local Godaddy server, disable TCP/IP for SQL Server Configuration Manager.


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.