Lesson 10 Blue Team Capstone: Full Defense Scenario
Theme:
Lesson 10 · Slide 1

Blue Team Capstone: Full Defense Scenario

The culmination of everything you have learned — bringing together monitoring, detection, response, forensics, and hardening into a single integrated defense operation, augmented by AI at every step.

What We Cover

Full lifecycle defense against a multi-stage attack using every tool and technique from Lessons 1-9

Capstone Challenge

Defend a live network, detect intrusions, respond, recover, and write the final report

Defense-in-Depth SOC Workflow AI-Augmented STRIDE/DREAD Incident Response Forensics
Lesson 10 · Slide 2

Educational Use Disclaimer

⚠ Educational Use Only

This capstone combines all defensive techniques from the course. These skills are for authorized security operations and CTF competitions. Always follow your organization's security policies and procedures.

Everything in this lesson assumes you are operating within a sanctioned environment — your own lab, an authorized engagement, or a CTF competition. Unauthorized use of these techniques against systems you do not own is illegal.

Lesson 10 · Slide 3

Course Recap: Lessons 1-9

LessonCore SkillCapstone Role
1 — SOC FundamentalsAlert triage & SIEM basicsInitial detection layer
2 — Log AnalysisPattern recognition in logsEvidence collection
3 — Network DefenseTraffic analysis & IDSNetwork monitoring
4 — Endpoint SecurityHost-based detectionEndpoint protection
5 — Threat IntelligenceIOC feeds & enrichmentContextual awareness
6 — Incident ResponseContainment & eradicationActive response
7 — Digital ForensicsEvidence preservation & analysisPost-incident analysis
8 — AI-Augmented DefenseLLM-powered analysisAI at every stage
9 — Hardening & PreventionConfiguration & patchingPost-incident hardening
Lesson 10 · Slide 4

Defense-in-Depth Architecture

No single control stops a determined attacker. Defense-in-depth layers multiple controls so that failure at one layer is caught by the next.

  1. Perimeter — Firewalls, WAF, DDoS mitigation, DNS filtering
  2. Network — IDS/IPS, network segmentation, traffic analysis, NetFlow monitoring
  3. Endpoint — EDR, host firewalls, application whitelisting, OS hardening
  4. Application — Input validation, authentication, authorization, secure coding
  5. Data — Encryption at rest/in transit, DLP, access controls, backup verification
  6. Human — Security awareness training, phishing simulations, access reviews
  7. AI Layer — LLM-assisted anomaly correlation, automated triage, predictive analysis
Notes: The AI layer is not a replacement for any other layer — it enhances every layer by accelerating analyst decision-making and surfacing patterns humans might miss.
Lesson 10 · Slide 5

Defense-in-Depth: Architecture Diagram

                    ┌──────────────────────────────────┐
                    │         AI CORRELATION           │
                    │   (LLM analysis across layers)   │
                    └────────────────┬─────────────────┘
                                     │
    ┌────────────┬──────────────┬────┴──────┬──────────────┬────────────┐
    │            │              │           │              │            │
┌───┴───┐  ┌────┴────┐  ┌─────┴─────┐ ┌───┴───┐  ┌──────┴──────┐ ┌───┴───┐
│Perim- │  │ Network │  │ Endpoint  │ │  App  │  │    Data     │ │ Human │
│eter   │  │         │  │           │ │       │  │             │ │       │
│-------│  │---------│  │-----------│ │-------│  │-------------│ │-------│
│FW/WAF │  │IDS/IPS  │  │EDR/AV     │ │AuthN  │  │Encryption   │ │Train  │
│DDoS   │  │Segm.    │  │Whitelist  │ │AuthZ  │  │DLP          │ │Phish  │
│DNS    │  │NetFlow   │  │Hardening  │ │Input  │  │Backups      │ │Review │
└───────┘  └─────────┘  └───────────┘ └───────┘  └─────────────┘ └───────┘

Each layer feeds telemetry into the centralized SIEM, where the AI correlation engine connects dots across layers in real time.

Lesson 10 · Slide 6

SOC Workflow with AI Augmentation

A modern Security Operations Center operates in a continuous loop. AI enhances each phase without replacing human judgment.

