Active

TMM Created

Zero-Day Response

KNOW, CONTAIN, FIX, PROVE - PHP2Shell on RHEL and AWS

AI reads. Owners decide. AAP acts. Automation orchestrator holds every lane.


Description

A zero-day is being exploited before a fix exists. Two automation orchestrator workflows run the response a board asks for - KNOW (evidence, classification, log look-back), CONTAIN (AI-extracted interim controls, policy gate, test, two named owner approvals, production verify, board update), then FIX and PROVE (per-stream fix availability from the Red Hat Security Data API, test and rolling patch, controls removed only where the fix is verified, re-scan, case kept open while lanes remain). Import both workflows with the two Download JSON buttons - KNOW + CONTAIN first, then FIX + PROVE. This is a historical replay - the advisories are recorded snapshots, the estate is a lab, "AcmeCMS" is a simulated vendor, and there is no exploit code.

Why it matters

  • The gap between first exploitation and the fix is where the risk is; the demo shows a governed way to act inside it instead of waiting for a patch.
  • Classification, fix status and verification are reviewed, deterministic automation. AI reads advisories and explains - it cannot change a priority or skip a gate.
  • Every AI answer is validated by a deterministic check step, every AI-proposed control by a policy gate and a test host, and every production change by an owner approval.
  • Interim controls come off only where the fix is verified running, so there is no forgotten workaround - and the case stays open, with owners, for the lanes that are not fixed.

AO building blocks

Automation orchestrator step types this workflow uses on the canvas. See all building blocks

Interactive Experience

Coming soon

Workflow

flowchart LR
  A@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/manual-trigger.png", label: "Advisory received", pos: "b", h: 96, constraint: "on" } --> B@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "KNOW: Evidence + look-back", pos: "b", h: 96, constraint: "on" }
  B --> C@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/task-agent.png", label: "AI: Explain for humans", pos: "b", h: 96, constraint: "on" }
  C --> D@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/task-agent.png", label: "AI: Read the advisory", pos: "b", h: 96, constraint: "on" }
  D --> E@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "Policy gate + test", pos: "b", h: 96, constraint: "on" }
  E --> F@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/approval-node.png", label: "Security + service owner", pos: "b", h: 96, constraint: "on" }
  F -->|Approved| G@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "PROD: Contain + verify", pos: "b", h: 96, constraint: "on" }
  G --> H@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/task-agent.png", label: "AI: Board update", pos: "b", h: 96, constraint: "on" }
  classDef noBorder fill:transparent,stroke:transparent
  class A,B,C,D,E,F,G,H noBorder

Playbooks

Playbook What it does Runs on
infra_provision_aws.yml Creates (or, with role_action deprovision, removes) the dedicated VPC and six tagged RHEL instances. AWS (localhost)
estate_configure.yml Builds or resets the estate to its vulnerable baseline. RHEL hosts
p2s_scan.yml KNOW - evidence from every PHP asset, then the deterministic classification. RHEL hosts
p2s_lookback.yml KNOW - log look-back, were we already hit? RHEL hosts
p2s_ai_check.yml Parses and validates every AI answer against its schema. localhost
p2s_spec_check.yml Policy gate - is the AI-extracted control spec inside the reviewed envelope? localhost
p2s_controls.yml CONTAIN - applies and verifies the interim controls, test then production. RHEL hosts
p2s_fix_availability.yml FIX - decides per stream on the Red Hat API answers the workflow recorded. localhost
p2s_patch.yml FIX - patch and verify, test then rolling production with rollback. RHEL hosts
p2s_standdown.yml Removes interim controls only where the fix is verified. RHEL hosts
p2s_case_record.yml PROVE - records the AI-drafted update on the case; refuses an empty draft. localhost
p2s_independent_check.yml Independent read of live estate state and business transactions, outside the response roles. RHEL hosts

Demo ideas

  • Run KNOW + CONTAIN end to end and stop on the security approval panel - the AI summary, the tested change and Red Hat's residual-risk sentence on one screen
  • Show the board update's "not claimed" list - control verified is not safe
  • Run FIX + PROVE to show the fix arriving unevenly - patched lanes, a vendor appliance still contained, an unknown asset still escalated