Courses3 levels
Level 1 · Foundations11 courses
Level 2 · Core5 courses
Level 3 · Advanced5 courses
Labs8 topics
Library Practice exams AI Range Pricing Start free

KaliRange / Advanced

Red-team your own AI system

Scope, method, tools, evidence and the report, for a system that you own.

11 lessons · about 9 hours · every command tested

How to use the lab files

The zip keeps the files of each lesson apart, and the lessons work in one flat folder. After you unzip it, sh kr-lab.sh LESSON FOLDER builds that folder as it stands after a lesson, for example sh kr-lab.sh 00-set-up-your-lab ~/krlab/red-team-your-ai.

You need

A computer with Linux, macOS, or Windows with WSL. No GPU, no cloud account and no paid tool.

Next course

Detection and incident response for AI

  1. 00Set up your lab to red-team an AI systemCreate the lab folder and the target system that every lesson of the course testsSet-up20 min
  2. 01Scope the test and write the rules of engagementWrite a scope file that says what may be tested, when, and how much40 min
  3. 02Map what the target offers and what it can reachList the endpoints that the target answers, inside the scope only45 min
  4. 03Turn the threat model into a table of test casesWrite test cases with an input, a safe behaviour and a judge that code can apply40 min
  5. 04Automate the tests with a small harnessSend every test case to the target and record each answer in a JSON lines file45 min
  6. 05Test retrieval and tool use by hand and keep notesProbe a retrieval step and a tool call one change at a time45 min
  7. 06Test the infrastructure around the modelCheck which ports of the lab listen, and on which address45 min
  8. 07Score findings and collect evidence that another person can repeatGive a finding a severity from its impact and its measured likelihood with a fixed table45 min
  9. 08Write the report, fix the findings and retestGenerate a Markdown report from the scope, the findings and the counts50 min
  10. 09Run a full assessment of the lab target from scope to reportRun every stage of an assessment with one script and read its output60 min
  11. 10Test a client's booking assistant and report what you foundTest a system that a client supplies, inside a signed scope and nowhere elseTest90 min

Work roles

Work roles this course supports

The course helps you to prepare for these roles of the NICE Workforce Framework for Cybersecurity (NIST SP 800-181 Rev. 1). No single course covers a whole role, and KaliRange is not a certification body.

Role names and codes are NIST's (Components 2.2.0, 2026-04-28); the choice of roles is our own reading of the role descriptions. The NICE Framework at NIST has the full description of each role.