Repeated login attempts in the log file for an RDS instance

0

In the log file for our RDS DB Instance the Error log file is full of the following entries

2023-10-05 06:08:26.46 Logon Error: 18456, Severity: 14, State: 5. 2023-10-05 06:08:26.46 Logon Login failed for user 'server'. Reason: Could not find a login matching the name provided. [CLIENT: 14.45.33.45] 2023-10-05 06:08:29.01 Logon Error: 18456, Severity: 14, State: 5. 2023-10-05 06:08:29.01 Logon Login failed for user 'server'. Reason: Could not find a login matching the name provided. [CLIENT: 14.45.33.45] 2023-10-05 06:08:31.64 Logon Error: 18456, Severity: 14, State: 5. 2023-10-05 06:08:31.64 Logon Login failed for user 'server'. Reason: Could not find a login matching the name provided. [CLIENT: 14.45.33.45] 2023-10-05 06:08:32.64 Logon Error: 18456, Severity: 14, State: 5. 2023-10-05 06:08:32.64 Logon Login failed for user 'SHRISHTI'. Reason: Could not find a login matching the name provided. [CLIENT: 45.135.232.28] 2023-10-05 06:08:33.07 Logon Error: 18456, Severity: 14, State: 5.

This is happening approximately every 2 seconds.

Is there anyway I can stop this?

Ian
demandé il y a 8 mois195 vues
2 réponses
0
Réponse acceptée

It seems your RDS is publicly facing. If this is not required, disable public access.

If it is, lock down your security group to only allow connections from trusted IP addresses.

profile picture
EXPERT
répondu il y a 8 mois
profile pictureAWS
EXPERT
vérifié il y a 8 mois
0

Possibly got brute-force login attempts from attackers. Is your DB instance accessible via the Internet? If so, you need to either modify your DB subnet group to use private subnets or change its security group's inbound rule to restrict allowed IP.

profile picture
HS
répondu il y a 8 mois
profile pictureAWS
EXPERT
vérifié il y a 8 mois
  • Thank you I had an inbound rule accepting all connections. I have deleted this rule so I only have one inbound rule with a restricted IP address. Thank you

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions