Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
ISC2 · ISC2 AI Security · BETA

AI Security Fundamentals and Threats

ISC2 AI Security · Lesson 4 of 34 · 24:01

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Lesson 4 of the free ISC2 AI security series (pilot exam, domain 1, AI concepts and security fundamentals). In this lesson: zero trust for AI, prompt injection and jailbreaking, evasion and exfiltration, poisoning and model inversion, threat frameworks, and from threats to defenses. With three quick checks and a recap, and Ravenmoor Payments, a fictional payment provider, as the running example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

New attacks, old principles

A merchant uploaded an invoice to Ravenmoor's support assistant, and hidden text in it asked the assistant to list other merchants' fees. The attack used no malware and no stolen password, only words. This lesson covers the core principles and threats of AI security.

Zero trust for AI

Zero trust means never trust, always verify: no user, device, workload, or network location is trusted by default. Applied to AI, every call to a model, every tool an agent uses, and every document that enters a prompt is verified and authorized. The model itself is treated as untrusted, so its output is validated before anything acts on it. Agents get their own identities, and the least privilege they need, for the shortest time. And access is checked on each request, not once at sign in.

Prompt injection and jailbreaking

Prompt injection hides instructions in the input, so the model follows the attacker instead of its developer. Direct injection comes from the user who types it, while indirect injection hides in content the model reads, such as a web page, an email, or a document in a RAG index. Jailbreaking is a kind of direct injection that tricks the model into ignoring its safety rules, with role play or clever framing. Both work because a language model cannot reliably tell instructions from data. That is why no single filter is enough, and why the actions a model can trigger must be limited.

Evasion and exfiltration

Evasion attacks craft inputs that a trained model misclassifies, at inference time. For example, a fraudster adjusts the amount, the timing, and the merchant category of payments, until the fraud model scores them as safe. Exfiltration uses the AI to steal data: a prompt makes the assistant reveal its system prompt, another customer's data, or secrets it can reach. Indirect injection can even make an assistant send data out, by hiding it in a link or an image address that the interface loads.

Poisoning and model inversion

Data poisoning corrupts the training data, so the model learns what the attacker wants. A poisoned fraud model might learn that payments to one merchant are always safe, which works like a backdoor. Model inversion goes the other way: the attacker queries a model, and uses its outputs to rebuild sensitive training data, such as traits of real customers. Poisoning attacks integrity during training, while inversion attacks confidentiality after deployment. Data provenance and validation defend against poisoning, while limits on outputs and on queries defend against inversion.

Threat frameworks

You do not have to invent your own list of threats. OWASP publishes a Top 10 for large language model applications, with risks such as prompt injection, sensitive information disclosure, and excessive agency, and a separate Top 10 for agentic applications. NIST's taxonomy of adversarial machine learning groups attacks into evasion, poisoning, privacy attacks, and the misuse of generative AI. MITRE ATLAS is a knowledge base of adversary tactics and techniques against AI systems, built like MITRE ATT&CK, with case studies of real attacks. Use them to build threat models, test plans, and a shared vocabulary with your teams.

From threats to defenses

Each class of attack points to a defense. Injection and jailbreaks call for input and output filtering, a clear separation of instructions from data, and limits on what the model can do. Evasion calls for adversarial testing, and for models trained on examples of attacks. Poisoning and inversion call for data provenance, access control, and limits on what outputs reveal.

Recap

Let's recap. Zero trust for AI verifies every call, tool, and document, and treats the model's output as untrusted. Prompt injection can be direct or indirect, and jailbreaks bypass safety rules. Evasion fools a model at inference, and exfiltration uses it to steal data. Poisoning attacks training data, while model inversion rebuilds it from outputs. And OWASP, NIST, and MITRE ATLAS give you shared lists of threats.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. An invoice that a merchant uploaded contains hidden text, which tells Ravenmoor’s support assistant to reveal other merchants’ fees. What attack is this?

    • A jailbreak
    • Indirect prompt injection
    • An evasion attack
    • Model inversion
    Show the answer

    Indirect prompt injection

    Indirect prompt injection, because the instructions hide in content the model reads. “A jailbreak” is wrong, since a jailbreak is typed directly by the user to bypass safety rules. “An evasion attack” is wrong, because evasion fools a classifier with crafted inputs. And “Model inversion” is wrong, since model inversion rebuilds training data from a model's outputs.

  2. An attacker sends thousands of queries to Ravenmoor’s credit scoring interface, and uses the scores to rebuild details of the applicants in its training data. What is this?

    • Data poisoning
    • An evasion attack
    • A jailbreak
    • Model inversion
    Show the answer

    Model inversion

    Model inversion, which rebuilds sensitive training data from a model's outputs. “Data poisoning” is wrong, because poisoning corrupts the training data, and here the attacker only reads outputs. “An evasion attack” is wrong, since evasion tries to get a wrong decision, not to learn about the training data. And “A jailbreak” is wrong, because a jailbreak bypasses the safety rules of a language model.

  3. Ravenmoor’s red team wants a knowledge base of real attack techniques against AI systems, organized as adversary tactics and techniques. Which resource fits?

    • MITRE ATLAS
    • The OWASP Top 10 for LLM applications
    • ISO/IEC 42001
    • The NIST AI Risk Management Framework
    Show the answer

    MITRE ATLAS

    MITRE ATLAS organizes adversary tactics and techniques against AI systems, with case studies. “The OWASP Top 10 for LLM applications” is wrong, since the OWASP Top 10 ranks risks for applications, without a matrix of tactics. “ISO/IEC 42001” is wrong, because ISO 42001 defines a management system for AI. And “The NIST AI Risk Management Framework” is wrong, since the NIST AI Risk Management Framework organizes risk management, not attack techniques.