0Pricing
AWS Security Academy · Lesson

Preparing an IR Account and Toolkit

Set up a dedicated environment ready for investigations.

Preparing an IR Account and Toolkit is a free AWS Security Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AWS Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.

A Dedicated IR Account

Mature AWS organizations create a separate security or incident-response account. It is isolated from production so an attacker who compromises a workload cannot reach your investigation tools or evidence.

This account holds forensic resources, centralized logs, and the roles responders assume when an event begins.

Why Separation Helps

If logs and tooling lived in the same account as the breach, the attacker could delete them to cover their tracks.

An isolated IR account, often paired with a separate log archive account, keeps evidence and capabilities beyond the attacker's reach even during a full compromise of production.

Pre-Provisioned Access

Define the IAM roles responders will assume before an incident. Cross-account roles let your IR account reach into a compromised account to snapshot disks or change security groups.

These roles are tightly scoped, heavily logged, and alerted on, so elevated access is ready instantly yet never silently abused.

The Forensic Toolkit

Stock the IR account with ready-to-use tools: a hardened forensic AMI, scripts to acquire and mount volumes read-only, and automation documents for common containment steps.

Pre-building these means responders spend their time investigating, not assembling tooling while the clock is ticking.

Centralized Logging

Aggregate CloudTrail, VPC Flow Logs, and Config history into the IR or log-archive account.

Centralization gives investigators one trusted place to query with Athena and ensures the audit trail survives even if individual accounts are wiped. It is the backbone of any AWS investigation.

Immutable Evidence Storage

Store collected evidence in an S3 bucket with Object Lock in compliance mode, so even an administrator cannot delete or overwrite it for a set retention period.

This guarantees a defensible chain of custody and protects evidence from both attackers and accidental loss.

Automation Ready to Fire

Pre-deploy the EventBridge rules, Lambda functions, and SSM Automation documents that perform isolation and acquisition.

When a GuardDuty finding lands, automation can quarantine the resource in seconds. Having it built and tested in advance is the difference between a fast and a fumbled response.

Communication Channels

Prepare out-of-band communication. If the attacker is in your environment, you cannot trust internal email or chat that may be monitored.

Have a separate channel, an up-to-date contact list, and an escalation path ready. Knowing exactly who to call and how is part of the toolkit.

Test the Whole Setup

An untested IR account gives false confidence. Run game days that exercise cross-account role assumption, evidence acquisition, and the automation end to end.

Testing reveals expired permissions, broken scripts, and gaps while it is cheap to fix them — long before a real attacker forces the issue.

Least Privilege Always

Even responders follow least privilege. IR roles grant exactly the actions needed for investigation and containment, no more.

Break-glass roles with broader power exist but stay dormant, generate alerts when used, and are reviewed afterward. Powerful access that is always on is itself a liability.

Keep It Ready Between Incidents

An IR account decays if ignored. Permissions expire, AMIs go stale, and automation drifts from the live environment.

Treat the account as living infrastructure: manage it as code, patch the forensic AMI, rotate any credentials, and review cross-account trust regularly so the toolkit is genuinely ready the moment an incident is declared.

Quick Check

Why the dedicated account?

Recap

Prepare a dedicated, isolated IR account with pre-provisioned cross-account roles, a forensic toolkit, and centralized logging that survives a production compromise. Store evidence in Object Lock buckets for an immutable chain of custody, pre-deploy isolation automation, and keep an out-of-band communication path ready. Apply least privilege even to responders, and prove the whole setup works through regular game days.

Frequently asked questions

Is the “Preparing an IR Account and Toolkit” lesson free?

Yes — the full text of “Preparing an IR Account and Toolkit” is free to read here on the web, and the AWS Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AWS Security Academy course, upgrade to CoddyKit PRO.

What will I learn in “Preparing an IR Account and Toolkit”?

Set up a dedicated environment ready for investigations. You practise AWS Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.

Do I need any experience to start AWS Security Academy?

No prior experience is required. AWS Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.

How long does the “Preparing an IR Account and Toolkit” lesson take?

Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.

Can I write and run code in this AWS Security Academy lesson?

Yes. Every AWS Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.

All lessons in this course

  1. The Incident Response Lifecycle on AWS
  2. Building Runbooks for Common Events
  3. Isolating a Resource for Forensics
  4. Preparing an IR Account and Toolkit
← Back to AWS Security Academy