About This Course
AI systems introduce an attack surface that traditional application security practice wasn't designed for: an attacker doesn't need to breach your infrastructure to manipulate a model's output, extract training data, or poison the data a model learns from — they can often do real damage through the model's normal input interface alone.
This ten-day programme is a genuinely technical, hands-on exploration of AI-specific attack techniques — prompt injection against large language model applications, adversarial examples that fool classifiers, model extraction and inversion attacks, and training data poisoning — paired with the defensive techniques and architectural patterns that provide real, tested protection rather than security-theatre mitigations.
Participants work hands-on throughout, running real attacks against deliberately vulnerable model deployments in a lab environment, then implementing and testing defences against their own attacks — building the practical judgement to assess and harden real AI systems rather than relying on vendor security claims.
Who Should Attend
- Security engineers and architects working on AI systems
- Machine learning engineers and data scientists
- AI red team and penetration testing professionals
- Application security professionals extending into AI
- CISOs and security leaders overseeing AI deployment risk
- AI platform and MLOps engineers
Learning Objectives
- Execute and understand prompt injection attacks against LLM applications
- Identify and defend against adversarial examples targeting ML classifiers
- Understand model extraction and inversion attack techniques
- Assess training data poisoning risk and detection approaches
- Design defensive architectures that withstand realistic AI-specific attacks
- Conduct an AI-focused security assessment of a model deployment
- Evaluate AI security vendor claims critically against hands-on testing
- Build an AI security testing programme within an existing security function
Course Modules
Module 1: The AI-Specific Attack Surface
- Why traditional application security misses AI-specific risk
- Overview of the major AI attack categories
- How AI attack surface differs across model types and deployments
- Notable real-world AI security incidents
- Setting up the course's hands-on lab environment
- Mapping your own organisation's AI attack surface
Module 2: Prompt Injection Fundamentals
- Direct versus indirect prompt injection techniques
- How injected instructions override intended system behaviour
- Real-world prompt injection incidents and their impact
- Why prompt injection is structurally difficult to fully prevent
- Case study: a production LLM application compromised via injection
- Hands-on lab: executing a prompt injection attack
Module 3: Defending Against Prompt Injection
- Input sanitisation and its genuine limitations
- Privilege separation and least-privilege tool access for LLM agents
- Output validation and constrained generation techniques
- Monitoring and detection approaches for injection attempts
- Layered defence strategies rather than single-point fixes
- Hands-on lab: implementing and testing a defensive layer
Module 4: Adversarial Examples Against Classifiers
- How small, crafted perturbations fool ML classifiers
- White-box versus black-box adversarial attack techniques
- Real-world consequences of adversarial example attacks
- Generating adversarial examples in the lab
- Testing a classifier's robustness systematically
- Hands-on lab: crafting and testing adversarial inputs
Module 5: Defending Against Adversarial Examples
- Adversarial training and its performance trade-offs
- Input preprocessing and detection techniques
- Certified defence approaches and their practical limits
- Model ensemble strategies for robustness
- Monitoring for adversarial input patterns in production
- Hands-on lab: implementing and testing a defence
Module 6: Model Extraction and Inversion Attacks
- How attackers can extract a model's functionality via queries
- Model inversion attacks and training data privacy risk
- Membership inference attacks and their implications
- Assessing your model's exposure to extraction risk
- Rate limiting and query monitoring as mitigations
- Hands-on lab: simulating a model extraction attempt
Module 7: Training Data Poisoning
- How poisoned training data compromises model behaviour
- Backdoor attacks embedded through poisoned data
- Assessing data pipeline exposure to poisoning risk
- Detection techniques for anomalous training data
- Supply chain risk in third-party and pre-trained models
- Hands-on lab: demonstrating a simplified poisoning scenario
Module 8: Securing the ML Pipeline and Supply Chain
- Securing data pipelines feeding model training
- Vetting third-party and pre-trained model provenance
- Version control and integrity verification for models
- Securing model deployment and serving infrastructure
- Access control across the ML development lifecycle
- Building a secure ML pipeline reference architecture
Module 9: AI Agent and Tool-Use Security
- Specific risks introduced by AI agents with tool access
- Privilege boundaries for agentic AI systems
- Preventing agents from being manipulated into harmful actions
- Sandboxing and monitoring agent tool execution
- Case study: an agent security failure and its root cause
- Hands-on lab: assessing an agentic system's security boundaries
Module 10: Detection and Monitoring for AI-Specific Attacks
- Logging and telemetry needed for AI security monitoring
- Detecting prompt injection attempts in production traffic
- Monitoring for anomalous query patterns indicating extraction attempts
- Integrating AI security telemetry with existing SIEM infrastructure
- Alerting and response workflows for AI-specific incidents
- Building a monitoring dashboard for AI security signals
Module 11: Conducting an AI Security Assessment
- Structuring a security assessment methodology for AI systems
- Scoping an assessment against a real or realistic model deployment
- Documenting findings and risk ratings credibly
- Communicating AI-specific risk to non-technical stakeholders
- Prioritising remediation across identified findings
- Building a reusable AI security assessment checklist
Module 12: Building an Ongoing AI Security Programme
- Integrating AI security testing into existing security programmes
- Building AI-specific red-teaming capability
- Training security teams on evolving AI attack techniques
- Keeping pace with rapidly evolving AI security research
- Measuring AI security programme maturity over time
- Your 90-day AI security programme action plan
Module 13: Capstone Red-Team Exercise
- Running a full assessment against a realistic AI application
- Combining multiple attack techniques learned throughout the course
- Documenting findings in a professional assessment report
- Presenting findings and recommendations to peers
- Receiving structured feedback on methodology and findings
- Your roadmap for applying this within your organisation
Requirements & Prerequisites
Participants should have hands-on security engineering or penetration testing experience, and working familiarity with machine learning concepts. This is an advanced, highly technical course rather than an introduction to either security or AI.
Training Methodology
- Hands-on attack labs against deliberately vulnerable model deployments throughout
- Live demonstrations of prompt injection, adversarial examples and extraction attacks
- Defensive implementation exercises testing mitigations against real attacks
- Case studies of real-world AI security incidents
- A capstone red-team exercise against a realistic AI application
- Peer review of participants' assessment methodology and findings
Organisational Benefits
- AI deployments hardened against a genuinely emerging and growing threat category
- Reduced risk of model manipulation causing reputational or financial harm
- More credible AI security assurance for regulators, customers and auditors
- Security teams equipped to assess AI-specific risk, not just traditional infrastructure risk
- Earlier detection of AI-specific attacks through proper monitoring
- A foundation for ongoing AI red-teaming and security testing
Where Is AI Security and Adversarial Machine Learning Risk Training Offered?
This course runs in-person across: Nairobi, Mombasa, Naivasha, Kisumu, Nakuru, Kigali, Dar es Salaam, Arusha, Zanzibar, Cape Town, Johannesburg, Pretoria, Abuja, Lagos, Accra, Addis Ababa, Dubai, Riyadh, Kampala, plus Live Virtual (online) cohorts. Browse live dates for your city below.
Upcoming Schedules
| Location | Format | Dates | Price |
| Nairobi, Kenya |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
KES 230,000 |
| Mombasa, Kenya |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
KES 230,000 |
| Naivasha, Kenya |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
KES 230,000 |
| Kisumu, Kenya |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
KES 230,000 |
| Nakuru, Kenya |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
KES 230,000 |
| Kigali, Rwanda |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 3,800 |
| Dar es Salaam, Tanzania |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 4,600 |
| Arusha, Tanzania |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 4,200 |
| Zanzibar, Tanzania |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 5,000 |
| Cape Town, South Africa |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 7,600 |
| Johannesburg, South Africa |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 7,000 |
| Pretoria, South Africa |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 6,600 |
| Abuja, Nigeria |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 5,600 |
| Lagos, Nigeria |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 5,000 |
| Accra, Ghana |
In-Person |
11 Jan 2027 – 20 Jan 2027 |
USD 7,600 |
+25 more dates — view live schedule →
Frequently Asked Questions
Do I need a background in both security and machine learning to take this course?
Yes — this is an advanced course that assumes hands-on security experience and working familiarity with ML concepts; it isn't a suitable starting point for someone new to either field.
Will we attack real production systems, or a lab environment?
All hands-on attack exercises run against a dedicated, deliberately vulnerable lab environment built for the course — you will never be attacking live production systems during the training.
Does the course cover securing large language model applications specifically?
Yes — prompt injection and agent tool-use security, both highly relevant to LLM applications, are covered in significant depth alongside classical ML attack techniques like adversarial examples and poisoning.
How current is the course content given how fast this field moves?
AI security is a fast-moving research area, and course materials are reviewed and updated between cohorts to reflect current attack and defence techniques, with the instructor equipped to discuss the latest developments during live sessions.
Is there a certification exam?
Participants receive a TrainifyComplex certificate of completion based on the capstone red-team exercise and practical lab performance throughout the programme, rather than a separate proctored exam.
Request a quote or in-house training
Tell us about your team and we will reply within one working day with dates, pricing and a tailored proposal for AI Security and Adversarial Machine Learning Risk Training.
View Live Schedule & Book →