Traditional SOC

  • Analyst manually triages alerts
  • Playbook-driven response
  • High alert fatigue
  • Hours to correlate events
  • Reactive posture

AI-Augmented SOC

  • AI pre-triages and prioritizes
  • Dynamic playbook suggestions
  • Reduced false positive noise
  • Seconds to correlate events
  • Proactive threat hunting
Lesson 10 · Slide 7

SOC Tier Model & AI Integration

SOC TierRoleAI Augmentation
Tier 1 — Alert AnalystInitial triage, ticket creationAuto-classification, severity scoring, context enrichment
Tier 2 — Incident ResponderDeep investigation, containmentAttack chain reconstruction, IOC correlation, suggested actions
Tier 3 — Threat HunterProactive hunting, tool developmentAnomaly detection, hypothesis generation, query building
SOC ManagerMetrics, reporting, staffingAutomated KPI dashboards, trend analysis, executive summaries
Notes: AI does not eliminate tiers — it elevates each tier's capability. A Tier 1 analyst with AI assistance can perform at near Tier 2 level for routine incidents.
Lesson 10 · Slide 8

The Full Defense Lifecycle

Every defense scenario follows this cycle. The capstone challenge will test your ability to execute each phase under pressure.

   MONITOR ──→ DETECT ──→ RESPOND ──→ FORENSICS ──→ HARDEN
      ↑                                                   │
      └────────────── CONTINUOUS IMPROVEMENT ──────────────┘
  1. Monitor — Collect and aggregate telemetry from all layers
  2. Detect — Identify anomalies and confirmed threats via rules + AI
  3. Respond — Contain, eradicate, and recover from the threat
  4. Forensics — Preserve evidence, analyze root cause, build timeline
  5. Harden — Patch, reconfigure, add detection rules, update policies
Lesson 10 · Slide 9

Scenario Introduction: "Operation Shadow Breach"

Scenario Overview

You are the lead blue team analyst for Nexus Financial Corp. At 02:47 UTC, your SIEM fires a cluster of alerts. Over the next several hours, a sophisticated threat actor executes a multi-stage attack across your infrastructure. Your mission: detect every phase, contain the damage, preserve evidence, and harden the environment — using AI assistance at every step.

Target Environment

Lesson 10 · Slide 10

Phase 1: Monitoring — Baseline & Collection

Before you can detect anomalies, you need to know what "normal" looks like. Your monitoring stack must cover every layer.

Log Sources for the Scenario

# Monitoring stack configuration
log_sources:
  network:
    - zeek_conn_logs        # Connection metadata
    - suricata_alerts       # IDS signature matches
    - netflow_v9            # Traffic flow records
    - dns_query_logs        # DNS resolution tracking
  endpoint:
    - windows_security_log  # Event IDs 4624, 4625, 4688, etc.
    - sysmon_events         # Process creation, network, file
    - linux_auditd          # Syscall auditing
    - edr_telemetry         # CrowdStrike/Defender events
  application:
    - nginx_access_log      # Web request logs
    - nginx_error_log       # Server errors
    - auth_service_log      # Authentication events
    - database_audit_log    # SQL query auditing
  cloud:
    - aws_cloudtrail        # API call history
    - vpc_flow_logs         # Network flows in AWS
    - s3_access_logs        # Bucket access tracking
Lesson 10 · Slide 11

AI-Powered Baseline Monitoring

Use an LLM to analyze your baseline and flag deviations before traditional rules catch them.

import anthropic

def ai_baseline_analysis(current_metrics, baseline_stats):
    """Use AI to compare current metrics against established baselines."""
    client = anthropic.Anthropic()

    prompt = f"""Analyze these current network metrics against our baseline.
Flag anything anomalous and explain why it matters.

BASELINE (30-day average):
{baseline_stats}

CURRENT (last 15 minutes):
{current_metrics}

For each anomaly found, provide:
1. Metric name and current vs expected value
2. Deviation severity (low/medium/high/critical)
3. Possible benign explanation
4. Possible malicious explanation
5. Recommended investigation steps"""

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=2000,
        messages=[{"role": "user", "content": prompt}]
    )
    return response.content[0].text
