AI security fundamentals
The AI attack surface, the standard risk lists and a threat model for an AI system.
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/ai-security-fundamentals.
You will build
You need
A computer with Linux, macOS, or Windows with WSL. No GPU, no cloud account and no paid tool.
Next course
- 00Set up your AI security labCreate the lab folder for the courseSet-up20 min
- 01Write the use case and map the attack surface of an AI systemWrite the use case of an AI system and check with a script that no answer is empty and the success answer holds a number60 min
- 02Follow an attack through the AI lifecycleSay where each attack on an AI system enters the lifecycle45 min
- 03Measure evasion and a privacy leak on your own modelDescribe the evasion, poisoning and privacy families of attack in plain words40 min
- 04Describe an attack with a shared vocabularyExplain the difference between a tactic and a technique40 min
- 05Walk through the OWASP Top 10 for LLM applicationsName the ten risks of the OWASP Top 10 for LLM Applications and give an example of each50 min
- 06Threat-model an AI systemDescribe an AI system as data flows with trust boundaries45 min
- 07Choose controls and find the gaps in your defenceSort controls into prevent, detect, respond and govern45 min
- 08Check a third-party model provider before you depend on itSay what the model provider, the platform and you each own40 min
- 09Use public AI risk resources in a threat modelLink the threats of a system to the MIT AI Risk Repository and the OWASP Machine Learning Security Top 1045 min
- 10Build the security file of an AI systemPut the asset map, attack path, threat table, control matrix and test plan in one folderBuild50 min
- 11Decide whether an AI claims assistant may launchReview the security file of an unfamiliar AI system and find its gapsTest90 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.
- Cybersecurity Architecture
DD-WRL-001a supporting skillYou threat-model an AI system and choose controls for each trust boundary. - Security Control Assessment
OG-WRL-012a supporting skillYou review the security file of an AI system and find gaps in its controls.