KGCS Documentation

KGCS Case Studies — Real-World Threat Analysis

Welcome to the KGCS Case Studies repository. These documents demonstrate how the Knowledge Graph for Cybersecurity Standards (KGCS) enables deterministic, standards-backed security reasoning through real-world vulnerability scenarios.

What You'll Learn

Each case study walks through a complete cybersecurity threat chain:

  1. Vulnerability Discovery — What is the CVE, and why is it critical?
  2. Root Cause Analysis — Understanding the underlying weakness (CWE)
  3. Attack Scenarios — How attackers exploit this (CAPEC → ATT&CK mappings)
  4. Detection Coverage — What tools can detect this attack (CAR analytics)
  5. Defense Playbook — How to mitigate and defend (D3FEND, SHIELD, ENGAGE)
  6. Reasoning Walkthrough — Step-by-step KGCS agent analysis
  7. Live Query Examples — Real request/response payloads from agents

N.B. Section 8 (LLM comparison) is deferred to a future phase but will show how KGCS deterministic reasoning compares to free-form LLM answers.


Learning Pathways

For Security Developers

Start here: Log4j RCE (CVE-2021-44228)

For Security Researchers & Architects

Start here: SQL Injection (CWE-89 Family)

For Risk & Compliance Officers

Start here: Path Traversal (CWE-22)


Case Study Overview

Case Study 1: Log4j RCE (CVE-2021-44228)

Status: Complete (sections 1-7) + Placeholder (section 8)

Quick Facts:

Why This Case Study?

Read: Log4j Case Study


Case Study 2: SQL Injection (CWE-89)

Status: Complete (sections 1-7) + Placeholder (section 8)

Quick Facts:

Why This Case Study?

Read: SQL Injection Case Study


Case Study 3: Path Traversal (CWE-22)

Status: Complete (sections 1-7) + Placeholder (section 8)

Quick Facts:

Why This Case Study?

Read: Path Traversal Case Study


How KGCS Works (Quick Intro)

The causal chain for any vulnerability:

CVE (Specific vulnerability)
  ↓ caused by
CWE (Root weakness)
  ↓ demonstrated by
CAPEC (Attack patterns)
  ↓ implements
ATT&CK (Techniques & Tactics)
  ↓ mitigated/detected by
D3FEND + CAR + SHIELD + ENGAGE (Defensive controls)

KGCS materializes all edges in this chain across 5.7M nodes and 27.5M relationships. Every claim is:


Key Concepts

Confidence Scoring

Each agent response includes a confidence score (0-1) with:

Example: "Confidence 0.9 (basis: 2 hops, all required edges present)"

Provenance Tracking

Every fact is attributed to its source:

Causal Chain Integrity

KGCS validates that:


For Developers: Adding Your Own Case Studies

See the Case Study Template to create a new case study for any CVE/CWE/threat scenario.

Requirements:

Post-publication:


Frequently Asked Questions

Q: Why 619,861 affected platforms for Log4j?

A: The KGCS graph includes all CPE platform configurations that match Log4j versions between 2.0 and 2.14. This represents the platform surface where the vulnerability applies (before patches).

A: KGCS automatically materializes the causal chain (CVE → CWE → CAPEC → ATT&CK → Defenses). You don't manually search five different databases—the ontology connects them.

Q: Can I query the graph directly?

A: Yes! The 06-reasoning-walkthrough.md section shows exact Cypher queries you can run against the Neo4j graph.

Q: Is this data complete?

A: KGCS v1.0 is a frozen ontology. All relationships are published standards-backed. Incompleteness (missing CVEs, missing defenses) is a signal of gaps in the standards themselves, not data entry.


Next Steps

  1. Pick a learning pathway (developer, researcher, or risk officer)
  2. Read the case study most relevant to your role
  3. Run the Cypher queries against the live Neo4j graph
  4. Add your own case study using the template

References


Contributing

Found an issue? Want to add a case study? Have feedback?

  1. Open an issue in the KGCS GitHub repository
  2. Submit a PR with your case study
  3. Follow the template structure

Last Updated: March 2026

KGCS Version: v1.0 (Frozen)

Graph Stats: 5.7M nodes | 27.5M edges | 13 node types | 13 relationship types