Notes: This approach catches "low and slow" attacks that operate within normal thresholds individually but form suspicious patterns collectively.
Lesson 10 · Slide 12

Phase 2: Detection — The Attack Begins

02:47 UTC — Initial Alerts Fire

SIEM Alert Cluster

Alert 1: Suricata — ET EXPLOIT Apache Struts RCE Attempt (10.0.1.50)
Alert 2: Suricata — ET EXPLOIT Apache Struts RCE Attempt (10.0.1.50)
Alert 3: Sysmon — Suspicious PowerShell Encoded Command (WS-042)
Alert 4: Zeek — Unusual DNS TXT Query Volume (internal → external)
Alert 5: CloudTrail — AssumeRole from unusual IP (198.51.100.47)

Five alerts in 3 minutes. A Tier 1 analyst might treat these as separate events. AI correlation reveals they are one attack with multiple fronts.

Lesson 10 · Slide 13

AI-Powered Alert Correlation

def correlate_alerts_with_ai(alerts):
    """Feed multiple alerts to AI for cross-layer correlation."""
    client = anthropic.Anthropic()

    alert_text = "\n".join([
        f"[{a['timestamp']}] {a['source']}: {a['description']} "
        f"(src={a['src_ip']}, dst={a['dst_ip']})"
        for a in alerts
    ])

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=3000,
        messages=[{"role": "user", "content": f"""You are a SOC analyst.
Correlate these alerts and determine if they represent:
A) Unrelated events  B) Related campaign  C) Active multi-stage attack

ALERTS:
{alert_text}

Provide:
1. Correlation assessment with confidence level
2. Attack chain hypothesis (MITRE ATT&CK mapping)
3. Predicted next attacker moves
4. Immediate containment recommendations
5. Evidence to preserve NOW before it is lost"""}]
    )
    return response.content[0].text

The AI identifies this as a coordinated attack: web exploitation + lateral movement + data staging + cloud pivot. Confidence: 94%.

Lesson 10 · Slide 14

MITRE ATT&CK Mapping of the Attack

TacticTechniqueEvidence
Initial AccessT1190 — Exploit Public-Facing AppStruts RCE attempts on web server
ExecutionT1059.001 — PowerShellEncoded command on WS-042
PersistenceT1053.005 — Scheduled TaskNew task on compromised host
Defense EvasionT1027 — Obfuscated FilesBase64 PowerShell, packed binaries
Lateral MovementT1021.002 — SMB/Admin SharesUnusual SMB connections
CollectionT1560 — Archive Collected Data7zip activity on file server
ExfiltrationT1048.001 — Exfil Over DNSHigh-volume DNS TXT queries
CloudT1078.004 — Cloud AccountsAssumeRole from attacker IP
Lesson 10 · Slide 15

Phase 3: Response — Containment

With the attack confirmed, containment must be swift and surgical. Contain too broadly and you disrupt business; too narrowly and the attacker pivots.

Immediate Containment Actions

  1. Network isolation — Move compromised web server (10.0.1.50) to quarantine VLAN
  2. Block attacker IPs — 198.51.100.47 and related C2 infrastructure at perimeter firewall
  3. DNS sinkhole — Redirect exfiltration domain to internal sinkhole
  4. Credential reset — Force password change for accounts on WS-042 and any AD accounts accessed
  5. Cloud lockdown — Revoke compromised IAM role sessions, rotate access keys
# Emergency firewall block
sudo iptables -I INPUT -s 198.51.100.47 -j DROP
sudo iptables -I OUTPUT -d 198.51.100.47 -j DROP

# DNS sinkhole entry
echo "198.51.100.47 exfil-c2.evil.example" >> /etc/hosts

# AWS session revocation
aws iam put-role-policy --role-name CompromisedRole \
  --policy-name EmergencyDeny \
  --policy-document '{"Version":"2012-10-17","Statement":[{"Effect":"Deny","Action":"*","Resource":"*","Condition":{"DateLessThan":{"aws:TokenIssueTime":"2026-04-09T03:00:00Z"}}}]}'
Lesson 10 · Slide 16

