← Back to svetris.com  ·  Book a Security Review

Svetri Cloud Cyber Security

AWS Cloud Security Audit Report

Prepared for Acme Corp (fictional)  |  Confidential
Prepared byNaveen Soni, AWS Certified Security – Specialty
Assessment typeRead-only configuration audit
Scope3 AWS accounts (prod, staging, shared-services), us-east-1, eu-west-1
Assessment windowSample: 5 business days
Access usedSecurityAudit + ViewOnlyAccess (read-only)
Frameworks referencedCIS AWS Foundations Benchmark, AWS Well-Architected (Security)

1. Executive summary

Acme Corp runs a customer-facing web platform on AWS (EC2, RDS, S3, Lambda). The review found that the core services are in use correctly, but several high-impact misconfigurations could allow an attacker to access customer data or take over the account. None of the critical and high issues require advanced skill to exploit, and most can be fixed in under a week.

1Critical
5High
4Medium
3Low
13Total findings

Top three risks in plain language

  1. The root account has no MFA and an active access key. Anyone who obtains that key controls everything, including billing and data.
  2. A customer-exports S3 bucket is publicly readable. Customer files could be downloaded by anyone on the internet.
  3. A CI user has full admin rights and no MFA. A leaked key from a build system would give full account control.

Findings combine. Individually most issues are High or Medium, but several are connected. Section 5 shows three attack paths where two or three moderate issues together lead to a Critical outcome, such as session theft from an unprotected cache, or a full-admin compromise nobody would detect.

Overall posture

AreaRatingComment
Identity and accessCriticalRoot account and admin users not protected by MFA
Data protectionHighPublic bucket, unencrypted public-facing database
NetworkHighAdmin ports open to the internet
Logging and detectionHighTrail not covering all regions, threat detection off in 4 regions
Serverless and secretsMediumSecrets in Lambda environment variables
GovernanceLowTagging and cleanup gaps

2. Scope and methodology

In scope: IAM, S3, EC2/VPC/security groups, RDS, EBS, CloudTrail, GuardDuty, Lambda configuration, KMS usage. Out of scope: application code, penetration testing, host-level (OS) hardening, third-party SaaS, Kubernetes.

  1. Kickoff call to confirm scope, NDA and read-only access method (cross-account role, no long-term keys shared).
  2. Automated checks with open-source tools (Prowler, ScoutSuite) plus custom scripts for IAM and Lambda.
  3. Manual validation of every finding to remove false positives and confirm business impact.
  4. Risk rating based on exploitability and impact, mapped to CIS controls.
  5. Attack-path analysis: findings are correlated to find combinations ("toxic combinations") that raise the real risk above the sum of the parts.
  6. Prioritized remediation plan and a walkthrough call.

Severity scale

RatingMeaningTarget fix time
CriticalLikely full compromise or data breachWithin 48 hours
HighSerious exposure, easy to exploitWithin 7 days
MediumWeakens defenses, needs other conditions to exploitWithin 30 days
LowBest-practice gap, minor riskWithin 90 days

3. Findings summary

IDFindingSeverityCIS refEffort
F-01Root account: no MFA, active access keyCritical1.5, 1.4Low
F-02S3 bucket publicly readable (acme-customer-exports)High2.1.4Low
F-03IAM user with AdministratorAccess and no MFA (ci-deploy)High1.10, 1.16Medium
F-04SSH (22) and RDP (3389) open to 0.0.0.0/0High5.2, 5.3Low
F-05CloudTrail not multi-region, no log file validationHigh3.1, 3.2Low
F-13ElastiCache (Redis) with no encryption or authentication, holds session dataHigh–Medium
F-06RDS instance publicly accessible and unencryptedMedium2.3.1Medium
F-077 IAM access keys older than 90 daysMedium1.14Low
F-08GuardDuty disabled in 4 of 6 used regionsMedium–Low
F-09Secrets stored in Lambda environment variablesMedium–Medium
F-10No account password policyLow1.8–1.9Low
F-1114 unused IAM roles and 5 inactive usersLow1.12Low
F-12S3 versioning off on 9 of 12 bucketsLow–Low

4. Detailed findings

The sample shows six detailed findings. A full report contains this level of detail for every finding.

F-01  Root account has no MFA and an active access key Critical

Resource Account 111111111111 (prod) root user

