Runbook 02 Enterprise IAM Security Assessment
Module: 02 – Identity & Access Management (IAM)
Enterprise Lab: 02
Estimated Time: 2–3 Hours
Difficulty: ⭐⭐⭐⭐☆
Estimated Cost: Free Tier (No additional AWS charges)
🎯 Objective
Section titled “🎯 Objective”As a Cloud Security Engineer at CloudNova Technologies, you have been assigned to perform an enterprise IAM security assessment for an existing AWS environment.
By completing this runbook, you will learn how to:
- Perform an IAM security audit
- Identify security risks
- Review IAM Users, Groups, Roles and Policies
- Detect excessive permissions
- Review MFA compliance
- Review Access Keys
- Review password policy
- Review IAM Roles
- Review IAM Access Analyzer findings
- Generate Credential Reports
- Recommend remediation actions
- Produce an executive security assessment report
🏢 Business Scenario
Section titled “🏢 Business Scenario”CloudNova Technologies has grown rapidly over the last three years.
Multiple teams have created IAM users, groups and policies without following security standards.
Management has requested a complete IAM Security Assessment before the company proceeds with its ISO 27001 certification.
You have been assigned to review the AWS IAM environment and identify security weaknesses.
Your task is to assess the environment, document findings, implement improvements where appropriate, and present recommendations to management.
📋 Prerequisites
Section titled “📋 Prerequisites”Complete:
- Enterprise Runbook 01 – Secure Enterprise IAM Environment
Required:
- AWS Account
- IAM Administrator Access
- AWS CLI Installed
- Visual Studio Code
🏗 Current Enterprise Environment
Section titled “🏗 Current Enterprise Environment”CloudNova currently contains:
AWS Account
├── 35 IAM Users├── 8 IAM Groups├── 14 IAM Roles├── Multiple Customer Policies├── AdministratorAccess assigned to several users├── Users without MFA├── Old Access Keys├── Unused IAM Users├── Shared Administrator Account└── No regular IAM review processManagement believes the environment is secure.
Your job is to verify this assumption.
Step 1 — Review IAM Dashboard
Section titled “Step 1 — Review IAM Dashboard”Open:
AWS Console
↓
IAMReview:
- Dashboard
- Users
- Groups
- Roles
- Policies
- Access Reports
- Account Summary
Document:
- Total Users
- Total Groups
- Total Roles
- MFA Status
- Password Policy
aws iam get-account-summaryStep 2 — Review IAM Users
Section titled “Step 2 — Review IAM Users”Console
IAM
↓
UsersReview each user.
Look for:
- Unused users
- Disabled users
- Old accounts
- Generic accounts
- Shared accounts
aws iam list-usersDocument:
- Username
- Last Activity
- Purpose
- Risk Level
Step 3 — Review IAM Groups
Section titled “Step 3 — Review IAM Groups”Review:
IAM
↓
User GroupsQuestions:
- Are permissions appropriate?
- Are users assigned correctly?
- Are groups still required?
aws iam list-groupsStep 4 — Review IAM Roles
Section titled “Step 4 — Review IAM Roles”Navigate to:
IAM
↓
RolesReview:
- Service Roles
- Cross-Account Roles
- EC2 Roles
- Lambda Roles
Questions:
- Is the trust policy correct?
- Does the role follow least privilege?
aws iam list-rolesStep 5 — Review IAM Policies
Section titled “Step 5 — Review IAM Policies”Review:
- AWS Managed Policies
- Customer Managed Policies
- Inline Policies
Identify:
- Overly permissive policies
- Wildcards (*)
- AdministratorAccess
- Unused policies
aws iam list-policiesStep 6 — Review MFA Compliance
Section titled “Step 6 — Review MFA Compliance”Open:
IAM
↓
UsersVerify:
- Administrator MFA
- Security Team MFA
- Developers MFA
Questions:
- Which privileged users do not have MFA?
Generate Credential Report
aws iam generate-credential-reportRetrieve Report
aws iam get-credential-reportReview:
- MFA Enabled
- Password Enabled
- Password Last Used
Step 7 — Review Password Policy
Section titled “Step 7 — Review Password Policy”Navigate:
IAM
↓
Account SettingsVerify:
- Minimum Length
- Password Complexity
- Expiry
- Password Reuse
CLI
aws iam get-account-password-policyStep 8 — Review Access Keys
Section titled “Step 8 — Review Access Keys”Review:
- Active Keys
- Inactive Keys
- Old Keys
- Unused Keys
Questions:
- Which keys should be rotated?
- Which keys should be deleted?
CLI
aws iam list-access-keys \--user-name USERNAMEStep 9 — Review IAM Access Analyzer
Section titled “Step 9 — Review IAM Access Analyzer”Open:
IAM
↓
Access AnalyzerReview:
- External Access
- Public Access
- Cross-Account Access
Questions:
- Are there unexpected external principals?
- Which findings require immediate action?
Step 10 — Review Administrator Access
Section titled “Step 10 — Review Administrator Access”Identify every user, group and role with:
AdministratorAccessDetermine:
- Is it justified?
- Can permissions be reduced?
- Should the user receive a custom policy?
Step 11 — Review Least Privilege
Section titled “Step 11 — Review Least Privilege”Select one Developer account.
Review permissions.
Questions:
- Can the developer delete production resources?
- Can the developer modify IAM?
- Can the developer create new users?
- Can the developer access billing?
Document all findings.
Step 12 — Create Security Findings
Section titled “Step 12 — Create Security Findings”Document all identified risks.
Example:
| Finding | Risk | Severity | Recommendation |
|---|---|---|---|
| AdministratorAccess assigned to Developers | High | Critical | Replace with Least Privilege Policy |
| No MFA on privileged account | High | Critical | Enable MFA Immediately |
| Old Access Keys | Medium | High | Rotate Keys |
| Shared Administrator Account | High | Critical | Create Individual Accounts |
| Unused IAM Users | Medium | Medium | Remove Users |
Step 13 — Create Remediation Plan
Section titled “Step 13 — Create Remediation Plan”Prepare a remediation roadmap.
Example:
Immediate (Within 24 Hours)
Section titled “Immediate (Within 24 Hours)”- Enable MFA
- Remove shared accounts
- Remove inactive users
Short Term (30 Days)
Section titled “Short Term (30 Days)”- Replace AdministratorAccess
- Rotate Access Keys
- Update Password Policy
Long Term (90 Days)
Section titled “Long Term (90 Days)”- Implement IAM Identity Center
- Quarterly IAM Reviews
- Automated IAM Compliance Monitoring
Step 14 — Validation
Section titled “Step 14 — Validation”Verify:
- Risks Identified
- Findings Documented
- Credential Report Reviewed
- Password Policy Reviewed
- MFA Reviewed
- Access Keys Reviewed
- IAM Roles Reviewed
- Least Privilege Evaluated
- Recommendations Completed
🧪 Enterprise Challenge
Section titled “🧪 Enterprise Challenge”CloudNova plans to expand from 50 employees to 500 employees over the next year.
Prepare an IAM strategy that includes:
- Organisational structure
- IAM Groups
- IAM Roles
- Identity Center
- MFA Enforcement
- Cross-Account Strategy
- Access Review Process
- Joiner / Mover / Leaver Process
Present your proposal as if you were briefing the Chief Information Security Officer (CISO).
📄 Deliverables
Section titled “📄 Deliverables”Capture screenshots of:
- IAM Dashboard
- IAM Users
- IAM Groups
- IAM Roles
- IAM Policies
- Password Policy
- Credential Report
- IAM Access Analyzer
Submit:
- IAM Security Assessment Report
- Risk Register
- Remediation Plan
- Executive Summary
- Updated IAM Architecture Diagram
🧹 Cleanup
Section titled “🧹 Cleanup”Do NOT delete:
- IAM Groups
- IAM Roles
- IAM Users required for future labs
- Password Policy
- IAM Access Analyzer
If you created any temporary users, policies or roles during testing, remove them before completing the lab.
✅ Runbook Checklist
Section titled “✅ Runbook Checklist”- IAM Dashboard Reviewed
- IAM Users Reviewed
- IAM Groups Reviewed
- IAM Roles Reviewed
- IAM Policies Reviewed
- Password Policy Reviewed
- Credential Report Generated
- MFA Compliance Reviewed
- Access Keys Reviewed
- Access Analyzer Reviewed
- Risks Documented
- Remediation Plan Completed
- Executive Summary Prepared
💡 Lessons Learned
Section titled “💡 Lessons Learned”What were the most critical IAM risks identified?
Section titled “What were the most critical IAM risks identified?”How does the Principle of Least Privilege improve security?
Section titled “How does the Principle of Least Privilege improve security?”Which remediation activities should be prioritised?
Section titled “Which remediation activities should be prioritised?”How can IAM reviews become part of ongoing security operations?
Section titled “How can IAM reviews become part of ongoing security operations?”🚀 Next Module
Section titled “🚀 Next Module”03 — AWS Organizations & Multi-Account Security
In the next module, you will learn how enterprises manage multiple AWS accounts securely using AWS Organizations, Organizational Units (OUs), Service Control Policies (SCPs), centralized governance, and cross-account security controls.