Skip to content

AI Security

AI security is the practice of protecting artificial intelligence systems, including their models, training data, and serving pipelines, from attack, misuse, and unintended failure. It covers two sides of one coin: securing AI itself, and using AI to defend other systems.

The work spans a model’s whole lifecycle. Training data can be poisoned before a model ever learns, weights can be stolen or quietly tampered with, and a deployed model can leak sensitive records to someone who crafts the right queries. Say an attacker probes a bank’s fraud-detection model thousands of times to learn which transactions slide through untouched. Sound AI security treats the model as an asset with its own threat profile, locks down who can reach the training data, and watches inference for abuse. The frequent mistake is bolting protection on after launch, once the risky choices (wide-open APIs, chatty errors, unlogged prompts) are already baked in.

What are the main attacks against AI systems?

NIST AI 100-2e2025, published in March 2025, is the most useful map. For predictive models it groups attacks by goal. Evasion attacks feed a trained model crafted inputs at inference time so it misclassifies them, such as a slightly altered image or a malware sample tweaked to look benign. Poisoning attacks corrupt the training data or the model itself, and backdoor poisoning plants a hidden trigger that produces the attacker’s chosen output on demand. Privacy attacks pull information back out, through data reconstruction, membership inference (was this person’s record in the training set?), or model extraction.

Generative AI adds its own category. The OWASP Top 10 for LLM Applications 2025 ranks prompt injection as LLM01, and NIST separates direct injection from indirect injection, where the malicious instructions sit inside a web page, email, or document the model is asked to read. In the indirect case the attacker never touches the chat window at all.

What is the difference between AI security and adversarial machine learning?

Adversarial machine learning is the narrower field. It studies attacks on the learning algorithms themselves and the defenses against them, like adversarial training or input filtering. AI security takes that work and wraps ordinary controls around it: access control on the storage bucket that holds training data, secrets management for API keys in notebooks, rate limits on the inference endpoint, and logging of prompts and tool calls.

It also covers the model supply chain. Pretrained models pulled from public hubs are third-party code. Some model formats rely on Python’s pickle serialization, and the Python documentation warns that unpickling untrusted data can run arbitrary code. MITRE ATLAS catalogs these adversary tactics against AI in the same style as ATT&CK, and the NIST AI Risk Management Framework 1.0 (January 2023) supplies the governance layer through its Govern, Map, Measure, and Manage functions.

What is an example of AI security in practice?

Say a bank deploys an LLM assistant that reads customer emails and can call a payments API. An attacker sends an email with hidden text telling the assistant to forward account details to an outside address. No model tweak fully stops that. What stops the damage is design: the assistant’s API credentials allow read-only lookups, any payment or outbound message needs human approval, model output is treated as untrusted input before it reaches another system, and every prompt and tool call goes to the SIEM. OWASP calls the failure modes here Excessive Agency (LLM06) and Improper Output Handling (LLM05). Least privilege and input validation, both decades old, do most of the work.

How is AI security tested on the CISSP?

The 2024 outline has no objective called AI security. It names AI in objective 1.12, where awareness content should be reviewed for emerging technology such as AI, and in 7.7, which lists machine learning and AI based tools among detection and preventive measures. Securing a model you build maps to 3.1 (secure design principles such as threat modeling and least privilege) and 3.5 (assessing vulnerabilities of architectures). A model you buy or download maps to 8.4, security impact of acquired software. That’s why it sits naturally in Domain 3, Security Architecture and Engineering, which carries 13 percent of the exam. ISC2’s Exam Guidance for AI, published April 2, 2026, confirms the approach: AI concepts are mapped into existing domains, not split into a new one.

That changes on April 15, 2027. The new outline adds Ethics in AI to 1.1 and lists AI threats such as adversarial AI, model poisoning, and deepfake attacks in 3.7.

Expect questions to test settled principles on new components. If a scenario asks what to do first before rolling out a vendor’s generative AI tool, the best answer is usually a risk assessment and a decision on which data classifications may enter it, not buying an AI-specific security product. And be wary of any option that lets an AI tool make a high-impact decision with no human review. NIST’s taxonomy is in AI 100-2e2025, Adversarial Machine Learning, and the LLM risks are in the OWASP Top 10 for LLM Applications.

Related terms: Defense in Depth, Attack Surface, Threat, Adversarial Machine Learning