What we found The credential report shows mfa_active = false and access_key_1_active = true for the root user. The key was last used 41 days ago.

Why it matters The root user cannot be restricted by IAM policies. A stolen root key or password gives an attacker unrestricted control: deleting backups, creating persistence, exfiltrating all data, and running up cost.

Recommendation

  1. Enable a hardware or virtual MFA device on root.
  2. Delete the root access key after confirming nothing uses it.
  3. Store root credentials in a vault, use root only for the few tasks that require it.
  4. Create a CloudWatch alarm for any root login.
# Confirm and then delete the root key (as root, console recommended)
aws iam get-account-summary --query 'SummaryMap.AccountAccessKeysPresent'
aws iam list-access-keys   # run with root credentials, then:
aws iam delete-access-key --access-key-id AKIAXXXXXXXXEXAMPLE

Reference: CIS 1.4, 1.5. Effort: under 1 hour.

F-02  S3 bucket is publicly readable High

Resource arn:aws:s3:::acme-customer-exports

What we found Block Public Access is disabled on the bucket and the bucket policy allows s3:GetObject to Principal: "*". The bucket holds 3,412 CSV exports (names of customer export files suggest personal data).

Why it matters Anyone who knows or guesses the URL can download customer data. Public S3 buckets are a common source of data breaches and trigger breach-notification duties.

Recommendation Enable account-level and bucket-level Block Public Access. Remove the wildcard principal. Share files with pre-signed, expiring URLs. Enable default encryption (SSE-KMS) and access logging. Review access logs to see whether the bucket was accessed externally.

aws s3api put-public-access-block --bucket acme-customer-exports \
  --public-access-block-configuration \
  BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true
aws s3control put-public-access-block --account-id 111111111111 \
  --public-access-block-configuration \
  BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true

Reference: CIS 2.1.4. Effort: under 1 hour (plus access-log review).

F-03  CI user has full admin and no MFA High

Resource IAM user ci-deploy (AdministratorAccess, 2 access keys, oldest 412 days)

What we found A long-lived user with admin rights is used by the build pipeline. Its key appears in a build-system variable according to the team.

Why it matters A leak from the CI system, a logs dump or a developer laptop gives an attacker permanent admin access.

Recommendation Replace the user with an IAM role assumed by the pipeline through OIDC (no stored keys). Scope the role to the services the pipeline actually deploys. Rotate and then delete the existing keys.

# Example trust policy for GitHub Actions OIDC (replace repo)
{ "Effect":"Allow",
  "Principal":{"Federated":"arn:aws:iam::111111111111:oidc-provider/token.actions.githubusercontent.com"},
  "Action":"sts:AssumeRoleWithWebIdentity",
  "Condition":{"StringLike":{"token.actions.githubusercontent.com:sub":"repo:acme/web-app:ref:refs/heads/main"}}}

Reference: CIS 1.10, 1.16. Effort: half a day.

F-04  SSH and RDP open to the internet High

Resource Security groups sg-0a1b…web-admin and sg-0c9d…legacy (6 instances)

What we found Inbound 22 and 3389 allowed from 0.0.0.0/0. Authentication logs on two hosts (sample data) show repeated failed logins from unknown addresses.

Recommendation Remove the open rules. Use AWS Systems Manager Session Manager (no inbound ports) or restrict to a VPN or fixed office range. Turn on VPC Flow Logs.

aws ec2 revoke-security-group-ingress --group-id sg-0a1bEXAMPLE \
  --protocol tcp --port 22 --cidr 0.0.0.0/0

Reference: CIS 5.2, 5.3. Effort: 1–2 hours.

F-13  Session cache has no encryption and no authentication High

Resource ElastiCache Redis replication group acme-sessions (prod)

What we found Encryption in transit and at rest are both disabled, no AUTH token or RBAC user is set, and the cache security group allows port 6379 from the entire VPC range (10.0.0.0/16). The cache holds user session tokens and cached customer profile data.

Why it matters Anything inside the network can read all sessions without a password, and traffic can be sniffed in plaintext. On its own this is a High finding because it needs a foothold in the VPC. See attack path AP-1, where it becomes Critical.

Recommendation Recreate the replication group with in-transit and at-rest encryption, enable AUTH or RBAC, restrict the security group to the application tier only, and shorten session lifetime. Enabling encryption on an existing cluster may need a maintenance window.

