5.7.3. AI Capabilities in Security Operations
💡 First Principle: AI is automation that can cope with ambiguity. A script follows fixed rules; a model can summarize, classify, predict, and — in agentic form — decide which step to take next. That flexibility is both the benefit and the risk: the less deterministic the automation, the more guardrails, testing, and human oversight it needs, because its mistakes are harder to predict and still run at machine speed.
| Capability | What it does in a SOC | Main risk to manage |
|---|---|---|
| Chatbot | Conversational interface: analysts ask questions in natural language ("show failed logins for this user in the last 24 hours"), get incident summaries and report drafts; employees get self-service help-desk answers. It answers — it does not act on its own | Hallucinated answers; sensitive data in prompts and chat history |
| Predictive analysis | Models trained on historical data forecast what is likely next: which vulnerabilities are likely to be exploited soon (EPSS, 5.3.2, is a model of this kind), which assets or accounts are most at risk, where failures or capacity problems will occur. Shifts work from reactive to proactive | Predictions are probabilities, not certainties; stale or biased data skews priorities |
| AI-augmented baselines | Instead of a static threshold ("alert above 500 MB per day"), a model learns normal behavior per user, host, role, and time of day and keeps adjusting as the environment changes (the engine behind UEBA, 5.5.4). Fewer false positives than fixed rules | Baseline poisoning: a patient attacker increases activity slowly so the model learns the malicious pattern as normal |
| Agentic AI | AI agents plan and execute multi-step tasks with tools: triage an alert, query the SIEM, enrich with threat intelligence, isolate a host, open and update the ticket | Excessive agency — the agent acts with real permissions, and the emails and logs it analyzes can carry prompt injection written by the attacker |
Considerations that change when the automation is AI:
- Guardrails — hard limits on what automation may do, enforced outside the model: allowlisted actions, protected assets it can never touch (domain controllers, critical partner domains), rate limits, confidence thresholds, approval gates for high-impact actions, and a kill switch. A guardrail written only as an instruction in the prompt is not a guardrail.
- Automation logic — rule-based logic is deterministic and can be tested line by line; AI decisions are probabilistic, so they need test cases, logging of every input and action, and enough explainability to reconstruct why an action was taken.
- Process engineering — fix the process before automating it. Automating a broken or undocumented process makes it fail faster and at scale.
- Process risks — errors that propagate across every integrated system before anyone notices; automation bias, where analysts accept AI output without validating it; erosion of analysts' skills; and unclear accountability for an action no human chose.
- Deployment — introduce AI in stages: recommend-only ("shadow") mode compared against analysts, then automated low-impact actions with logging, then wider scope while keeping human approval for high-impact actions.
SecOps: CI/CD. Continuous integration and continuous deployment pipelines turn security checks into automation that cannot be skipped: every commit runs secrets scanning, dependency (software composition) analysis, SAST, infrastructure-as-code and container image scans, with DAST in staging, and a failed check blocks the deployment. The pipeline itself is a high-value target — protect its credentials, require reviewed and signed changes, and run build agents with least privilege. AI-generated code goes through exactly the same gates as human-written code.
Workflows: automation and integrations. Automation is a task that runs without a person performing it; integrations connect tools through APIs and webhooks so data and actions flow between them (SIEM → SOAR → EDR → ticketing, or an AI assistant wired into all four). Every integration is a stored credential and a trust relationship, so scope API keys to the minimum, rotate them, and monitor their use.
⚠️ Exam Trap: A chatbot answers; agentic AI acts. When a scenario describes an AI that isolates hosts, blocks domains, or disables accounts on its own, look for guardrails enforced outside the model, least privilege for the agent's identity, and human approval for high-impact actions — and remember that the attacker-written email or log the agent is analyzing can itself contain a prompt injection.