How Madini runs a cyber training, from contract to board report

A walkthrough of who uses the platform, what each person sees, and what happens under the hood, using a sample 2-week SOC training for KCB with the Operation Giza scenario.

Who's who

Two sides use the platform. Madini staff build scenarios and run exercises. The client organises its people into cohorts and teams, and its leadership gets the results.

flowchart TB
  subgraph M["Madini"]
    PA["Platform admin<br/>infrastructure, client orgs, billing"]
    SA["Scenario author<br/>Yel team: designs, builds, versions scenarios"]
    FC["Facilitator / white team<br/>runs live exercises, fires injects, judges"]
  end
  subgraph K["Client: KCB"]
    TL["Training lead<br/>books trainings, manages cohorts"]
    EX["CISO and executives<br/>observe, receive reports"]
    subgraph C["Cohort: SOC analysts, 2-week training"]
      subgraph T1["Team Simba"]
        CAP1["Team lead"]
        TR1["4 trainees"]
      end
      subgraph T2["Team Chui"]
        CAP2["Team lead"]
        TR2["4 trainees"]
      end
    end
  end
  PA -->|onboards| TL
  TL -->|creates and invites| C
  SA -->|publishes scenarios to| FC
  FC -.->|runs exercises for| C
  C -.->|results flow to| EX
  CAP1 --- TR1
  CAP2 --- TR2
  classDef madini fill:#E3F3EE,stroke:#0E7C61,color:#1B2430
  classDef client fill:#E6EDF8,stroke:#2D5AA0,color:#1B2430
  class PA,SA,FC madini
  class TL,EX,CAP1,TR1,CAP2,TR2 client
Madini staffClient people

Who sees what

Each role gets one main screen. Trainees never see infrastructure, and clients never see other clients.

flowchart LR
  TR["Trainee"] --> S1["Team console<br/>machines in the browser, objectives,<br/>submit findings, request hints"]
  CAP["Team lead"] --> S1
  CAP --> S2["Team view<br/>assign tasks, track team progress"]
  FAC["Facilitator"] --> S3["Facilitator console<br/>all teams live, fire and pause injects,<br/>award or deduct points, restore checkpoints"]
  TLD["KCB training lead"] --> S4["Client dashboard<br/>cohorts, schedule, attendance, progress"]
  EXE["KCB CISO"] --> S5["Board report<br/>PDF, readiness scores, gaps found"]
  AUD["Event audience"] --> S6["Big-screen leaderboard"]
  AUT["Scenario author"] --> S7["Scenario repo and test range<br/>build, test, publish versions"]
  ADM["Platform admin"] --> S8["Admin<br/>orgs, capacity, health, billing"]
  classDef madini fill:#E3F3EE,stroke:#0E7C61,color:#1B2430
  classDef client fill:#E6EDF8,stroke:#2D5AA0,color:#1B2430
  classDef screen fill:#FFFFFF,stroke:#56616B,color:#1B2430
  class FAC,AUT,ADM madini
  class TR,CAP,TLD,EXE,AUD client
  class S1,S2,S3,S4,S5,S6,S7,S8 screen

From signing to teardown

Engagement lifecycle

A 2-week training is a daily loop. Ranges wake in the morning, save a checkpoint and sleep in the evening, so trainees pick up where they left off and KCB isn't paying for idle machines overnight.

flowchart TB
  A["KCB signs a 2-week SOC training"] --> B["Training lead creates the cohort<br/>and teams, invites trainees"]
  B --> C["Facilitator picks scenarios<br/>and pins their versions"]
  C --> D["Platform builds one isolated<br/>range per team"]
  D --> E{"Training day"}
  E -->|08:00| F["Ranges wake up"]
  F --> G["Teams train, scored live"]
  G -->|17:00| H["Checkpoint saved, ranges sleep"]
  H --> E
  E -->|final day| I["Capstone drill: Operation Giza"]
  I --> J["Board report to KCB leadership"]
  J --> K["Ranges torn down"]

Sample scenario: Operation Giza

A fictional bank network modelled on a tier-1 Kenyan bank: branch workstations, a staff portal, a domain controller, a mobile banking API, a file server and a SIEM. An automated attacker moves through five stages. The team's job is to detect and stop each stage, then handle the regulatory notifications.

