Asfela AI Security Engineering — Professional

A 38-hour, hands-on course that turns security engineers and ML engineers into practitioners who can threat-model, attack, defend, and govern production AI systems.

By the end, you can do five things you can’t do today.

  • Threat-model an LLM-powered application end-to-end. Data flow diagram, STRIDE-MA table with model-manipulation and agency-abuse threats, MITRE ATLAS mapping for the top findings, OWASP LLM Top 10 coverage matrix. You’ll produce one in Module 2 against a system you built in Module 1.
  • Attack an AI system across the full kill chain. Prompt injection (direct + indirect), training data poisoning, model extraction and inversion, adversarial-example evasion, supply-chain compromise, agent escape. Hands-on, against deliberately-vulnerable targets that ship with the course.
  • Defend an AI system with a measurable stack. Llama Guard at input, structured output enforcement, dual-LLM pattern for retrieval, intent verification for agent tool calls, prompt-response logging with Presidio PII redaction. You’ll measure attack-success-rate before vs. after and produce the before/after table CISOs ask for.
  • Govern an AI program against NIST AI RMF and EU AI Act. Model cards, system cards, data sheets, AI-BOM, incident-reporting playbooks, Article 11 technical documentation, risk register. The artifact pack that survives a regulator review.
  • Operate an AI red-team function inside an engineering org. Garak + PyRIT + promptfoo wired into CI; nightly automated scans; trend dashboards; an IR playbook with AI-specific containment steps; the org-design and procurement patterns that make the function durable.