AI-Assisted Incident Response Playbook

def generate_response_playbook(incident_summary, environment_context):
    """Generate a tailored IR playbook using AI."""
    client = anthropic.Anthropic()

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=4000,
        messages=[{"role": "user", "content": f"""As a senior incident responder,
generate a step-by-step playbook for this incident.

INCIDENT SUMMARY:
{incident_summary}

ENVIRONMENT:
{environment_context}

Include for EACH step:
- Action to take (specific commands where possible)
- Purpose / what this achieves
- Risk if skipped
- Verification check (how to confirm success)
- Estimated time to complete

Organize by priority: P0 (immediate), P1 (within 1 hour), P2 (within 4 hours)."""}]
    )
    return response.content[0].text

Why AI Playbooks?

Static playbooks cannot anticipate every scenario. AI generates context-specific steps based on the exact attack chain, environment topology, and available tools — then updates in real time as the situation evolves.

Lesson 10 · Slide 17

Phase 3 (cont.): Eradication

After containment stops the bleeding, eradication removes every trace of the attacker from the environment.

Eradication Checklist

# Find and remove attacker scheduled tasks (Windows)
Get-ScheduledTask | Where-Object {
    $_.Date -gt "2026-04-08" -and
    $_.Author -notmatch "SYSTEM|Microsoft"
} | ForEach-Object {
    Write-Host "Removing suspicious task: $($_.TaskName)"
    Unregister-ScheduledTask -TaskName $_.TaskName -Confirm:$false
}
Lesson 10 · Slide 18

Phase 4: Forensics — Evidence & Timeline

Forensics runs in parallel with response. The golden rule: preserve first, analyze second.

Evidence Collection Priority

PriorityEvidence TypeVolatilityCollection Method
1Memory dumpsHighestwinpmem / LiME
2Network capturesHighFull PCAP from tap/span
3Running processesHighvolatility3 analysis
4Log filesMediumSIEM export + raw copy
5Disk imagesLowdd / FTK Imager
6Cloud logsLowCloudTrail S3 export
Notes: Always calculate and record hashes (SHA-256) of forensic images. Maintain chain of custody documentation for any evidence that may be used in legal proceedings.
Lesson 10 · Slide 19

AI-Assisted Timeline Reconstruction

def build_attack_timeline(log_entries, memory_artifacts, network_captures):
    """Use AI to reconstruct a unified attack timeline."""
    client = anthropic.Anthropic()

    evidence = f"""LOG ENTRIES (sorted by time):
{log_entries}

MEMORY ARTIFACTS:
{memory_artifacts}

NETWORK CAPTURES (summary):
{network_captures}"""

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=4000,
        messages=[{"role": "user", "content": f"""Reconstruct a forensic timeline
from this evidence. For each event:

- Timestamp (UTC)
- Source of evidence
- Action taken by attacker
- MITRE ATT&CK technique
- Confidence level (confirmed/probable/possible)
- Gaps or missing evidence

Also identify:
- Earliest confirmed compromise time
- Dwell time estimate
- Data at risk / confirmed exfiltrated
- Any evidence of anti-forensics

{evidence}"""}]
    )
    return response.content[0].text
Lesson 10 · Slide 20

Scenario Timeline: Operation Shadow Breach

Time (UTC)EventLayer
02:31Reconnaissance — port scan from 198.51.100.47Network
02:38Vulnerability scan targeting Apache StrutsApplication
02:44Successful RCE exploit on web server 10.0.1.50Application
02:45Reverse shell established, C2 beacon activatedNetwork
02:47First SIEM alerts fire (detection point)SOC
02:52Credential harvesting via Mimikatz on web serverEndpoint
03:01Lateral movement to WS-042 via stolen credentialsEndpoint
03:08Pivot to file server, data staging beginsEndpoint
03:15DNS exfiltration channel establishedNetwork
03:22Cloud pivot — AssumeRole with stolen keysCloud
03:30Containment actions initiated by blue teamSOC

Dwell time before detection: 3 minutes. Dwell time before containment: 46 minutes.

Lesson 10 · Slide 21

Threat Modeling: STRIDE & DREAD