flowchart TB
  subgraph R["What the attacker does, automatically"]
    direction TB
    R1["T+0:00 Phishing email<br/>fake payroll update to branch staff"]
    R2["T+0:30 Stolen credentials<br/>used on the staff portal"]
    R3["T+1:00 Web shell and lateral move<br/>to the internal app server"]
    R4["T+1:45 Mobile banking abuse<br/>SIM swap, transfers to mule wallets"]
    R5["T+2:30 Ransomware staged<br/>on the branch file server"]
    R1 --> R2 --> R3 --> R4 --> R5
  end
  subgraph B["What the team must do"]
    direction TB
    B1["Spot and report the phish<br/>50 pts"]
    B2["Detect the odd login in the SIEM,<br/>disable the account, 100 pts"]
    B3["Remove the web shell,<br/>block the attacker, 150 pts"]
    B4["Trace fraudulent transfers,<br/>freeze mule accounts, 200 pts"]
    B5["Isolate the file server<br/>before encryption, 200 pts"]
    B6["Draft CBK and ODPC<br/>incident notifications, 100 pts"]
  end
  R1 -.-> B1
  R2 -.-> B2
  R3 -.-> B3
  R4 -.-> B4
  R5 -.-> B5
  R5 -.-> B6
  classDef red fill:#F7E9DE,stroke:#B4652F,color:#1B2430
  classDef blue fill:#E6EDF8,stroke:#2D5AA0,color:#1B2430
  class R1,R2,R3,R4,R5 red
  class B1,B2,B3,B4,B5,B6 blue

The attacker adapts. If a team blocks it early, it switches to a backup route, so strong teams are pushed harder instead of finishing early. Facilitators can also fire stages manually or pause them for teams that are falling behind.

Trainee walkthrough

What one KCB analyst actually does, from the invite email to solving an objective. Click through the six steps. The screens are mockups of the real team console, so the meeting can see the texture of the experience, not just the flow.

mail.kcb.co.ke — inbox

The invite lands in her inbox

Training & Development · training@kcb.co.ke
You're enrolled: SOC Analyst Range Training (2 weeks)
Hi Amina, you've been added to Team Simba for the 2-week SOC training. It runs 08:00–17:00, Mon–Fri. Click below to set your password and join. No software to install — everything runs in your browser.

What's happening: the KCB training lead created the cohort and teams and invited staff by email. Amina is a trainee on Team Simba. She never installs anything.

madini.io/join

She sets a password and lands on her team

Team Simba, KCB SOC cohort. Four teammates, one team lead. The training schedule and today's module are shown up front.

Teammates online: 3 of 5Team Simba
Today: Module 6 — Operation Giza (capstone)Day 10
Range status: waking up08:00

What's happening: her account is tied to one team in one cohort. She only ever sees KCB's training, never another client's. The range for Team Simba is being provisioned in its own isolated network.

madini.io/range/team-simba — console

The team console

Her machines, in the browser. On the left, the objectives for Operation Giza. She clicks the SIEM to open it in a browser tab — no RDP client, no VPN.

# machines in Team Simba's range SIEM (Wazuh) connected · click to open Analyst workstation connected Staff portal server connected Domain controller connected

What's happening: the control pod bridges her browser to each machine through Guacamole. The attacker machine is running in the same network but hidden from her. Everything she does is logged.

SIEM · Wazuh — security alerts

An alert fires

The facilitator has fired stage 2. A suspicious login shows up. Amina spots the odd one.

MEDMultiple failed logins then success · user j.otieno2 min ago
HIGHLogin for j.otieno from new host · off-hours · staff portal1 min ago
LOWRoutine backup job completed4 min ago

What's happening: the session agent ran the attacker's stage-2 script, which used stolen credentials on the portal. That generated real log events the SIEM picked up. Nothing is scripted on her side — she has to notice.

Analyst workstation — terminal

She digs in

She checks where the login came from and what the account touched. The source IP isn't on KCB's network. The account pulled customer records it never normally opens.

$ last -i j.otieno j.otieno pts/3 102.68.x.x today 09:12 still logged in $ grep j.otieno /var/log/portal/access.log | tail -3 09:13 GET /admin/customers/export 200 09:14 GET /admin/accounts?bulk=true 200 09:14 POST /admin/session/elevate 200

This account is compromised. The fix: disable it and block the source IP.

