Skip to content

Repository files navigation

CloudSec SOC Detection Lab

License: All Rights Reserved Live: Vercel Live: GitHub Pages

Quick Links

I built this as an AWS-first SOC case file: five suspicious paths, the proof behind each one, and the workflow from signal to response. The lab covers identity pressure, cloud key misuse, EKS secret access, endpoint-to-data movement, and S3 access/exfiltration without exposing private tenant material.

This is the public-safe version of the work. The datasets are synthetic, the evidence visuals are sanitized or repo-owned, and the harness uses lab-safe replay events. It does not include private company names, tenant identifiers, private user data, real credentials, secret values, private prep notes, or production screenshots.

What This Project Shows

  • A dashboard-first SOC readout for analyst and leadership review.
  • Five detection scenarios mapped to triage, query pivots, proof anchors, and response decisions.
  • Public-safe evidence visuals that replace environment-specific screenshots.
  • A Lambda-based synthetic event replay harness.
  • Datadog log and monitor validation patterns using source:test-harness and synthetic:true.
  • AWS investigation context around CloudTrail, IAM, STS, S3, Secrets Manager, EKS, and KMS.
  • Detection design notes that explain telemetry assumptions, false-positive controls, and production extension paths.
  • Conservative ATT&CK coverage boundaries with validated, partial, and not-claimed technique handling.
  • Flowcharts, evidence templates, build notes, and a project overview deck.

Why It Is Framed This Way

I kept this repo as a case file instead of turning it into a monitor catalog. In SOC work, the hard part is rarely pointing at one alert; it is explaining why the activity matters, what evidence supports it, and what response decision follows. The dashboard, evidence map, and build notes are built around that flow.

Detection Scenarios

  1. Identity account takeover pattern.
  2. AWS credential misuse and privilege escalation.
  3. EKS workload identity and secret-access chain.
  4. Endpoint-to-MongoDB pivot investigation.
  5. S3 data access and possible exfiltration.

Repository Structure

dashboard/            Static dashboard UI, evidence visuals, and local runner
data/                 Synthetic CSV datasets used by the lab
docs/                 Flowcharts, build notes, query examples, and deck
harness/              Lambda and Datadog synthetic replay tooling
evidence-templates/   Public-safe source templates for evidence panels
tools/                Utility scripts for generated public-safe assets

Key Artifacts

  • Live dashboard (GitHub Pages): https://kalla-bhanu.github.io/CloudSec-SOC-Detection-Lab/
  • Live dashboard (Vercel): https://cloudsec-soc-detection-lab.vercel.app/dashboard/
  • Dashboard: dashboard/index.html
  • Flowcharts: docs/architecture-and-flowcharts.md
  • Build workflow: docs/build-workflow.md
  • Detection design notes: docs/detection-design-notes.md
  • ATT&CK coverage boundaries: docs/attack-coverage-boundaries.md
  • Reproducibility: docs/reproducibility.md
  • Evidence preservation and service retirement: docs/evidence-preservation-and-retirement.md
  • Maintenance checklist: docs/maintenance-checklist.md
  • Completion notes: docs/completion-notes.md
  • CLI/query examples: docs/queries/cli-query-examples.md
  • Evidence manifest: evidence-templates/asset-manifest.md
  • Project overview deck: docs/deck/cloudsec-soc-detection-lab.pptx

Run The Dashboard Locally

The dashboard is hosted publicly at:

https://kalla-bhanu.github.io/CloudSec-SOC-Detection-Lab/
https://cloudsec-soc-detection-lab.vercel.app/dashboard/

GitHub Pages publishes the dashboard/ folder through .github/workflows/pages.yml. Vercel serves the same dashboard with vercel.json redirecting the root URL to /dashboard/.

To run the same dashboard locally:

cd .\dashboard
powershell -ExecutionPolicy Bypass -File .\run-dashboard.ps1

Then open the local URL printed by the script.

Reproduce The Public Package

The supported validation path is documented in docs/reproducibility.md. The core checks are:

python -B -m pytest --assert=plain -p no:cacheprovider
npm run verify:evidence-assets
npm run test:dashboard
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\tools\verify-public-safe.ps1
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\tools\verify-security-txt.ps1
powershell -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\tools\verify-live-dashboard.ps1

That guide also covers dependency installation, workflow linting, the public-safe verifier, the local dashboard command, scheduled live smoke checks, and the boundary between fixture-based validation and external AWS or Datadog deployment.

Harness Concept

The harness replays controlled security events into a monitoring system. In this public version, names, account IDs, resource names, and secret paths are placeholders.

synthetic scenario event
-> Lambda replay harness
-> Datadog logs scoped to source:test-harness
-> scoped monitor or alert condition
-> analyst triage and response workflow

The intent is not to claim production coverage. The intent is to show the detection-engineering flow: scenario design, signal generation, monitor validation, evidence handling, triage, escalation, and response.

Privacy And Safety

This repository is intentionally sanitized:

  • No real company name.
  • No real private user, employee, or tenant data.
  • No production credentials.
  • No private prep notes.
  • No production screenshots.
  • No secret values.
  • No binary exports from private preparation material.

All datasets, visuals, examples, and deck content are synthetic or rewritten for public review.

About

AWS-first SOC detection engineering lab with CloudTrail/IAM/STS/S3/EKS/KMS telemetry, Lambda replay, dashboards, evidence templates, and analyst runbooks.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages