
AI Security
Notes on attacking AI systems: how I approach LLM applications and ML pipelines as an attack surface on penetration tests and red team engagements, and the controls that hold up.
Overview
AI now sits inside customer service, decision support, security monitoring and development pipelines. Every one of those integrations is new attack surface.
These notes cover how I treat AI systems as a target: mapping the weaknesses, chaining them into attacks and judging the real risk. They are written for use on red team operations, penetration tests and adversarial assessments, not as research summaries.
Notes in this section
Offensive testing
- Assessing AI Security: how I run AI security assessments during penetration tests and red team engagements
Defensive controls
- AI Security Controls: technical, administrative and operational controls for AI systems
Why AI matters on an offensive engagement
AI systems carry the usual software problems (exposed APIs, cloud misconfigurations, insecure endpoints) and add new ones, from prompt injection to data poisoning.
For an attacker that means:
- An AI-integrated system can be a foothold for persistence and pivoting
- Models and their pipelines can leak sensitive data
- Changing model behavior can enable fraud, misinformation or access escalation
- Datasets, dependencies and model weights are a supply chain to poison
AI is just another attack surface
The offensive approach doesn't change: reconnaissance, exploitation, persistence, impact. What changes is how the vulnerabilities show up and how you chain them.
How I break it down
I split AI testing into areas that map to the phases of a red team operation:
| Area | What it covers |
|---|---|
| Reconnaissance and mapping | Finding exposed AI systems, APIs and data flows |
| Prompt injection and jailbreaks | Testing guardrails and filters, extracting hidden instructions |
| Model exploitation | Membership inference, model extraction, training data leakage |
| Adversarial ML | Data poisoning, evasion attacks, backdoored models |
| Infrastructure and supply chain | Insecure vector databases, CI/CD pipelines, model registries |
| Abuse scenarios | Fraud automation, misinformation, compliance violations |
What makes a finding worth reporting
A lot of "AI vulns" don't matter on an engagement. I ask four questions:
- Can it be exploited in a realistic attack scenario?
- Does it affect data integrity, confidentiality or operations in a way the business cares about?
- Does it lead to a traditional exploit such as SSRF, RCE or lateral movement?
- Is it something the security team is likely to miss?
Approach
Showing that a model "can be fooled" isn't the goal. The goal is the weaknesses that matter in the deployment in front of you. I map findings to MITRE ATLAS and the OWASP Top 10 for LLM Applications so they slot into existing reporting. I tailor attacks to what the AI actually does, because a customer chatbot and a fraud-detection model fail in different ways. And I write findings up so someone else can reproduce them.
To keep current I follow MITRE ATLAS, the OWASP lists and academic research, and keep building my own payloads and tooling for prompt injection and adversarial ML.
Related resources
- Cloud Security: AI infrastructure in cloud environments
- Web Application Security: API security and injection attacks
- Defense Evasion: evading AI-based detection
References
- MITRE ATLAS: MITRE's knowledge base of adversary techniques against AI systems
- OWASP LLM Top 10: LLM application risks
- NIST AI Risk Management Framework: AI risk management guidance
Silver Ticket Attack and Defense
Silver Ticket attack techniques for forging Kerberos service tickets, maintaining persistent access, and evading detection in Active Directory domains.
AI security controls
Security controls for AI systems, technical, administrative and operational, across the usage, application and platform layers.