After the incident, use threat modeling to understand what went wrong and what else could go wrong.

STRIDE (Threat Categories)

  • Spoofing — Identity falsification
  • Tampering — Data modification
  • Repudiation — Denying actions
  • Information Disclosure — Data leaks
  • Denial of Service — Availability attacks
  • Elevation of Privilege — Unauthorized access

DREAD (Risk Scoring)

  • Damage — How severe is the impact?
  • Reproducibility — How easy to replicate?
  • Exploitability — How easy to exploit?
  • Affected Users — How many impacted?
  • Discoverability — How easy to find?
Lesson 10 · Slide 22

AI-Assisted Threat Modeling

def ai_threat_model(system_description, known_vulnerabilities):
    """Use AI to perform STRIDE/DREAD analysis."""
    client = anthropic.Anthropic()

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=4000,
        messages=[{"role": "user", "content": f"""Perform a threat model for this system.

SYSTEM:
{system_description}

KNOWN VULNERABILITIES / RECENT INCIDENTS:
{known_vulnerabilities}

For each component, apply STRIDE analysis:
1. Identify threats per STRIDE category
2. Score each using DREAD (1-10 per dimension)
3. Calculate overall risk score
4. Recommend mitigations prioritized by risk
5. Identify trust boundaries and data flows at risk

Format as a structured report suitable for both
technical and management audiences."""}]
    )
    return response.content[0].text
Notes: AI excels at threat modeling because it can consider thousands of known attack patterns and map them to your specific architecture. Always validate AI output with domain experts.
Lesson 10 · Slide 23

STRIDE Analysis: Operation Shadow Breach

STRIDE CategoryThreat IdentifiedDREAD ScoreMitigation
SpoofingStolen credentials used for lateral movement8.2MFA everywhere, credential monitoring
TamperingAttacker modified scheduled tasks6.8File integrity monitoring, GPO lockdown
RepudiationCloud audit logs could be disabled5.4Immutable logging, log forwarding
Info DisclosureData exfiltrated via DNS tunneling9.1DNS monitoring, DLP, encryption at rest
Denial of ServiceWeb server taken offline during response4.6Redundancy, failover, WAF
ElevationRCE to admin via unpatched Struts9.4Patching SLA, WAF rules, least privilege
Lesson 10 · Slide 24

Building a Complete Monitoring Stack

A production-grade security monitoring stack integrates open-source and commercial tools, unified by a central SIEM with AI analytics.

# Complete security monitoring stack
monitoring_stack:
  siem:
    primary: "Elastic Security (ELK)"
    retention: "90 days hot, 1 year warm, 7 years cold"
    ai_integration: "LLM API for alert enrichment"

  network:
    ids: "Suricata"
    traffic_analysis: "Zeek"
    flow_collection: "ntopng / NetFlow"
    packet_capture: "Arkime (full PCAP)"
    dns_monitoring: "passivedns + Pi-hole logs"

  endpoint:
    edr: "Wazuh / CrowdStrike"
    sysmon: "SwiftOnSecurity config"
    auditd: "STIG-compliant rules"
    fim: "OSSEC file integrity"

  cloud:
    aws: "CloudTrail + GuardDuty + Config"
    log_aggregation: "CloudWatch → Elastic"

  threat_intel:
    feeds: ["MISP", "AlienVault OTX", "abuse.ch"]
    enrichment: "AI-powered IOC correlation"

  automation:
    soar: "Shuffle / TheHive + Cortex"
    playbooks: "AI-generated, human-approved"
Lesson 10 · Slide 25

Monitoring Stack Data Flow

┌─────────────┐  ┌──────────────┐  ┌──────────────┐
│  Endpoints   │  │   Network    │  │    Cloud     │
│  (Sysmon,    │  │  (Suricata,  │  │ (CloudTrail, │
│   Wazuh)     │  │   Zeek)      │  │  GuardDuty)  │
└──────┬───────┘  └──────┬───────┘  └──────┬───────┘
       │                 │                 │
       └─────────────────┼─────────────────┘
                         ▼
              ┌─────────────────────┐
              │   Log Aggregation   │
              │  (Logstash/Fluentd) │
              └──────────┬──────────┘
                         ▼
              ┌─────────────────────┐
              │   Elastic Security  │◄──── Threat Intel Feeds
              │       (SIEM)        │       (MISP, OTX)
              └──────────┬──────────┘
                         ▼
              ┌─────────────────────┐
              │   AI Correlation    │
              │   (LLM Analysis)    │
              └──────────┬──────────┘
                         ▼
              ┌─────────────────────┐
              │   SOAR Platform     │──── Automated Playbooks
              │ (TheHive + Cortex)  │──── Analyst Notifications
              └─────────────────────┘
