Course Outline
Module 1: AI Systems for Security Engineers
- Contrasting LLMs with traditional applications
- AI inference pipelines and prompt data flow
- RAG architecture, embeddings, and vector databases
- Agentic workflows and tool calling mechanisms
- AI gateways, copilots, MCP, and agent protocols
- Limitations of WAF visibility in AI contexts
Module 2: OWASP GenAI Top 10
- Prompt injection, insecure output handling, training data poisoning, and model denial of service
- Supply chain vulnerabilities, sensitive information disclosure, and excessive agency
- Vector and embedding weaknesses, misinformation risks, and unbounded consumption
- Key differences from the classic OWASP Top 10
- Mapping these categories to WAF, gateway, and application controls
- Identifying where each control succeeds and where it fails
Module 3: Prompt Injection Detection
- Direct and indirect prompt injection techniques
- Hidden instructions and document-based attack vectors
- HTML and Markdown injection methods
- Jailbreak patterns, context override, and role confusion
- Detection strategies: keyword heuristics, semantic classification, prompt linting, and boundary enforcement
- Configuring allow and deny policies with AI-aware regex patterns
- Lab 02: Attack a chatbot, bypass naive filtering, and implement layered detection
Module 4: AI-Aware WAF Rules
- Protecting LLM endpoints and inference APIs
- Implementing token-aware rate limiting and prompt size inspection
- Creating AI-specific signatures and detecting conversation anomalies
- Mitigating multi-turn abuse, model enumeration, and inference scraping
- Implementing denial-of-wallet protections
- Case studies: Securing chat completions, streaming APIs, and recursive agent calls
- Lab 03: Develop AI-aware WAF rules
Module 5: Securing RAG Pipelines
- Threats to vector databases and embedding poisoning
- Misusing malicious PDFs and documents for semantic poisoning
- Retrieval manipulation and embedded hidden instructions
- Cross-document contamination and data exfiltration via retrieval
- Defensive measures: Ingestion sanitization, trust scoring, metadata isolation, provenance tracking, and retrieval policies
- Lab 04: Upload a poisoned PDF and attempt to take over the assistant
Module 6: Agentic AI Security
- Excessive agency, tool abuse, API chaining, and autonomous loops
- Permission escalation, memory poisoning, and indirect tool execution
- Agent impersonation, credential leakage, and multi-agent attack scenarios
- Establishing task-scoped authority with distinct user, runtime, task, and session identities
- Applying least privilege, approval gates, runtime policy engines, sandboxing, and tool whitelisting
- Lab 05: Secure an autonomous agent
Module 7: API Security for AI
- API gateways, GraphQL AI risks, MCP, and API abuse
- JWT protection, AI plugin security, and agent authentication
- Delegated authorization and short-lived task credentials
- Implementing separate mechanisms for task stopping, revocation, and downstream verification
- Secret management, signed prompts, and maintaining an AI API inventory
- Aligning controls with the OWASP API Security Top 10
- Lab 06: Detect denial-of-wallet attacks
Module 8: Detection Engineering and SOC Integration
- Collecting AI telemetry, prompt logging, and token analytics
- Building anomaly detection and semantic SIEM pipelines
- Identifying AI attack indicators and hunting for LLM abuse
- Runtime observability: Correlating principal, task, action, policy decision, and effect
- Detecting jailbreak campaigns, automated agent abuse, and model scraping
- Agent incident drills: Stop, contain, recover, and learn
- Lab 07: Monitor AI abuse patterns in logs
Module 9: Cloud WAFs and AI Security
- Deploying AWS WAF for AI APIs, Azure WAF, and Cloudflare AI Gateway
- Utilizing API gateways, Envoy AI filtering, Kong AI Gateway, and NGINX patterns
- Distinguishing between Traditional WAFs, AI gateways, and application-layer guardrails
- Comparing proxy-based versus semantic filtering approaches
- Understanding shared responsibility for inference, harnesses, and enterprise connectors
- Strategically placing action, resource, and egress enforcement
Module 10: Building a Layered AI Defense
- Recognizing that no single layer secures AI, with WAFs being the least effective alone
- Implementing layers: WAF, API gateway, AI gateway, guardrails, and runtime monitoring
- Integrating identity and authorization, sandboxing, and human approval workflows
- Enhancing observability and incident response capabilities
- Lab 08: Construct a layered AI defense architecture
Module 11: AI for Defense, from Findings to Verified Fixes
- Understanding the defender's window and the need for continuous defense
- Managing scoped access, security context, and security invariants
- Using AI-assisted triage for evidence-based prioritization
- Handling duplicate findings and incomplete validation environments
- Executing local vulnerability reproduction and security regression tests
- Generating focused patches with independent human review
- Performing defensive assistant permission checks and preserving security tests
- Lab 09: Investigate five reports against a synthetic multi-tenant support-ticket API
Module 12: AI-Enabled Cyber Defense, the Defensive Loop
- Cycle: Prevent, detect, respond, learn, improve, and re-prevent
- Detect and respond: Recognize compromised agents and contain them at runtime
- Discover and validate: Find real vulnerabilities at scale while filtering noise
- Remediate and prove: Generate, verify, and prove the elimination of vulnerabilities
- Navigating the capability ladder and identifying controls requiring privileged access
- Lab 10: Close the defender's window
Capstone: Defend a Simulated Enterprise Assistant
- Simulating attacker attempts at prompt injection, tool abuse, and credential theft
- Simulating attacker attempts at retrieval poisoning, excessive API consumption, and agent escalation
- Teams implementing WAF rules, AI gateway policies, and runtime detection
- Teams developing guardrails and an incident response runbook
Requirements
- Practical knowledge of application security, API security, or SOC operations.
- Familiarity with common web attack classes, including injection and access control failures.
- A foundational understanding of the architecture of LLM applications.
- Proficiency with command line tools and HTTP traffic inspection.
Target Audience
- Security engineers and AppSec practitioners.
- SOC analysts and detection engineers.
- API and cloud security engineers.
- Platform, infrastructure, and WAF engineers.
- Security architects and team leads responsible for managing AI systems in production.
Testimonials (3)
inventory and identifying the different risk exposures within AI
Gary Cook - Cybersecurity and Information Technology Risk Division
Course - Introduction to AI Trust, Risk, and Security Management (AI TRiSM)
I really enjoyed learning about AI attacks and the tools out there to begin practicing and actively using for security testing. I took a lot of knowledge away which I didn't have at the beginning and the course met what I hoped it would be. My favorite part shown from the training was Comet Browser and was amazed at what it could do. Definitely something will be looking into more. Overall it was a great course and enjoyed learning all OWASP GenAI Top 10.
Patrick Collins - Optum
Course - OWASP GenAI Security
The profesional knolage and the way how he presented it before us