Subscribe to the Non-Human & AI Identity Journal
Home FAQ Threats, Abuse & Incident Response What breaks when stolen AWS credentials can send…
Threats, Abuse & Incident Response

What breaks when stolen AWS credentials can send mail through SES?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated June 23, 2026 Domain: Threats, Abuse & Incident Response

Traditional perimeter and spam controls break down because the messages originate from a trusted cloud provider and a valid identity. Once the credential is accepted, the attacker can send convincing business email compromise traffic that looks operationally legitimate. The real failure is not just access theft, but the ability to convert identity into deliverability.

Why This Matters for Security Teams

When stolen AWS credentials can send mail through SES, the problem is not just unauthorised access. It is that a valid cloud identity can be turned into trusted outbound communication at speed, bypassing many perimeter-era assumptions. That makes fraud, phishing, invoice diversion, and business email compromise far harder to spot than ordinary malware traffic. The practical lesson is that identity compromise can become delivery compromise almost immediately.

Security teams often focus on blocking suspicious payloads, but SES abuse is usually a trust problem rooted in cloud-native permissions, sender reputation, and weak credential handling. NHIMG’s 52 NHI Breaches Analysis shows how often secrets exposure becomes a downstream identity abuse event rather than a simple leakage incident. External guidance from the OWASP Non-Human Identity Top 10 reinforces that over-permissioned machine identities create durable abuse paths. In practice, many security teams only discover SES misuse after customers, finance staff, or mail providers report the damage.

How It Works in Practice

SES is attractive to attackers because AWS already provides the trust wrapper: a legitimate account, a valid API surface, and mail that can be delivered through a reputable provider. Once credentials are stolen, the attacker does not need to break SMTP filtering in the classic sense. They can authenticate to AWS, use the allowed SES actions, and send messages that appear operationally normal from the outside.

The main controls that matter are identity-centric, not message-centric. Best practice is evolving toward short-lived credentials, tightly scoped IAM policies, and continuous detection of abnormal API use. That means replacing long-lived access keys where possible, using workload identity and JIT secrets where automation is involved, and limiting SES permissions to the smallest viable sender set. NHIMG’s Ultimate Guide to NHIs — Static vs Dynamic Secrets is useful here because SES abuse typically begins with static secrets that survive far longer than the task they were meant to support.

  • Constrain IAM so only approved applications can call SES send actions.
  • Rotate or eliminate access keys that are not backed by workload identity.
  • Alert on first-time sender regions, unusual recipient volume, and new IAM principals using SES.
  • Use policy-as-code and runtime authorization checks rather than static allowlists alone.

For identity assurance, the NIST SP 800-63 Digital Identity Guidelines are relevant conceptually, even though SES abuse is a workload problem rather than a human login issue. The operational point is simple: if the identity can authenticate, it can often send. These controls tend to break down in legacy AWS environments where shared keys, broad SES permissions, and weak visibility into mail-sending workloads all coexist.

Common Variations and Edge Cases

Tighter mail controls often increase operational overhead, so organisations have to balance delivery convenience against abuse resistance. That tradeoff becomes visible in environments that rely on shared service accounts, multi-account AWS setups, or third-party integrations that send mail on behalf of many teams.

There is no universal standard for this yet, but current guidance suggests treating SES as a privileged capability rather than a commodity API. If marketing, billing, support, and application notifications all share one sending path, compromise of a single key can create broad blast radius. NHIMG’s Guide to the Secret Sprawl Challenge is directly relevant because SES abuse frequently emerges from scattered secrets with unclear ownership. The same pattern appears in broader cloud compromise research, including NHIMG’s 230M AWS environment compromise, where weak identity hygiene amplifies downstream impact.

One important edge case is legitimate automation that sends high-volume mail. Those workloads can look abusive unless baselined by sender, schedule, and recipient patterns. Another is incident response: blocking SES too aggressively can cut off customer notifications or password reset flows. The better pattern is scoped containment, temporary credential revocation, and per-workload controls rather than a blanket shutdown. Mature environments also validate that SES permissions cannot be reused across unrelated business units, because that is where abuse and false positives both become harder to control.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and NIST AI RMF set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03Addresses overlong-lived NHI credentials, the usual entry point for SES abuse.
NIST CSF 2.0PR.AC-4SES abuse is prevented by limiting workload permissions to the minimum necessary.
NIST AI RMFIdentity abuse of autonomous systems needs governance, monitoring, and accountability.

Replace static AWS keys with short-lived credentials and rotate any SES-capable secret on a fixed cadence.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on June 23, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org