My website was hacked

0

We have a website deployed on the AWS instance and was working fine already. The website has faced attacked on 22-March and 23-March and went down due to some files and folders has been deleted by attack. We were not sure reason behind this. I would request to please let us know steps require from our end to prevent such incidents. We have already added security rules in .htaccess file. Website is built on PHP language.

2개 답변
0

Hi

I understand your situation when your website is hacked, So when it is hacked you must take down the machine and check what is exactly happened in that machine, Checking logs etc.

Security Measures:

  1. I would suggest you to User AWS WAF, AWS WAF is Managed Service if your application is in Single Ec2 machine its not possible to you WAF so you can use either Load Balancer or CDN before integration of WAF.
  2. You can AWS predefined WAF rules to block unwanted traffic for example bots, query based, SQL injection rules etc
  3. If your application is Wordpress, Please check plugins updated and do. not install unverified plugins.
  4. Do Configure SSL certificate for the encryption in tranist, if you use load balancer so you will get free SSL from Certificate Manager.

Please check reference architecture https://docs.aws.amazon.com/solutions/latest/aws-waf3-security-automations/overview.html

Please let me know if you have any questions.

Thank You Ganesh

profile picture
GK
답변함 2년 전
0

Looking at Security from a Well Architected perspective would be highly recommended here. Well architected labs.

Also, the following should help.

AWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