Course Overview

Large Language Models (LLMs) are increasingly used in chatbots, AI assistants, enterprise applications, and automated workflows. As organizations rely more heavily on these systems, understanding their security weaknesses becomes essential. Prompt injection is one of the most important threats to LLM applications because attackers can manipulate model instructions, bypass intended controls, and influence AI behavior. This course begins with how LLMs process prompts and introduces the core vulnerability of prompt injection before progressing into direct attack vectors, persona-based attacks, and practical challenges such as the Gandalf Challenge. It then explores indirect prompt injection, RAG poisoning, agent-based attacks, invisible text injection, real-world failures involving Bing Sydney and the Chevy chatbot, defense-in-depth strategies, and automated AI red teaming using Promptfoo, Garak, and PyRIT. The course concludes with a CTF challenge and practical application of the concepts covered. By completing this course, you will understand how to identify, test, exploit, and defend against prompt injection and other common LLM security threats.

What You Will Learn

  • Execute Direct and Indirect Prompt Injection attacks to expose vulnerabilities in LLMs, RAG pipelines, and autonomous AI Agents.
  • Design a robust "Defense-in-Depth" architecture to protect AI applications from malicious inputs, data exfiltration, and unauthorized actions.
  • Automate AI Red Teaming and security testing using industry-standard tools like Promptfoo, Garak (NVIDIA), and PyRIT (Microsoft).
  • Harden system prompts and implement input/output validation to effectively mitigate the #1 vulnerability on the OWASP LLM Top 10.
  • Identify and exploit advanced AI attack vectors, including RAG knowledge base poisoning, multimodal image injection, and invisible text steganography.
  • Analyze real-world AI security failures (like the GitHub Copilot RCE and Bing Chat leaks) to understand attacker mindsets and prevent costly breaches.

Program Curriculum

  • Introduction
  • Course Pre-requisites & Disclaimer
  • Foundations: How LLMs Process Prompts
  • The Core Vulnerability: Prompt Injection
  • Chapter 1 Quiz

  • Direct Attack Vectors & Personas
  • Practical: The Gandalf Challenge
  • Solution Guide: Gandalf Cheat Sheet
  • Chapter 2 Quiz

  • Indirect Injection, RAG Poisoning & Agents
  • Practical: Invisible Text Injection for Your Practice
  • Chapter 3 Quiz

  • Case Studies: Bing Sydney & Chevy Chatbot
  • Chapter 4 Quiz

  • The Layered Approach: Defense in Depth
  • Chapter 5 Quiz

  • Red Teaming Tools: Promptfoo, Garak & PyRIT
  • Chapter 6 Quiz

  • CTF Challenge & Course Wrap-up
  • Chapter 8 Quiz
Load more modules

Instructor

Armaan Sidana

Armaan Sidana is a multifaceted individual with a passion for excellence across various domains. His expertise lies in the dynamic field of cybersecurity, where he holds notable certifications such as OSCP, CEH, CISA, and CSFPC. As a committed professional, He consistently seeks opportunities to contribute to the ever-evolving landscape of information security. Secured 100+ Companies with 1500+ Security Bugs. Mentored 25000+ students till now, being the guest lecturer at many educational institutions.

Join over 1 Million professionals from the most renowned Companies in the world!

certificate

Choose the Pro Plan That Fits Your Learning Journey

Invest in your future with flexible Pro subscription plans. Whether you're starting your cybersecurity journey or expanding your expertise, choose the membership duration that works for you and gain access to our complete learning platform.

Monthly Plans
Annual Plans
Save 20% with our annual plans!

Pro

Ideal for continuous learning, offering extensive resources with 900+ courses and diverse Learning Paths to enhance your skills.

$ 599.00
Billed annually or $69.00 billed monthly

What is included

  • Access to 900+ Premium Short Courses
  • 70+ Structured Learning Paths
  • Validation of Completion with All Courses and Learning Paths
  • New Courses Added Every Month
Early Access Offer

Pro +

Experience immersive learning with Practice Labs and CTF Challenges for comprehensive skill-building.

$ 699.00
Billed annually or $79.00 billed monthly

Everything in Pro and

  • 500+ Practice Labs with Guided Instructions
  • 400+ CTF Challenges with Detailed Walkthroughs
  • New Practice Labs and Challenges Added Every Month

Related Courses

1 of 50