Course Outline
Module 1: AI Systems from a Security Engineer's Perspective
- Comparing 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
- Limitations of WAF visibility in AI contexts
Module 2: The OWASP GenAI Top 10
- Addressing prompt injection, insecure output handling, training data poisoning, and model DoS
- Mitigating supply chain vulnerabilities, sensitive data leaks, and excessive agency
- Handling vector and embedding weaknesses, misinformation, and unbounded resource consumption
- Distinguishing GenAI risks from the classic OWASP list
- Aligning categories with WAF, gateway, and application controls
- Evaluating control effectiveness and limitations
Module 3: Detecting Prompt Injection
- Understanding direct and indirect prompt injection
- Counteracting hidden instructions and document-based attacks
- Preventing HTML and Markdown injection
- Addressing jailbreak patterns, context overrides, and role confusion
- Detection methods: heuristics, semantic classification, linting, and boundary checks
- Implementing allow/deny policies and AI-specific regex patterns
- Lab 02: Attack a chatbot, evade basic filters, and construct layered detection
Module 4: Developing AI-Aware WAF Rules
- Securing LLM endpoints and inference APIs
- Implementing token-based rate limiting and prompt size monitoring
- Using AI-specific signatures and conversation anomaly detection
- Mitigating multi-turn abuse, model enumeration, and inference scraping
- Providing protection against denial-of-wallet attacks
- Cases: protecting chat completions, streaming APIs, and recursive agent calls
- Lab 03: Creating AI-aware WAF rules
Module 5: Securing RAG Pipelines
- Addressing vector database threats and embedding poisoning
- Defending against malicious PDFs, documents, and semantic poisoning
- Preventing retrieval manipulation and hidden instruction injection
- Mitigating cross-document contamination and data exfiltration
- Defenses: sanitization, trust scoring, metadata isolation, provenance, and retrieval policies
- Lab 04: Upload a poisoned PDF to compromise the assistant
Module 6: Securing Agentic AI
- Managing excessive agency, tool abuse, API chaining, and autonomous loops
- Preventing permission escalation, memory poisoning, and indirect tool execution
- Countering agent impersonation, credential leaks, and multi-agent attacks
- Enforcing task-scoped authority and distinct identity layers
- Applying least privilege, approval gates, runtime policies, sandboxing, and whitelisting
- Lab 05: Securing an autonomous agent
Module 7: API Security for AI
- Securing API gateways, GraphQL AI risks, MCP, and API abuse
- Implementing JWT protection, AI plugin security, and agent authentication
- Managing delegated authorization and short-lived task credentials
- Enabling task stopping, revocation, and downstream verification
- Utilizing secret management, signed prompts, and AI API inventories
- Aligning controls with the OWASP API Security Top 10
- Lab 06: Detecting denial-of-wallet attacks
Module 8: Detection Engineering and SOC Integration
- Analyzing AI telemetry, prompt logs, and token analytics
- Implementing anomaly detection and semantic SIEM pipelines
- Hunting for AI attack indicators and LLM abuse
- Correlating runtime observability data: principal, task, action, policy, and effect
- Detecting jailbreak campaigns, automated abuse, and model scraping
- Conducting agent incident drills: stop, contain, recover, and learn
- Lab 07: Monitoring AI abuse patterns in logs
Module 9: Cloud WAFs and AI Security
- Using AWS WAF, Azure WAF, and Cloudflare AI Gateway for AI APIs
- Leveraging API gateways, Envoy filtering, Kong, and NGINX patterns
- Comparing traditional WAFs, AI gateways, and application-layer guardrails
- Choosing between proxy-based and semantic filtering
- Understanding shared responsibility for inference and enterprise connectors
- Strategizing action, resource, and egress enforcement placement
Module 10: Constructing a Layered AI Defense
- Recognizing that no single layer, especially WAFs, can secure AI alone
- Integrating layers: WAF, API gateway, AI gateway, guardrails, and runtime monitoring
- Implementing identity management, authorization, sandboxing, and human approval
- Enhancing observability and incident response
- Lab 08: Building a multi-layered AI defense architecture
Module 11: Using AI for Defense, from Detection to Verified Remediation
- Managing the defender's window and maintaining continuous defense
- Enforcing scoped access, security context, and invariants
- Utilizing AI for assisted triage and evidence-based prioritization
- Handling duplicate findings and validating in incomplete environments
- Performing local vulnerability reproduction and security regression testing
- Generating focused patches with independent human review
- Checking defensive assistant permissions and preserving security tests
- Lab 09: Investigating five reports on a synthetic multi-tenant support-ticket API
Module 12: AI-Enabled Cyber Defense, the Defensive Loop
- Cycle: Prevent, detect, respond, learn, improve, prevent
- Detect and respond: identifying compromised agents and containing them
- Discover and validate: finding real vulnerabilities while filtering noise
- Remediate and prove: generating, verifying, and proving vulnerability removal
- Understanding the capability ladder and privileged access requirements
- Lab 10: Closing the defender's window
Capstone: Defending a Simulated Enterprise Assistant
- Simulating attacks involving prompt injection, tool abuse, and credential theft
- Simulating attacks involving retrieval poisoning, API over-consumption, and agent escalation
- Teams implementing WAF rules, AI gateway policies, and runtime detection
- Teams establishing guardrails and incident response runbooks
Requirements
- Proficiency in application security, API security, or SOC operations.
- Understanding of web attack categories, including injection and access control failures.
- Foundational knowledge of LLM application development.
- Experience with command-line tools and HTTP traffic analysis.
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 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