Lesson 10 · Slide 26

Security Metrics & KPIs

You cannot improve what you do not measure. These metrics prove the value of your SOC and guide investment decisions.

MetricDefinitionTargetOur Scenario
MTTDMean Time To Detect< 5 min3 min
MTTRMean Time To Respond< 60 min43 min
MTTCMean Time To Contain< 30 min46 min
FPRFalse Positive Rate< 10%8%
Alert VolumeAlerts per analyst per day< 5035
Dwell TimeAttacker presence duration< 24 hrs46 min
CoverageATT&CK techniques detected> 70%82%
Lesson 10 · Slide 27

Measuring AI Impact on SOC Performance

Before AI Integration

  • MTTD: 14 minutes
  • MTTR: 2.5 hours
  • False Positive Rate: 32%
  • Alerts per analyst: 120/day
  • ATT&CK coverage: 54%

After AI Integration

  • MTTD: 3 minutes (-79%)
  • MTTR: 43 minutes (-71%)
  • False Positive Rate: 8% (-75%)
  • Alerts per analyst: 35/day (-71%)
  • ATT&CK coverage: 82% (+52%)

AI does not just make analysts faster — it fundamentally changes what a SOC team can achieve. These numbers are the language that justifies budget to leadership.

Lesson 10 · Slide 28

Phase 5: Hardening — Closing the Gaps

Every incident is a lesson. Hardening transforms incident findings into permanent defensive improvements.

Post-Incident Hardening Actions

  1. Patch management — Emergency patch for Apache Struts; review patch SLAs for all internet-facing services
  2. Network segmentation — Isolate web tier from internal network; restrict SMB to necessary paths only
  3. DNS security — Deploy DNS-over-HTTPS monitoring; add anomaly detection for TXT record queries
  4. Credential hardening — Enforce MFA for all admin accounts; deploy credential guard on Windows endpoints
  5. Cloud security — Restrict AssumeRole to known IPs; enable CloudTrail log file validation
  6. Detection rules — Add 12 new SIEM rules based on observed TTPs
Lesson 10 · Slide 29

AI-Generated Detection Rules

def generate_detection_rules(incident_ttps, log_format="sigma"):
    """Generate new detection rules from incident findings."""
    client = anthropic.Anthropic()

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=4000,
        messages=[{"role": "user", "content": f"""Based on these TTPs observed
during an incident, generate detection rules in {log_format} format.

OBSERVED TTPs:
{incident_ttps}

For each rule provide:
1. Rule in {log_format} format
2. MITRE ATT&CK mapping
3. Expected false positive sources
4. Tuning recommendations
5. Severity and confidence levels

Generate rules that would have caught this attack EARLIER."""}]
    )
    return response.content[0].text

Example AI-Generated Sigma Rule

title: DNS TXT Query Volume Anomaly
status: experimental
description: Detects high volume DNS TXT queries indicating possible data exfil
logsource:
    category: dns
detection:
    selection:
        query_type: "TXT"
    timeframe: 5m
    condition: selection | count(query) by src_ip > 50
level: high
tags:
    - attack.exfiltration
    - attack.t1048.001
Lesson 10 · Slide 30

Continuous Improvement: Threat Intelligence Feeds

Static defenses lose effectiveness over time. Continuous improvement means your defenses evolve as fast as the threat landscape.

AI-Updated Detection Pipeline

