I logged into my SES today to see that over 1400 emails were sent, but I haven’t run any campaigns which is a problem.
I’m not sure how to isolate where these emails were sent from, perhaps it was because of a server error or perhaps not. But how do I isolate it so that I know for sure that I wasn’t hacked or had my SMTP details compromised?
emails are only allowed from approved emails anyways, and there’s a list of approved emails in ses.. did u check that?
Yes, they’re the correct ones and no others.
I dont think cloudtrail logs SendEmail and SendRawEmail api calls
Ah yeah, just checked the documentation and it looks like you’re right. Good call.
Not true. You still have to verify the sending address or domain.
If you aren’t sure where the emails are coming from you have a few options. If you aren’t actively using ses, you can pause your own email sending while you investigate:
https://docs.aws.amazon.com/cli/latest/reference/ses/update-account-sending-enabled.html
If you are using ses for other applications, then consider using sns notifications. This will provide you with the sending identity (domain or email address), the source ip which sent the email, and the iam credentials which were used. That should be enough to stop the unauthorized sending.
https://docs.aws.amazon.com/ses/latest/DeveloperGuide/configure-sns-notifications.html
Last option is to contact aws support to obtain a list of sample emails which were sent. This is typically only provided as a one time courtesy though.
Edit: typos from phone
Do you have CloudTrail active?
You can search CloudTrail logs for the access key id to see where the access is coming from.