Docs / GenAI security

Chapter 10 / Blue team

Defending against AI-assisted activity

Turn the report’s operational observations into cautious detection hypotheses, response playbooks and defensive controls.

Research-led, evidence-first. Original report pp. 35–40, 45–50. Examples use synthetic data or explicitly authorized labs. Observations, inferences and teaching additions are kept distinct.

On this page

Detect behavior before attributing it to AI

The report describes noisy, repetitive agent activity and the possibility of broad productivity uplift. Neither gives defenders a unique AI fingerprint. Human operators and authorized scanners can produce similar patterns; a model can also produce little visible activity if a human filters its suggestions.

Focus on unauthorized discovery, access and data movement rather than proving which model generated a request. AI attribution usually requires additional evidence, such as tool artifacts, provider records or an operator disclosure. Network repetition alone is not enough.

Candidate analytics, not validated detectors

Detection hypotheses inspired by the traces
PatternPossible interpretationImportant confounder
High request rate, low operation diversityAgent repeatedly executing the same branchHealth checks or authorized scanners
Repeated unresolved-host or redirect cyclesPoor environment reasoning or a broken automation loopMisconfigured legitimate integration
Broad discovery followed by little state changeReconnaissance outpaces decision-makingAn intentionally scoped inventory job
Many similar tool processes with shared ancestryAutomated delegation or retry stormParallel security assessment tooling

These are proposals for local validation, not published detection accuracy from the report. Baseline your own environment, label approved testing windows and measure false positives. A useful alert includes the observed sequence and scope context, not simply “AI attack detected.”

Join application, identity and host evidence

Application logs can show request paths, authorization decisions and response outcomes. Identity logs can establish whether sessions or privileges changed. Host telemetry can show tool execution and process ancestry where visibility exists. Network records provide destination and timing context. Correlation is stronger than interpreting an isolated request in a vacuum.

Preserve timestamps with timezone and clock quality. Record detection coverage gaps. Do not send sensitive payloads or customer records into an external model just to summarize an alert; apply the same data-minimization rules used for any analysis service.

Reduce the value of the next step

  • Enforce server-side authorization consistently; UI restrictions do not protect an API.
  • Inventory and patch externally reachable applications, including staging and forgotten virtual hosts.
  • Protect identity recovery and administrative paths with appropriate verification and monitoring.
  • Use least-privileged service accounts and segmented access to reduce lateral reach.
  • Make unusual access and privilege changes reviewable through durable logs.
  • Validate controls with authorized, repeatable tests rather than a model’s confidence.

These controls remain useful regardless of whether a person or an agent initiates the action. The report’s central operational theme is that faster reconnaissance can make existing exposure easier to find; it does not make conventional security controls obsolete.

A response workflow

Triage the observed behavior, confirm whether it matches an authorized activity, preserve relevant evidence and assess actual identity or target-state changes. Contain based on impact and confidence. A repetitive scanner may require different handling from a confirmed cross-tenant data-access event, even if both were AI-assisted.

Map confirmed behavior to ATT&CK where useful, but keep the mapping distinct from attribution. Maintain a hypothesis log for what is known, what is inferred and what remains unverified. This is the same evidence discipline used in the agent-state chapter, applied to defensive analysis.

Checkpoint

An alert fires on repeated directory requests. What would make it actionable? Confirmation that the source is unauthorized, the affected application and scope, whether access or state changed, and evidence distinguishing generic errors from successful discovery. A model name is not a prerequisite for containment.

References & source notes

Source mapping: supplied report, pp. 35–40, 45–50. Read the full bibliography and editorial notes, or find a tool in the upstream reference catalogue.

Adapted by OverWatch Labs from the OWASP GenAI Security Project’s LLM Exploit Generation: Phase 2 (October 2026). Reorganized, paraphrased and supplemented with teaching examples. No OWASP endorsement implied.

Original report · CC BY-SA 4.0 · Attribution and changes