def update_detections_from_threat_intel(new_iocs, existing_rules):
    """Use AI to merge new threat intel into existing detection rules."""
    client = anthropic.Anthropic()

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=3000,
        messages=[{"role": "user", "content": f"""Review these new IOCs from
threat intelligence feeds and recommend updates to our detection rules.

NEW THREAT INTELLIGENCE:
{new_iocs}

EXISTING RULES (summary):
{existing_rules}

For each recommendation:
1. Which existing rule to update (or new rule needed)
2. Specific changes to make
3. Rationale tied to threat actor behavior
4. Risk of false positives from the change
5. Priority (deploy immediately / next maintenance window / backlog)"""}]
    )
    return response.content[0].text

Feed Sources to Integrate

MISP (community IOCs), AlienVault OTX (open threat exchange), abuse.ch (malware/botnet tracking), VirusTotal (file/URL reputation), Shodan (exposure monitoring), and sector-specific ISACs.

Lesson 10 · Slide 31

Report Writing: Executive Summary

Every incident ends with a report. The executive summary is what leadership reads. The technical appendix is what your peers review.

def generate_executive_summary(incident_data):
    """Generate an executive-friendly incident summary."""
    client = anthropic.Anthropic()

    response = client.messages.create(
        model="claude-sonnet-4-20250514",
        max_tokens=2000,
        messages=[{"role": "user", "content": f"""Write an executive summary
for this security incident. The audience is C-suite and board members.

INCIDENT DATA:
{incident_data}

Requirements:
- No jargon — explain technical terms in business language
- Lead with business impact (financial, operational, reputational)
- Include timeline with key milestones
- State what data was at risk and what was confirmed compromised
- Summarize response actions and their effectiveness
- List top 3 investment recommendations with cost/benefit
- Keep under 500 words
- Professional, factual tone — no speculation without labeling it"""}]
    )
    return response.content[0].text
Lesson 10 · Slide 32

Report Writing: Technical Report Structure

Full Technical Incident Report Outline

  1. Executive Summary — Business impact, key findings, recommendations
  2. Incident Overview — Classification, severity, scope, affected systems
  3. Timeline — Minute-by-minute chronology with evidence sources
  4. Attack Chain Analysis — MITRE ATT&CK mapping, full kill chain walkthrough
  5. Technical Findings — IOCs, malware analysis, vulnerability details
  6. Response Actions — What was done, when, by whom, and the outcome
  7. Forensic Evidence — Chain of custody, artifacts collected, analysis results
  8. Root Cause Analysis — Why it happened, contributing factors
  9. Lessons Learned — What worked, what did not, what to change
  10. Recommendations — Prioritized hardening actions with timelines and owners
  11. Appendices — Full IOC list, raw logs, tool output, Sigma rules created
Notes: AI can draft each section from your raw notes and evidence. Always review AI-generated reports for accuracy — AI may infer causation where only correlation exists.
Lesson 10 · Slide 33

Combining All Tools & Techniques

The capstone challenge requires you to use every major tool and technique from the course. Here is the integrated toolkit.

PhaseToolsAI Role
MonitorELK, Zeek, Suricata, Sysmon, CloudTrailBaseline anomaly detection
DetectSIEM rules, Sigma, YARA, SnortAlert correlation & prioritization
RespondTheHive, Cortex, iptables, AWS CLIPlaybook generation & guidance
ForensicsVolatility, Autopsy, Wireshark, plasoTimeline reconstruction & analysis
HardenCIS Benchmarks, Ansible, TerraformRule generation & config review
ReportMarkdown, LaTeX, JIRADrafting & summarization
Lesson 10 · Slide 34

CTF Capstone Challenge: Operation Iron Shield

Mission Briefing

You are the blue team for MedTech Industries. An active, multi-stage attack is underway against your healthcare infrastructure. Patient data, research IP, and operational systems are all at risk. Detect, respond, and recover using AI at every step. You have 4 hours.

Challenge Phases

  1. Phase A: Detection (60 min) — Analyze provided SIEM alerts, PCAP files, and log bundles. Identify all attack stages and map to MITRE ATT&CK.
  2. Phase B: Response (60 min) — Write and execute containment commands. Generate an AI-assisted response playbook. Document every action taken.
  3. Phase C: Forensics (60 min) — Build a complete attack timeline from evidence. Identify IOCs, determine data exposure, perform memory analysis.
  4. Phase D: Harden & Report (60 min) — Create detection rules for observed TTPs. Write both executive and technical reports. Propose a 90-day hardening plan.
