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 invocation
- AI gateways, copilots, MCP, and agent protocols
- Areas where WAF visibility is effective and where it fails
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, and unbounded consumption
- Distinctions from the traditional OWASP list
- Aligning these categories with WAF, gateway, and application controls
- Assessing where controls are effective and where they fall short
Module 3: Prompt Injection Detection
- Direct and indirect prompt injection techniques
- Hidden instructions and document-based attack vectors
- HTML and Markdown injection
- Jailbreak patterns, context overriding, and role confusion
- Detection methods: keyword heuristics, semantic classification, prompt linting, and boundary enforcement
- Allow and deny policies, along with AI-specific regex patterns
- Lab 02: Attack a chatbot, circumvent basic filtering, and develop multi-layered detection
Module 4: AI-Aware WAF Rules
- Safeguarding LLM endpoints and inference APIs
- Token-based rate limiting and prompt size analysis
- AI-specific signatures and conversation anomaly detection
- Multi-turn abuse patterns, model enumeration, and inference scraping
- Protection against denial-of-wallet attacks
- Case studies: securing chat completions, streaming APIs, and recursive agent calls
- Lab 03: Develop AI-aware WAF rules
Module 5: Securing RAG Pipelines
- Vector database threats and embedding poisoning
- Malicious PDFs and documents, as well as semantic poisoning
- Retrieval manipulation and embedded hidden instructions
- Cross-document contamination and data exfiltration via retrieval
- Mitigation strategies: ingestion sanitization, trust scoring, metadata isolation, provenance tracking, and retrieval policies
- Lab 04: Upload a poisoned PDF to compromise the assistant
Module 6: Agentic AI Security
- Excessive agency, tool misuse, API chaining, and autonomous loops
- Permission escalation, memory poisoning, and indirect tool execution
- Agent impersonation, credential leakage, and multi-agent attacks
- Task-scoped authority and unique identities for users, runtimes, tasks, and sessions
- Least privilege principles, 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
- Distinct mechanisms for stopping tasks, revocation, and downstream verification
- Secret management, signed prompts, and AI-specific API inventories
- Aligning these controls with the OWASP API Security Top 10
- Lab 06: Detect denial-of-wallet attacks
Module 8: Detection Engineering and SOC Integration
- AI telemetry, prompt logging, and token analytics
- Anomaly detection and semantic SIEM pipelines
- AI attack indicators and threat hunting for LLM misuse
- Runtime observability and correlating principals, tasks, actions, policy decisions, and outcomes
- Identifying jailbreak campaigns, automated agent abuse, and model scraping
- Agent incident exercises: stop, contain, recover, and learn
- Lab 07: Monitor AI abuse patterns in logs
Module 9: Cloud WAFs and AI Security
- AWS WAF for AI APIs, Azure WAF, and Cloudflare AI Gateway
- API gateways, Envoy AI filtering, Kong AI Gateway, and NGINX patterns
- Comparing traditional WAFs, AI gateways, and application-layer guardrails
- Proxy-based versus semantic filtering approaches
- Shared responsibility for inference, harnesses, and enterprise connectors
- Enforcement of actions, resources, and egress
Module 10: Building a Layered AI Defense
- The necessity of multi-layered security for AI, as a WAF alone is insufficient
- Defining layers: WAF, API gateway, AI gateway, guardrails, and runtime monitoring
- Identity and authorization, sandboxing, and human approval processes
- Observability and incident response strategies
- Lab 08: Construct a multi-layered AI defense architecture
Module 11: AI for Defense, from Findings to Verified Fixes
- The defender’s perspective and the need for continuous defense
- Scoped access, security context, and security invariants
- AI-assisted triage and evidence-based prioritization
- Managing duplicate findings and incomplete validation environments
- Local vulnerability reproduction and security regression testing
- Targeted patch generation with independent human review
- Permission checks for defensive assistants and maintaining security tests
- Lab 09: Investigate five reports against a synthetic multi-tenant support-ticket API
Module 12: AI-Enabled Cyber Defense, the Defensive Loop
- The cycle: prevent, detect, respond, learn, improve, and prevent
- Detection and response: identifying compromised agents and containing them at runtime
- Discovery and validation: uncovering genuine vulnerabilities at scale while filtering noise
- Remediation and proof: generating patches, verifying them, and confirming vulnerability elimination
- The capability ladder and controls requiring privileged access
- Lab 10: Close the defender’s window
Capstone: Defend a Simulated Enterprise Assistant
- Simulated attacker attempts: prompt injection, tool abuse, and credential theft
- Simulated attacker attempts: retrieval poisoning, excessive API consumption, and agent escalation
- Team tasks: building WAF rules, AI gateway policies, and runtime detection
- Team tasks: implementing guardrails and an incident response runbook
Requirements
- Practical understanding of application security, API security, or SOC operations.
- Knowledge of web attack vectors such as injection flaws and access control failures.
- Foundational grasp of LLM application development.
- Proficiency with command-line tools and HTTP traffic analysis.
Target Audience
- Security engineers and Application Security (AppSec) practitioners.
- SOC analysts and detection engineers.
- API and cloud security engineers.
- Platform, infrastructure, and WAF engineers.
- Security architects and team leads overseeing 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