What's happening: she's working on a real Linux box in her isolated range. The commands are real, the logs are real. The training is in the doing, not in watching a video.

madini.io/range/team-simba — submit finding

She submits the finding

She disables the account on the domain controller, blocks the IP, then reports what she found. The platform checks the actual machines to confirm.

Verified — account disabled and IP blocked on the live machines. Objective B2 met, +100.
Detect the compromised login100
Remove the web shell150
Trace fraudulent transfers200

What's happening: the scoring checker on the control pod logs into the domain controller and confirms the account is really disabled and the IP really blocked. Only then does it award points. The event hits the leaderboard and the facilitator's screen instantly, and it lands in the report KCB's CISO reads at the end. The score updates below as she solves it.

Team Simba score 0

The live loop

This is what happens in the seconds around one objective, using stage 4 of Operation Giza. Note that the range only makes outbound connections. Nothing outside can reach into a team's network.

sequenceDiagram
  autonumber
  actor F as Facilitator
  participant W as Web app
  participant E as Event service
  participant A as Session agent
  participant K as Attacker machine
  participant S as Bank SIEM
  actor T as Team Simba
  participant L as Leaderboard
  F->>W: Fire stage 4, mobile banking abuse
  W->>E: Queue inject for Team Simba
  A->>E: Pull pending injects, outbound only
  A->>K: Run stage 4
  K->>S: Fraud activity triggers alerts
  S-->>T: Alerts appear in the SIEM
  T->>T: Investigate machines in the browser
  T->>W: Submit finding with mule wallet IDs
  W->>E: Queue verification
  A->>E: Pull verification request
  A->>A: Check accounts frozen on core banking server
  A->>E: Objective B4 met
  E-->>L: Team Simba +200
  E-->>F: Team Simba solved B4 at T+2:05

Architecture

One rule keeps it simple: Go runs inside the cluster, Node talks to humans. The Node API never touches machines directly. It creates a range request in Kubernetes, and the Go controller does the rest.

flowchart TB
  subgraph U["People"]
    TRN["Trainees and team leads"]
    FAC["Facilitators"]
    KCBL["KCB training lead and CISO"]
  end
  subgraph N["Node services: talk to humans"]
    WEB["Web app<br/>team console, facilitator console, leaderboard"]
    API["API"]
    EVT["Event service<br/>event log, live updates"]
    REP["Reports"]
    GUAC["Guacamole<br/>machines in the browser"]
  end
  DB[("Postgres")]
  GIT["Scenarios repo<br/>Yel team"]
  subgraph K8S["Kubernetes: Go runs inside"]
    CTRL["Controller"]
    SC["Scenario resources, versioned"]
    RS["Range session resources"]
    subgraph NS["Range for Team Simba, isolated network"]
      CP["Control pod<br/>guacd and session agent"]
      VMS["Bank machines<br/>portal, domain controller,<br/>workstations, file server, SIEM"]
      ATK["Attacker machine<br/>hidden from trainees"]
    end
  end
  GIT -->|CI validates and publishes| SC
  TRN --> WEB
  FAC --> WEB
  KCBL --> WEB
  WEB --> API
  WEB --- EVT
  API -->|creates| RS
  CTRL -->|watches| RS
  CTRL -->|reads| SC
  CTRL -->|builds, sleeps, wakes, tears down| NS
  API --> DB
  EVT --> DB
  REP --> DB
  WEB --> GUAC
  GUAC --> CP
  CP --> VMS
  CP -->|runs injects| ATK
  ATK -.->|attacks| VMS
  CP -->|scores and events, outbound| EVT
  classDef go fill:#E3F3EE,stroke:#0E7C61,color:#1B2430
  classDef node fill:#E6EDF8,stroke:#2D5AA0,color:#1B2430
  classDef red fill:#F7E9DE,stroke:#B4652F,color:#1B2430
  class CTRL,SC,RS,CP go
  class WEB,API,EVT,REP,GUAC node
  class ATK red
Go, in-clusterNode, user-facingAttacker

Range states

Every team's range moves through the same states. Short drills go straight from ready to teardown. Long trainings cycle between ready and sleeping for days, with checkpoints so a broken environment can be restored to the start of any day.

