Unauthorized access to AWS database

0

Some unauthorized person has been trying to login to login to my aws database in the past few months. In the log I can see Connection denied message with the username. He/she has been sending login requests at an extremely frequent rate. I believe this is the cause for some connection failures I'm experiencing between my application and the database. Can someone suggest me a solution for this?

已提問 9 個月前檢視次數 181 次
1 個回答
0

Hello.

Am I correct in understanding that you are using RDS for the database?
Also, does RDS have public access enabled?
If public access is enabled, we recommend disabling it.
If you can identify the IP address of the access source, you can consider preventing it with security groups or network ACLs.
Also, although it is unclear whether this will directly resolve the issue, I think it would be a good idea to change the DB user name and password.
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Hiding

Also, if the unauthorized access is via a web application, you may want to consider using something like AWS WAF.
To use AWS WAF, you will need ALB and CloudFront, so please set them up if you want to use them.
https://docs.aws.amazon.com/waf/latest/developerguide/getting-started.html

profile picture
專家
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南