Maps to the OWASP Top 10 for LLMs, MITRE ATLAS, NIST AI RMF and the EU AI Act.

  1. Module 0 — Orientation & Environment Setup

    • Lesson Module 0 — Orientation & Environment Setup: overview
    • Lesson L0.1 — Welcome & how this course works 10 min
    • Lesson L0.2 — The AI security landscape in 2026 25 min
    • Lesson L0.3 — Environment setup & sanity check (Lab) 45 min
  2. Module 1 — AI/ML Foundations for Security Engineers

    • Lesson Module 1 — AI/ML Foundations for Security Engineers: overview
    • Lesson L1.1 — Machine learning in 30 minutes 30 min
    • Lesson L1.2 — Neural networks and deep learning 30 min
    • Lesson L1.3 — LLMs explained: tokens, embeddings, transformers, decoding 35 min
    • Lesson L1.4 — The modern AI pipeline 25 min
    • Lesson L1.5 — Where attacks happen at each pipeline stage 20 min
    • Lesson L1.6 — Run an LLM locally vs via API; inspect a model card (Lab) 35 min
    • Lesson L1.7 — Build a tiny RAG system from scratch (Lab) 50 min
    • Lesson L1.8 — Fine-tune a small model with LoRA *(Lab, Optional)* (Lab) 75 min
    • Quiz Module 1 — AI/ML Foundations for Security Engineers: quiz
    • Assignment Module 1 — AI/ML Foundations for Security Engineers: written questions
  3. Module 2 — AI Security Foundations for ML Engineers

    • Lesson Module 2 — AI Security Foundations for ML Engineers: overview
    • Lesson L2.1.1 — Threat modeling fundamentals reviewed 4 min
    • Lesson L2.1.2 — STRIDE adapted for AI systems 5 min
    • Lesson L2.2.1 — Mapping the AI attack surface: the five planes 4 min
    • Lesson L2.2.2 — Model & data planes in depth 5 min
    • Lesson L2.2.3 — Application, agent & supply-chain planes in depth 5 min
    • Lesson L2.3.1 — What ATLAS is and how it relates to ATT&CK 4 min
    • Lesson L2.3.2 — ATLAS tactics: the AI kill chain 5 min
    • Lesson L2.3.3 — Reading ATLAS techniques and case studies 5 min
    • Lesson L2.4.1 — OWASP LLM Top 10: overview and how it differs from web-app Top 10 4 min
    • Lesson L2.4.2 — OWASP LLM01–LLM03 in detail 5 min
    • Lesson L2.4.3 — OWASP LLM04–LLM07 in detail 5 min
    • Lesson L2.4.4 — OWASP LLM08–LLM10 in detail 4 min
    • Lesson L2.5.1 — NIST AI RMF: what it is and when you reach for it 4 min
    • Lesson L2.5.2 — NIST AI RMF: Govern, Map, Measure, Manage 5 min
    • Lesson L2.5.3 — EU AI Act: risk tiers and obligations 5 min
    • Lesson L2.6 — Threat-model the Module 1 RAG app (Lab) 60 min
    • Lesson L2.7 — Risk-tier a portfolio of AI features under the EU AI Act *(Lab, Optional)* (Lab) 30 min
    • Quiz Module 2 — AI Security Foundations for ML Engineers: quiz
    • Assignment Module 2 — AI Security Foundations for ML Engineers: written questions
  4. Module 3 — Prompt Injection & LLM Application Attacks

    • Lesson Module 3 — Prompt Injection & LLM Application Attacks: overview
    • Lesson L3.1.1 — Direct prompt injection fundamentals 4 min
    • Lesson L3.1.2 — Jailbreaks vs injections: the taxonomy 5 min
    • Lesson L3.2.1 — Indirect prompt injection: the architectural pattern 5 min
    • Lesson L3.2.2 — Indirect-PI delivery vectors and why they dominate 5 min
    • Lesson L3.3.1 — Model output is untrusted input 5 min
    • Lesson L3.4.1 — Excessive agency: when tools are too broad 5 min
    • Lesson L3.4.2 — Agent escape patterns and tool-call defenses 5 min
    • Lesson L3.5.1 — System-prompt extraction and secrets-in-prompts 5 min
    • Lesson L3.6 — Break a vulnerable chatbot: direct PI + system-prompt extraction (Lab) 60 min
    • Lesson L3.7 — Indirect PI via poisoned RAG corpus (Lab) 75 min
    • Lesson L3.8 — Agent escape: coerce a tool-using agent (Lab) 75 min
    • Lesson L3.9 — Build layered defenses against prompt injection (Lab) 75 min
    • Lesson L3.10 — Run Garak / PyRIT against your endpoint *(Lab, Optional)* (Lab) 45 min
    • Lesson L3.11 — Multi-modal prompt injection *(Lab, Optional)* (Lab) 45 min
    • Quiz Module 3 — Prompt Injection & LLM Application Attacks: quiz
    • Assignment Module 3 — Prompt Injection & LLM Application Attacks: written questions
  5. Module 4 — Data Poisoning, Backdoors & Supply Chain

    • Lesson Module 4 — Data Poisoning, Backdoors & Supply Chain: overview
    • Lesson L4.1.1 — Training data poisoning fundamentals 5 min
    • Lesson L4.1.2 — Targeted poisoning and PoisonGPT-style attacks 5 min
    • Lesson L4.2.1 — Backdoor attacks: triggers and BadNets 5 min
    • Lesson L4.2.2 — Sleeper agents and backdoor persistence 5 min
    • Lesson L4.3.1 — Harmful fine-tuning and alignment removal 5 min
    • Lesson L4.4.1 — Model supply chain attack surface 5 min
    • Lesson L4.4.2 — Pickle deserialization and weight-format risk 5 min
    • Lesson L4.4.3 — Model card lies and provenance gaps 4 min
    • Lesson L4.5.1 — Dependency risk in AI stacks 4 min
    • Lesson L4.5.2 — AI-BOM and provenance tracking 5 min
    • Lesson L4.6 — Poison a sentiment classifier and measure attack success (Lab) 60 min
    • Lesson L4.7 — Plant a backdoor trigger in a small classifier (Lab) 75 min
    • Lesson L4.8 — Scan HuggingFace models for malicious pickles (Lab) 45 min
    • Lesson L4.9 — Build an AI-BOM for a stack *(Lab, Optional)* (Lab) 45 min
    • Quiz Module 4 — Data Poisoning, Backdoors & Supply Chain: quiz
    • Assignment Module 4 — Data Poisoning, Backdoors & Supply Chain: written questions
  6. Module 5 — Model Extraction, Inversion & Membership Inference

    • Lesson Module 5 — Model Extraction, Inversion & Membership Inference: overview
    • Lesson L5.1.1 — Model extraction fundamentals 4 min
    • Lesson L5.1.2 — Query-based extraction techniques 5 min
    • Lesson L5.2.1 — Membership inference attacks 5 min
    • Lesson L5.3.1 — Model inversion & training-data extraction 5 min
    • Lesson L5.3.2 — Embedding-leak attacks 5 min
    • Lesson L5.4.1 — DP-SGD and federated learning 5 min
    • Lesson L5.4.2 — Output filtering & operational defenses 5 min
    • Lesson L5.5 — Extract a small classifier through an API (Lab) 60 min
    • Lesson L5.6 — Run a membership inference attack (Lab) 60 min
    • Lesson L5.7 — Reproduce a slice of training-data extraction from an LLM *(Lab, Optional)* (Lab) 60 min
    • Quiz Module 5 — Model Extraction, Inversion & Membership Inference: quiz
    • Assignment Module 5 — Model Extraction, Inversion & Membership Inference: written questions
  7. Module 6 — Adversarial Examples & Evasion

    • Lesson Module 6 — Adversarial Examples & Evasion: overview
    • Lesson L6.1.1 — Adversarial examples: what they are and why they exist 4 min
    • Lesson L6.1.2 — White-box vs black-box, and the transferability bridge 5 min
    • Lesson L6.2.1 — Image attacks: FGSM, PGD, and beyond 5 min
    • Lesson L6.3.1 — Text attacks: character, word, and sentence-level perturbations 5 min
    • Lesson L6.4.1 — Evasion in production: spam, content moderation, fraud 5 min
    • Lesson L6.5.1 — Robustness defenses: adversarial training, preprocessing, certified defenses 5 min
    • Lesson L6.6 — FGSM / PGD attack on an image classifier (Lab) 60 min
    • Lesson L6.7 — TextAttack against a text classifier (Lab) 60 min
    • Lesson L6.8 — Bypass a content moderation model *(Lab, Optional)* (Lab) 45 min
    • Quiz Module 6 — Adversarial Examples & Evasion: quiz
    • Assignment Module 6 — Adversarial Examples & Evasion: written questions
  8. Module 7 — Securing the AI Pipeline (MLSecOps & Defenses)

    • Lesson Module 7 — Securing the AI Pipeline (MLSecOps & Defenses): overview
    • Lesson L7.1.1 — AI-SDLC fundamentals 5 min
    • Lesson L7.1.2 — Securing the AI lifecycle stage-by-stage 5 min
    • Lesson L7.2.1 — Model governance, signing & provenance 5 min
    • Lesson L7.3.1 — Runtime guardrails landscape 5 min
    • Lesson L7.3.2 — Structured output and the dual-LLM pattern 5 min
    • Lesson L7.4.1 — Observability: what to log and why 5 min
    • Lesson L7.4.2 — PII redaction, drift & abuse detection 5 min
    • Lesson L7.5.1 — AI red-team program design 5 min
    • Lesson L7.5.2 — Red-team tooling: Garak, PyRIT, promptfoo 5 min
    • Lesson L7.6.1 — AI incident response playbooks 5 min
    • Lesson L7.7 — Wrap an LLM app with Llama Guard + structured output (Lab) 75 min
    • Lesson L7.8 — Wire Garak into a CI eval harness (Lab) 60 min
    • Lesson L7.9 — Prompt/response logging with PII redaction (Lab) 75 min
    • Lesson L7.10 — Continuous eval harness with promptfoo *(Lab, Optional)* (Lab) 45 min
    • Quiz Module 7 — Securing the AI Pipeline (MLSecOps & Defenses): quiz
    • Assignment Module 7 — Securing the AI Pipeline (MLSecOps & Defenses): written questions
  9. Module 8 — AI Governance, Risk & Compliance

    • Lesson Module 8 — AI Governance, Risk & Compliance: overview
    • Lesson L8.1.1 — NIST AI RMF in practice: from framework to program 5 min
    • Lesson L8.1.2 — NIST AI RMF Profiles: GenAI, secure software, sector-specific 5 min
    • Lesson L8.2.1 — EU AI Act compliance program design 5 min
    • Lesson L8.2.2 — Article 11: the technical documentation package 5 min
    • Lesson L8.3.1 — Building an AI security program: org design, reporting, hiring 5 min
    • Lesson L8.3.2 — Procurement & vendor management for AI 5 min
    • Lesson L8.4.1 — AI incident reporting obligations 5 min
    • Lesson L8.5.1 — Model cards: structure, audience, common gaps 5 min
    • Lesson L8.5.2 — System cards, data sheets & AI-BOM revisited 5 min
    • Lesson L8.6.1 — Case study teardown: a 2025 AI incident 5 min
    • Lesson L8.7 — Author a model card + risk assessment for the M1 RAG app (Lab) 60 min
    • Quiz Module 8 — AI Governance, Risk & Compliance: quiz
    • Assignment Module 8 — AI Governance, Risk & Compliance: written questions
  10. Module 9 — Capstone Project

    • Lesson Module 9 — Capstone Project: overview
    • Lesson L9.1 — Helios Health: scenario brief 30 min
    • Assignment Capstone submission
  11. Module 10 — Certification Exam

    • Lesson Module 10 — Certification Exam: overview
    • Lesson L10.1 — Exam instructions and format 5 min
    • Quiz Certification exam
    • Lesson L10.4 — Scoring, certificate issuance, and retake policy
    • Lesson Course completion: where you go from here 5 min