Effort: 0.5–1 day with a short maintenance window.

F-09  Secrets stored in Lambda environment variables Medium

Resource Lambda functions process-orders, send-invoice

What we found Environment variables named DB_PASSWORD and SMTP_PASS contain plaintext values, readable by any identity with lambda:GetFunctionConfiguration.

Recommendation Move the values to AWS Secrets Manager (or SSM Parameter Store SecureString), grant the function role read access to those specific secrets only, and rotate the exposed credentials.

Effort: 2–4 hours. Related tool: lambda-audit-automation (open source, github.com/nsoni44).

Findings F-05 to F-08 and F-10 to F-12 would follow in the same format in a full report.

5. Attack paths: toxic combinations

Scanners report each issue on its own. Attackers chain them. The three paths below show how moderate findings combine into Critical business risk. Each path can be broken by fixing a single link, which is how the roadmap is prioritized.

AP-1  Internet foothold to customer session theft Critical

SSH open to internet (F-04)→Foothold on a web host→Redis reachable from whole VPC, no auth (F-13)→Plaintext session tokens read→Log in as any customer or admin

Why it is worse together: F-04 alone gives access to one server. F-13 alone needs a foothold. Together, an attacker who guesses or phishes one SSH credential can read every active session, impersonate users without knowing any password, and bypass MFA because the session is already authenticated.

Cheapest link to break: close SSH (F-04, 1–2 hours). Permanent fix: encrypt and authenticate the cache (F-13).

AP-2  Leaked CI key to undetected full takeover Critical

CI key leaks (F-03, 412-day-old admin key)→Attacker uses an unmonitored region→No multi-region trail (F-05) + GuardDuty off (F-08)→Full admin, no logs, no alerts

Why it is worse together: a leaked admin key is bad, but normally GuardDuty or CloudTrail would reveal its misuse. Here, activity in the four unmonitored regions leaves no record, so the compromise could last for months and the scope could not be proven afterward.

Cheapest link to break: enable multi-region CloudTrail and GuardDuty (F-05, F-08, under a day). Permanent fix: remove the long-lived admin key (F-03).

AP-3  Public bucket with no evidence trail Critical

Bucket publicly readable (F-02)→Customer exports downloaded→No S3 access logging, no data-event trail (F-05)→Cannot tell who accessed what, so breach scope unknown

Why it is worse together: without logs, the company cannot show regulators or customers which records were accessed, and usually has to assume all of them were. That raises legal, notification and reputational cost far beyond the technical issue.

Cheapest link to break: block public access now (F-02), and turn on data-event logging so future access is provable.

Priority view

FixBreaks pathsEffort
Close SSH/RDP to the internet (F-04)AP-11–2 hours
Block public access on bucket (F-02)AP-3< 1 hour
Multi-region CloudTrail + GuardDuty (F-05, F-08)AP-2, AP-3< 1 day
Replace CI admin user with scoped OIDC role (F-03)AP-20.5 day
Encrypt and authenticate cache (F-13)AP-10.5–1 day

6. Remediation roadmap

WhenActionsFindings
Within 48 hoursRoot MFA and key removal, close public bucket, close admin ports, enable multi-region CloudTrail and GuardDuty (breaks all three attack paths at their cheapest link)F-01, F-02, F-04, F-05, F-08
Within 7 daysReplace CI admin user with OIDC role, encrypt and authenticate the session cache, log file validationF-03, F-13, F-05
Within 30 daysEncrypt and make RDS private, rotate old keys, move secrets to Secrets ManagerF-06, F-07, F-09
Within 90 daysPassword policy, cleanup unused IAM, S3 versioning, tagging standardF-10 to F-12

7. What was done well

8. Limitations

This is a point-in-time configuration review using read-only access. It is not a penetration test, a code review, or a compliance certification or attestation. Findings reflect the state of the environment during the assessment window. No guarantee is given that the environment is free of other vulnerabilities.

9. Optional next steps

ServiceDescription
Remediation supportHands-on fixing of findings one by one, with change log and re-scan (billed separately)
Compliance readiness reportControl mapping for CIS, SOC 2 or ISO 27001 from the tool output (tool licences, if any, at cost)
Code and git posture reviewSeparate engagement

Svetri Cloud Cyber Security · svetris.com · github.com/nsoni44 · SAMPLE DOCUMENT, FICTIONAL DATA