# easyDNS: easyDNS: an internal monitoring tool exposed 600 customer AWS keys and 28,941 unsalted hashes

> **Safety notice:** Read-only AWS IAM inventory check; changes no active credentials.

- **Incident date:** Nov 25–26, 2026
- **Disclosed:** Nov 26, 2026
- **Source disclosure:** https://easydns.com/blog/2026/11/27/easydns-data-breach/

## Reproduction lab
Audits your AWS IAM users for static keys shared with third-party DNS or SaaS vendors that lack an aws:SourceIp condition or exceed minimum Route53 permissions.

```bash
# list active IAM user access keys older than 90 days that should move to cross-account STS roles
aws iam list-users --query 'Users[].UserName' --output text | tr '\t' '\n' | while read -r u; do
  aws iam list-access-keys --user-name "$u" --query 'AccessKeyMetadata[?Status==`Active`].[UserName,AccessKeyId,CreateDate]' --output text
done
```

## Policies and detection rules

### `route53-cross-account-role.json`
Cross-account IAM Role trust and Route53 policy replacing static customer BYOK AWS keys, pinned to an ExternalId and approved vendor egress IP. Stops step 3.

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDnsSyncOnlyFromVendorWithExternalId",
      "Effect": "Allow",
      "Principal": { "AWS": "arn:aws:iam::<vendor-account-id>:role/dns-sync-worker" },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": { "sts:ExternalId": "<unique-tenant-external-id>" },
        "IpAddress": { "aws:SourceIp": ["198.51.100.0/28"] }
      }
    }
  ]
}
```

### `hunt-byok-aws-key-misuse.sh`
CloudTrail lookup checking whether an AWS access key previously stored in easyRoute53 made unexpected IAM, STS, or Route53 calls starting Nov 25, 2026.

```sh
# Inspect CloudTrail events for a rotated easyRoute53 IAM access key ID
aws cloudtrail lookup-events \
  --start-time "2026-11-25T00:00:00Z" \
  --lookup-attributes AttributeKey=AccessKeyId,AttributeValue=AKIA_YOUR_FORMER_KEY \
  --query 'Events[].{Time:EventTime,Event:EventName,SourceIP:SourceIPAddress}' \
  --output table
```

## Indicators of compromise
- **log:** `Unauthorized AWS calls from stored easyRoute53 BYOK keys (Nov 25–26, 2026)` (Audit CloudTrail for unexpected source IPs, GetCallerIdentity, IAM, or Route53 actions on keys ever stored in easyDNS.)
- **url:** `https://easydns.com/blog/2026/11/26/urgent-rotate-aws-keys-stored-in-easydns-cp-immediately/` (Official Nov 26 emergency key-rotation notice from easyDNS CEO Mark E. Jeftovic.)
