Course Outline
Day 1: Fundamental Principles and Primary Threat Vectors
Module 1: Introduction to the OWASP GenAI Security Project (1 hour)
Learning Objectives:
- Comprehend the transition from standard OWASP Top 10 risks to distinct Generative AI security challenges
- Examine the resources and ecosystem surrounding the OWASP GenAI Security Project
- Differentiate between conventional application security controls and specific AI security requirements
Content Overview:
- Summary of the OWASP GenAI Security Project mission and operational scope
- Foundational concepts of the Threat Defense COMPASS framework
- Analysis of the current AI security landscape and applicable regulatory standards
- Comparison of AI-specific attack surfaces with traditional web application vulnerabilities
Practical Application: Configuration of the OWASP Threat Defense COMPASS tool and execution of preliminary threat evaluations
Module 2: OWASP Top 10 for LLMs - Part 1 (2.5 hours)
Learning Objectives:
- Master the first five critical vulnerabilities associated with Large Language Models (LLMs)
- Identify specific attack vectors and exploitation methodologies
- Implement effective mitigation strategies for government and enterprise contexts
Content Overview:
LLM01: Prompt Injection
- Techniques for direct and indirect prompt injection
- Risks associated with hidden instructions and cross-prompt contamination
- Casual studies: Bypassing safety protocols and jailbreaking chatbot systems
- Defensive measures: Input sanitization, prompt filtering, and differential privacy implementations
LLM02: Sensitive Information Disclosure
- Prevention of training data extraction and system prompt leakage
- Monitoring model behavior to prevent the exposure of sensitive data
- Assessment of privacy impacts and regulatory compliance for government operations
- Mitigation tactics: Output filtering, strict access controls, and data anonymization
LLM03: Supply Chain Vulnerabilities
- Management of third-party model dependencies and plugin security
- Identification of compromised training datasets and model poisoning risks
- Conducting vendor risk assessments for integrated AI components
- Establishing secure model deployment and verification protocols
Practical Application: Laboratory exercise involving prompt injection attacks on vulnerable LLM applications and the deployment of defensive controls
Module 3: OWASP Top 10 for LLMs - Part 2 (2 hours)
Content Overview:
LLM04: Data and Model Poisoning
- Analysis of training data manipulation techniques
- Preventing model behavior alteration via poisoned inputs
- Defending against backdoor attacks and ensuring data integrity
- Preventive measures: Implementing data validation pipelines and provenance tracking
LLM05: Improper Output Handling
- Secure processing of LLM-generated content
- Mitigating code injection risks through AI-generated outputs
- Preventing Cross-Site Scripting (XSS) via AI responses
- Frameworks for output validation and sanitization
Practical Application: Simulation of data poisoning attacks and the implementation of robust output validation mechanisms
Module 4: Advanced LLM Threats (1.5 hours)
Content Overview:
LLM06: Excessive Agency
- Risks associated with autonomous decision-making and boundary violations
- Management of agent authority and permission sets
- Mitigating unintended system interactions and privilege escalation
- Implementation of guardrails and human oversight controls for government workflows
LLM07: System Prompt Leakage
- Vulnerabilities related to the exposure of system instructions
- Preventing the disclosure of credentials and logic through prompts
- Countermeasures for attack techniques targeting system prompt extraction
- Securing system instructions and external configuration parameters
Practical Application: Designing secure agent architectures with appropriate access controls and continuous monitoring
Day 2: Advanced Threats and Operational Implementation
Module 5: Emerging AI Threats (2 hours)
Learning Objectives:
- Analyze cutting-edge AI security threats relevant to public sector operations
- Deploy advanced detection and prevention techniques
- Design resilient AI systems capable of withstanding sophisticated attacks
Content Overview:
LLM08: Vector and Embedding Weaknesses
- Vulnerabilities in RAG systems and vector database security
- Defending against embedding poisoning and similarity manipulation attacks
- Mitigating adversarial examples in semantic search processes
- Securing vector stores and implementing anomaly detection for government use cases
LLM09: Misinformation and Model Reliability
- Methods for hallucination detection and mitigation
- Addressing bias amplification and ensuring fairness in public services
- Implementation of fact-checking and source verification mechanisms
- Integration of content validation and human oversight
LLM10: Unbounded Consumption
- Preventing resource exhaustion and denial-of-service attacks
- Strategies for rate limiting and resource management
- Cost optimization and budget control measures
- Establishing performance monitoring and alerting systems
Practical Application: Construction of a secure RAG pipeline with vector database protection and hallucination detection capabilities
Module 6: Agentic AI Security (2 hours)
Learning Objectives:
- Understand the distinct security challenges posed by autonomous AI agents
- Apply the OWASP Agentic AI taxonomy to operational systems
- Implement security controls for multi-agent environments
Content Overview:
- Overview of Agentic AI and autonomous system architectures
- OWASP Agentic AI Threat Taxonomy: Design, Memory, Planning, Tool Use, and Deployment
- Security considerations for multi-agent coordination
- Mitigating tool misuse, memory poisoning, and goal hijacking
- Securing agent communication and decision-making processes for government accountability
Practical Application: Threat modeling exercise utilizing the OWASP Agentic AI taxonomy for a multi-agent customer service system
Module 7: OWASP Threat Defense COMPASS Implementation (2 hours)
Learning Objectives:
- Proficiently apply the Threat Defense COMPASS methodology
- Integrate AI threat assessment into organizational security programs
- Formulate comprehensive AI risk management strategies
Content Overview:
- Detailed examination of the Threat Defense COMPASS methodology
- Integration of the OODA Loop: Observe, Orient, Decide, Act
- Mapping AI threats to MITRE ATT&CK and ATLAS frameworks
- Construction of AI Threat Resilience Strategy Dashboards
- Integration with existing security tools and operational processes
Practical Application: Completion of a 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 inception
- Implement monitoring and incident response protocols for AI systems
- Establish governance frameworks for AI security compliance
Content Overview:
Secure AI Development Lifecycle:
- Security-by-design principles for AI applications
- Code review standards for LLM integrations
- Testing methodologies and vulnerability scanning protocols
- Deployment security and production environment hardening
Monitoring and Detection:
- AI-specific logging and monitoring requirements
- Anomaly detection mechanisms for AI systems
- Incident response procedures for AI security events
- Forensic analysis and investigation techniques
Governance and Compliance:
- AI risk management frameworks and policy development
- Regulatory compliance requirements (GDPR, EU AI Act, and U.S. standards)
- Third-party risk assessment for AI vendors serving government entities
- Security awareness training for AI development teams
Practical Application: Design of a comprehensive security architecture for an enterprise AI chatbot, including monitoring, governance, and incident response procedures
Module 9: Tools and Technologies (1 hour)
Learning Objectives:
- Evaluate and deploy appropriate AI security tools
- Analyze the current landscape of AI security solutions
- Establish practical detection and prevention capabilities
Content Overview:
- Overview of the AI security tool ecosystem and vendor market
- Open-source security tools: Garak, PyRIT, and Giskard
- Commercial solutions for AI security and continuous monitoring
- Integration patterns and deployment strategies
- Criteria for tool selection and evaluation frameworks
Practical Application: Demonstration of AI security testing tools and formulation of an implementation plan
Module 10: Future Trends and Conclusion (1 hour)
Learning Objectives:
- Identify emerging threats and future security challenges
- Develop strategies for continuous learning and improvement
- Create action plans for organizational AI security programs
Content Overview:
- Emerging threats: Deepfakes, advanced prompt injection, and model inversion
- Future developments and roadmap for the OWASP GenAI project
- Establishing AI security communities and knowledge-sharing initiatives
- Continuous improvement through threat intelligence integration
Action Planning Exercise: Development of a 90-day action plan for implementing OWASP GenAI security practices within the participant's organization
Requirements
- General understanding of web application security principles
- Basic familiarity with AI and Machine Learning concepts
- Experience with security frameworks or risk assessment methodologies is preferred
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.