Lesson 10 · Slide 35

Capstone: Attack Scenario Details

The Attack You Will Face

Key Challenge

The ransomware (Stage 7) is a distraction. The real objective was data theft in Stages 5-6. Can your team identify the true threat while managing the visible crisis?

Lesson 10 · Slide 36

Capstone: Provided Materials

What You Receive

AI Access

You have full access to the Claude API throughout the challenge. How you use it is part of the evaluation. Be strategic — document every AI interaction and how it influenced your decisions.

Lesson 10 · Slide 37

Scoring Rubric: Phase A — Detection

CriterionPointsDescription
Attack stages identified20Each of 7 stages correctly identified (partial credit for incomplete)
MITRE ATT&CK mapping15Accurate technique IDs for each stage
IOC extraction10Complete list of IPs, domains, hashes, file paths
AI-assisted correlation10Effective use of AI for cross-log correlation
False flag identification5Recognizing ransomware as diversion

Phase A Total: 60 points

Scoring Rubric: Phase B — Response

CriterionPointsDescription
Containment actions15Appropriate, timely, well-scoped containment
Eradication completeness10All persistence mechanisms identified and removed
AI playbook quality10Context-specific, actionable, prioritized steps
Business continuity5Minimized operational disruption during response
Command documentation5Every response command logged with timestamp

Phase B Total: 45 points

Lesson 10 · Slide 38

Scoring Rubric: Phases C & D

Phase C — Forensics (45 points)

CriterionPointsDescription
Timeline accuracy15Complete, chronologically correct attack timeline
Evidence handling10Proper chain of custody, hash verification
Memory analysis10Artifacts extracted from RAM dump (processes, network, injected code)
Data exposure assessment5Accurate determination of what data was accessed/exfiltrated
AI-assisted analysis5Effective use of AI for artifact interpretation

Phase D — Harden & Report (50 points)

CriterionPointsDescription
Detection rules10Valid Sigma/YARA rules for observed TTPs
90-day hardening plan10Prioritized, realistic, addresses root causes
Executive summary10Clear, non-technical, business-impact focused
Technical report10Complete, evidence-backed, properly structured
AI documentation10Clear record of how AI was used and its impact on outcomes

Grand Total: 200 points

Lesson 10 · Slide 39

Evaluation Criteria: Grading Scale

GradePointsDescription
Distinguished180-200Exceptional defense; identified all attack stages including the diversion; professional-quality reports
Proficient140-179Solid defense; detected most stages; effective containment and good documentation
Developing100-139Adequate defense; missed some attack stages or containment gaps; reports need improvement
Beginning< 100Significant gaps in detection or response; incomplete analysis and reporting

Bonus Points (up to 20)

Lesson 10 · Slide 40

Capstone Tips & Strategy

Do This

  • Start with the network diagram — understand the environment first
  • Use AI for initial alert triage to save time
  • Document everything as you go, not after
  • Preserve evidence before analyzing it
  • Look for what is NOT in the alerts (gaps in visibility)
  • Manage your time — 60 min per phase is strict

Avoid This

  • Do not chase the ransomware first — it is a distraction
  • Do not skip the memory analysis — critical evidence lives there
  • Do not blindly trust AI output — validate with evidence
  • Do not forget cloud logs — the attack spans on-prem and cloud
  • Do not write the report last — draft sections as you complete phases
  • Do not work alone if you have a team — divide by phase
Lesson 10 · Slide 41

Course Conclusion: The AI-Augmented Defender

Over 10 lessons, you have built a complete defensive skill set enhanced by AI at every stage. Here is what you now know how to do:

What Sets You Apart

You do not just know how to use security tools — you know how to think like a defender, leverage AI as a force multiplier, and communicate your findings effectively. That combination is rare and valuable.

Notes: Encourage students to continue practicing with CTF platforms (HackTheBox, TryHackMe, CyberDefenders) and to pursue certifications like CompTIA Security+, CySA+, or GCIA.
1 / ?