stateDiagram-v2
  [*] --> Requested
  Requested --> Provisioning
  Provisioning --> Ready
  Provisioning --> Failed
  Failed --> Provisioning: retry
  Ready --> Sleeping: outside training hours
  Sleeping --> Ready: next training day
  Ready --> Ready: checkpoint saved or restored
  Ready --> TearingDown: training over
  Sleeping --> TearingDown: training over
  TearingDown --> [*]

Plans and pricing, draft for review

The idea: sell out of training budgets, not IT capex. Organisations pay per event or per person instead of committing to a large platform licence, and smaller institutions share the cost through their sector body. All prices below are draft starting points in KES, excluding VAT, to be tested with the first clients.

How the plans feed each other

flowchart LR
  CH["Championship<br/>sponsor funded"] -->|leads| TT["Tabletop exercise"]
  CH -->|sign-ups| IL["Individual labs"]
  TT -->|board sees the gaps| DR["Technical drill"]
  DR -->|repeat buyers| LT["2-week training"]
  DR -->|same sector| SS["Sector-shared plan"]
  LT -->|large banks, regulators| PR["Private range"]
  IL -->|talent pool| HA["Hiring assessments"]
  HA -->|hired analysts need training| LT
  DN["Donor-funded<br/>national drills"] -->|agencies and regulators| DR
  classDef entry fill:#F7E9DE,stroke:#B4652F,color:#1B2430
  classDef core fill:#E3F3EE,stroke:#0E7C61,color:#1B2430
  classDef big fill:#E6EDF8,stroke:#2D5AA0,color:#1B2430
  class CH,TT,IL,DN entry
  class DR,HA,SS core
  class LT,PR big
Entry pointsCore revenueLarge contracts

The plans

PlanWho buys itWhat's includedDraft priceHow they pay
Individual labs Students, junior analysts, career switchers Self-paced labs on local scenarios, progress tracking, certificate per track. Two free intro labs. KES 300 per lab
or KES 1,500 / month
M-Pesa, card
Hiring assessment Bank and fintech HR, security managers 2–3 hour hands-on test per candidate, scored skills report, comparison across candidates. KES 7,500 per candidate Invoice, bundles of 10
Tabletop exercise Boards, executives, CISOs Half-day facilitated scenario, e.g. ransomware or SIM-swap fraud wave, decision log, short board report. Up to 20 people. No machines needed. KES 250,000 per session Invoice, from training budget
Technical drill SOC and IT security teams One-day live exercise, up to 5 teams of 4, facilitator, live scoring, board-ready report. KES 400,000 per day
+ KES 60,000 per extra team
Invoice, quarterly repeat
2-week training Banks building or upskilling a SOC 10 training days, one cohort of up to 20, persistent ranges with daily checkpoints, facilitator, capstone drill, individual and team reports. KES 2.5M–3.5M per cohort Invoice, 50% upfront
Sector-shared plan KBA members, SACCO umbrella bodies, microfinance groups Per member per year: 2 technical drills, 1 tabletop, lab access for 10 staff, sector benchmark report across members. Minimum 10 members. KES 600,000 per member / year Annual, via the sector body
Private range Tier-1 banks, regulators, national agencies Dedicated range, hosted in Kenya or on their premises, private scenarios, their own facilitators trained by us. Quote, setup + annual licence Contract
National drills Development partners funding government cyber capacity Multi-agency or regional drills, custom scenarios, public reporting to the funder. Quote per programme Grant or programme budget
Championship Sponsors: banks, telcos, security vendors Branding, judging seats, access to the talent pool. Teams enter free or at a low fee. Sponsorship tiers, to set Sponsorship

Why these prices can undercut the incumbent

Infrastructure is the small part. One rented server handles roughly 12–15 teams at once, and ranges sleep outside training hours, so a 2-week training doesn't pay for nights and weekends. Most of the cost is people: scenario building and facilitation. That's why the plans lean on reusable scenarios and on repeat events rather than one-off custom work.

Open questions for review

  1. How is revenue split with Yel: per scenario used, per event facilitated, or a flat share of everything?
  2. Who owns scenarios built by Yel, and what happens to them if the partnership ends?
  3. What's Yel's day rate for facilitation, and can trained client staff facilitate after the first run?
  4. Can the labs and trainings be registered for NITA reimbursement, lowering the cost to employers?
  5. Do we price regional clients (Uganda, Tanzania, Rwanda) in USD from the start?
  6. Are these prices right for a tier-3 bank or a large SACCO? Test with two or three before publishing anything.