Skip to content

Amazon SES us-east-2 repeatedly compromised after rotating SMTP/IAM credentials — how to identify root cause and prevent recurrence?

-1

We are experiencing a recurring security/sending issue with Amazon SES in the US East (Ohio) / us-east-2 region and would appreciate technical guidance on identifying the root cause and preventing it from happening again.

Background / Timeline:

Our Amazon SES account was previously affected by sending/reputation issues in August 2026. We worked with AWS Support and completed remediation under previous support cases that happened same things.

As part of the remediation, we: Deleted the previous SES SMTP credentials/access keys. Removed/replaced the relevant IAM users and access keys. Generated new credentials. Reviewed and updated IAM permissions. Updated our application/server configuration to use the new credentials. Reviewed our email-sending process.

However, on September 20, 2026, Amazon SES again placed our account under review in us-east-2 due to sending reputation issues.

On September 22, 2026, SES sending in us-east-2 was paused.

AWS Trust & Safety subsequently informed us that this appears to be a second vulnerability/security incident, where someone other than us appears to have gained access to send messages that we did not intend to send.

AWS also provided an example of an unauthorized message sent through SES on September 19, 2026 at approximately 08:08 UTC.

Main concern

Our main concern is that we already rotated/recreated the SES SMTP credentials, IAM users/access keys, and permissions following the previous incident.

Therefore, simply rotating the credentials again may restore security temporarily, but it does not explain how the newly created credentials or SES sending capability became compromised again.

We want to identify and permanently close the actual attack path before requesting SES reinstatement.

Questions

We would appreciate guidance from AWS SES/IAM/security experts on the following:

How can we determine how SES was accessed?

Which AWS logs/services should we review to determine whether the unauthorized emails were sent using:

SES SMTP credentials

AWS SDK/API credentials

IAM access keys

A compromised application/server

Another AWS service or mechanism?

Can CloudTrail identify the source?

What specific CloudTrail events should we search for regarding SES sending and IAM credential activity?

For example, should we look for events involving SendEmail, SendRawEmail, IAM access-key operations, STS activity, or other events?

How can SMTP activity be investigated?

If the unauthorized email was sent directly through an SES SMTP endpoint using valid SMTP credentials, what logging or monitoring should be enabled to help identify the source of that activity?

How should we investigate credential exposure?

Since the credentials were replaced after the previous incident, what are the most important places we should investigate for possible credential leakage?

For example:

Application environment variables

.env or configuration files

Git repositories/history

CI/CD systems

Server logs

Deployment scripts

Developer machines

Backups

Docker/container configuration

Third-party services

Compromised EC2/server instances

Should we avoid long-lived SES SMTP credentials?

Our application currently requires SES for transactional emails.

Would AWS recommend moving away from long-lived SMTP credentials and instead using the AWS SDK with IAM roles/temporary credentials where possible?

If so, what is the recommended architecture for securely sending transactional email from an application?

What preventive controls should we enable?

What combination of the following would be recommended for preventing or quickly detecting another incident?

IAM least-privilege policies

IAM roles/temporary credentials

CloudTrail

CloudWatch alarms

Amazon SES event publishing

AWS Config

GuardDuty

Access Analyzer

AWS Organizations/SCP restrictions

SES sending limits/restrictions

IP/network restrictions where applicable

What is the recommended incident-response procedure before requesting SES reinstatement?

We want to provide AWS Trust & Safety with evidence that the actual vulnerability has been identified and closed, rather than only reporting that credentials have been rotated again.

Objective

Our goal is not simply to reactivate Amazon SES.

We want to determine how unauthorized sending became possible again after the previous credentials were replaced, permanently address the underlying security vulnerability, and establish monitoring that will allow us to detect similar activity immediately.

We would especially appreciate a recommended step-by-step investigation/remediation checklist for this type of repeated Amazon SES credential compromise.

Environment:

Service: Amazon SES

Region: US East (Ohio) / us-east-2

Usage: Transactional/application emails

Current status: SES sending paused

Issue: Suspected repeated unauthorized SES sending / credential compromise

Any guidance on the AWS logs, CloudTrail events, SES monitoring configuration, IAM architecture, or other investigation steps we should follow would be greatly appreciated.

1 Answer
1

Hello.

How can we determine how SES was accessed?

First, we need to determine whether "authentication credentials were leaked" or "authentication credentials were sound, but the SES caller (application/server) itself was compromised".
The fact that the breach recurred even after rotating keys/IAM users after the previous breach suggests that the source of the leak may not be the keys themselves, but rather the environment in which the keys are generated, stored, and used (servers, CI/CD, repositories, etc.).
CloudTrail only tracks email sending methods using Amazon SES via AWS SDKs and APIs; sending via SMTP is not recorded.
https://docs.aws.amazon.com/ses/latest/dg/logging-using-cloudtrail.html

Email sending activity via SES SMTP Interface is not logged to CloudTrail events. For comprehensive activity logging, use the latest SES APIs in the SES API Reference and SES API v2 Reference.

Therefore, you need to enable the logging function on the Amazon SES side to record the data.
https://docs.aws.amazon.com/ses/latest/dg/monitor-sending-activity.html

How should we investigate credential exposure?

Since the issue recurred even after the rotation, it will be necessary to check the storage location and distribution channels.
For example, check your GitHub repository and the access history to the server in question to see if there were any suspicious accesses.

Should we avoid long-lived SES SMTP credentials?

Since long-term valid SMTP credentials/IAM access keys can be misused indefinitely if leaked, it is generally recommended to rotate them regularly or avoid using them altogether.
If your application runs on AWS (EC2/ECS/EKS/Lambda), you can also send emails from Amazon SES using IAM roles (instance profiles/task roles) and the AWS SDK.
https://docs.aws.amazon.com/ja_jp/ses/latest/APIReference/API_SendEmail.html

If you need to call SES from outside AWS in an on-premises/multi-cloud environment, you can also configure it to issue temporary credentials based on X.509 certificates using IAM Roles Anywhere.
https://aws.amazon.com/jp/blogs/security/extend-aws-iam-roles-to-workloads-outside-of-aws-with-iam-roles-anywhere/

What is the recommended incident-response procedure before requesting SES reinstatement?

  1. Identification of the breach route (e.g., "SMTP authentication information was output in plain text to GitHub Actions logs, and logs for the past 6 months were viewable as artifacts in the public repository," etc., specific root cause)
  2. Evidence that the access route was blocked (scrubbing of repository history, migration to CI Secret management, deletion and concealment of relevant logs)
  3. Permanent architectural changes (migration to IAM roles, or migration plan and milestones if not yet completed)
  4. Adding detection mechanisms (GuardDuty enabled, CloudWatch alarm thresholds, SES Event Publishing settings screenshot)
  5. Record of invalidating and reissuing all authentication credentials after a breach.

The above-mentioned measures will likely be necessary.
Also, the following document concerns the misuse of IAM users; please review it as it may be helpful.
https://repost.aws/knowledge-center/potential-account-compromise

EXPERT

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.