To Prevent unauthorized user in EC2 to send out email via unauthorized SES credential

0

Dear All,

I am researching how to prevent unauthorized users logged into EC2 server and send out email out using his SES smtp user account and email address? I was thinking to disable those common port in the firewall rules?

Any one like to help to provide more solutions on it?

McDs23
已提問 8 個月前檢視次數 229 次
3 個答案
0

An unauthorized User access one EC2 in Environment A and send out email via SES using email-smtp.ap-southeast-1.amazonaws.com. The credential account and verified identities belong to the authorized users AWS SES account.

How to prevent it?

McDs23
已回答 8 個月前
0

Put EC2 Instance into private Subnet, use SSM to connect to the instance instead of putting it on the public network, add least privileges to the IAM Role which is attached to the instance. Restrict access to SES using SCPs.

https://docs.aws.amazon.com/de_de/systems-manager/latest/userguide/ssm-agent.html https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html

profile picture
David
已回答 8 個月前
0

Coming from a last week security aws workshop, I would recommend to ll oil into Guardduty and integration with security hub https://docs.aws.amazon.com/guardduty/latest/ug/securityhub-integration.html

profile picture
專家
已回答 8 個月前

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

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

回答問題指南