Course Outline
Day 1: Foundations and Core Threats
Module 1: Introduction to OWASP GenAI Security Project (1 hour)
Learning Objectives:
- Trace the evolution from the traditional OWASP Top 10 to the unique security challenges of Generative AI.
- Explore the ecosystem and resources provided by the OWASP GenAI Security Project.
- Distinguish between traditional application security and the specific requirements of AI security.
Topics Covered:
- An overview of the mission and scope of the OWASP GenAI Security Project.
- Introduction to the Threat Defense COMPASS framework.
- Understanding the current AI security landscape and regulatory demands.
- Differentiating AI attack surfaces from traditional web application vulnerabilities.
Practical Exercise: Configuring the OWASP Threat Defense COMPASS tool and conducting an initial threat assessment.
Module 2: OWASP Top 10 for LLMs - Part 1 (2.5 hours)
Learning Objectives:
- Master the first five critical vulnerabilities associated with LLMs.
- Analyze attack vectors and exploitation techniques.
- Apply practical mitigation strategies in real-world contexts.
Topics Covered:
LLM01: Prompt Injection
- Techniques for direct and indirect prompt injection.
- Hidden instruction attacks and cross-prompt contamination risks.
- Practical examples including jailbreaking chatbots and bypassing safety filters.
- Defense strategies such as input sanitization, prompt filtering, and differential privacy.
LLM02: Sensitive Information Disclosure
- Risks related to training data extraction and system prompt leakage.
- Analyzing model behavior for potential exposure of sensitive information.
- Privacy implications and adherence to regulatory compliance standards.
- Mitigation approaches including output filtering, access controls, and data anonymization.
LLM03: Supply Chain Vulnerabilities
- Social security of third-party model dependencies and plugins.
- Risks associated with compromised training datasets and model poisoning.
- Vendors risk assessment for AI components.
- Practices for secure model deployment and verification.
Practical Exercise: A hands-on lab demonstrating prompt injection attacks on vulnerable LLM applications and the implementation of defensive measures.
Module 3: OWASP Top 10 for LLMs - Part 2 (2 hours)
Topics Covered:
LLM04: Data and Model Poisoning
- Techniques for manipulating training data.
- Modifying model behavior through poisoned inputs.
- Backdoor attacks and verifying data integrity.
- Prevention methods including data validation pipelines and provenance tracking.
LLM05: Improper Output Handling
- Insecure processing of content generated by LLMs.
- Risks of code injection via AI-generated outputs.
- Potential for cross-site scripting through AI responses.
- Frameworks for output validation and sanitization.
Practical Exercise: Simulating data poisoning attacks and implementing robust output validation mechanisms.
Module 4: Advanced LLM Threats (1.5 hours)
Topics Covered:
LLM06: Excessive Agency
- Risks associated with autonomous decision-making and boundary violations.
- Managing agent authority and permissions.
- Unintended system interactions and privilege escalation risks.
- Implementing guardrails and human oversight controls.
LLM07: System Prompt Leakage
- Vulnerabilities related to the exposure of system instructions.
- Risks of credential and logic disclosure through prompts.
- Techniques used to extract system prompts during attacks.
- Securing system instructions and external configurations.
Practical Exercise: Designing secure agent architectures with appropriate access controls and monitoring capabilities.
Day 2: Advanced Threats and Implementation
Module 5: Emerging AI Threats (2 hours)
Learning Objectives:
- Gain insight into cutting-edge AI security threats.
- Implement advanced detection and prevention techniques.
- Design resilient AI systems capable of withstanding sophisticated attacks.
Topics Covered:
LLM08: Vector and Embedding Weaknesses
- Vulnerabilities in RAG systems and vector database security.
- Embedding poisoning and attacks involving similarity manipulation.
- Adversarial examples in semantic search contexts.
- Securing vector stores and implementing anomaly detection mechanisms.
LLM09: Misinformation and Model Reliability
- Detection and mitigation of hallucinations.
- Addressing bias amplification and ensuring fairness.
- Mechanisms for fact-checking and source verification.
- Integrating content validation with human oversight.
LLM10: Unbounded Consumption
- Risks of resource exhaustion and denial-of-service attacks.
- Strategies for rate limiting and resource management.
- Optimizing costs and implementing budget controls.
- Establishing performance monitoring and alerting systems.
Practical Exercise: Constructing a secure RAG pipeline with vector database protection and hallucination detection capabilities.
Module 6: Agentic AI Security (2 hours)
Learning Objectives:
- Comprehend the unique security challenges posed by autonomous AI agents.
- Apply the OWASP Agentic AI taxonomy to practical systems.
- Implement security controls within multi-agent environments.
Topics Covered:
- Introduction to Agentic AI and autonomous systems.
- Overview of the OWASP Agentic AI Threat Taxonomy: Agent Design, Memory, Planning, Tool Use, and Deployment.
- Security and coordination risks in multi-agent systems.
- Attacks involving tool misuse, memory poisoning, and goal hijacking.
- Securing communication and decision-making processes among agents.
Practical Exercise: Conducting a threat modeling exercise using the OWASP Agentic AI taxonomy on a multi-agent customer service system.
Module 7: OWASP Threat Defense COMPASS Implementation (2 hours)
Learning Objectives:
- Mastery of the practical application of Threat Defense COMPASS.
- Integrate AI threat assessment into organizational security programs.
- Develop comprehensive AI risk management strategies.
Topics Covered:
- In-depth exploration of the Threat Defense COMPASS methodology.
- Integration with the OODA Loop: Observe, Orient, Decide, Act.
- Mapping threats to MITRE ATT&CK and ATLAS frameworks.
- Constructing AI Threat Resilience Strategy Dashboards.
- Seamless integration with existing security tools and processes.
Practical Exercise: Executing a complete threat assessment using COMPASS for a Microsoft Copilot deployment scenario.
Module 8: Practical Implementation and Best Practices (2.5 hours)
Learning Objectives:
- Design secure AI architectures from the ground up.
- Implement monitoring and incident response mechanisms for AI systems.
- Create governance frameworks to support AI security.
Topics Covered:
Secure AI Development Lifecycle:
- Applying security-by-design principles to AI applications.
- Code review practices for LLM integrations.
- Testing methodologies and vulnerability scanning techniques.
- Deployment security and production hardening strategies.
Monitoring and Detection:
- Specific logging and monitoring requirements for AI systems.
- Anomaly detection methods tailored for AI systems.
- Incident response procedures for AI security events.
- Forensics and investigation techniques.
Governance and Compliance:
- Frameworks and policies for AI risk management.
- Regulatory compliance considerations (including GDPR, AI Act, etc.).
- Assessing third-party risk for AI vendors.
- Security awareness training for AI development teams.
Practical Exercise: Designing a comprehensive security architecture for an enterprise AI chatbot, encompassing monitoring, governance, and incident response procedures.
Module 9: Tools and Technologies (1 hour)
Learning Objectives:
- Evaluate and implement AI security tools.
- Gain an understanding of the current landscape of AI security solutions.
- Build practical detection and prevention capabilities.
Topics Covered:
- The AI security tool ecosystem and vendor landscape.
- Open-source security tools: Garak, PyRIT, and Giskard.
- Commercial solutions for AI security and monitoring.
- Integration patterns and deployment strategies.
- Criteria for tool selection and evaluation frameworks.
Practical Exercise: A hands-on demonstration of AI security testing tools and planning for implementation.
Module 10: Future Trends and Wrap-up (1 hour)
Learning Objectives:
- Understand emerging threats and future security challenges.
- Develop strategies for continuous learning and improvement.
- Create actionable plans for organizational AI security programs.
Topics Covered:
- Emerging threats including deepfakes, advanced prompt injection, and model inversion.
- Future developments and roadmap for the OWASP GenAI project.
- Building AI security communities and facilitating knowledge sharing.
- Continuous improvement and threat intelligence integration.
Action Planning Exercise: Developing a 90-day action plan for implementing OWASP GenAI security practices within participants' organizations.
Requirements
- A general understanding of web application security principles
- Basic familiarity with AI and Machine Learning concepts
- Prior experience with security frameworks or risk assessment methodologies is advantageous
Target Audience
- Cybersecurity professionals
- AI developers
- System architects
- Compliance officers
- Security practitioners
Testimonials (1)
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.