Start from the attack pattern already in the headlines
In early October 2026, reporting on ARTEX AI and Claude-style agents used against South Korean banks put a concrete problem in front of network defenders: automated intrusion traffic that looks like legitimate API and SaaS orchestration. Around the same week, forensic write-ups on reconstructing AI agent activity, including new scripts for review, made the same point from the host side. Network anomaly detection with machine learning still earns its keep here, but only when features, labels, and response hooks track agent-shaped sessions instead of raw volume.
For cybersecurity teams and IT administrators, the practical shift is straightforward. Treat AI-assisted probing, credential testing, and lateral API walks as a first-class traffic class. Score them with the same rigor you already apply to C2 beacons and password spray, then wire the scores into controls your edge and identity stacks can enforce within one shift.
What AI-agent campaigns change in the wire data
Classic anomaly models often emphasize bytes, connection counts, and rare destinations. Agent-driven campaigns compress many of those signals into patterns that resemble CI jobs, RPA bots, and approved integration accounts.
Expect these traits in flow and proxy telemetry:
- Short, purposeful bursts against auth, admin, and transfer endpoints, often with human-like pauses between tool calls
- Stable user-agent or library fingerprints that match common HTTP clients used by internal automation
- Session reuse across hosts after phishing or token theft, similar to the live-session problem highlighted in 0ktapus coverage across many firms
- Egress to mixed clean cloud ranges, where hosting cities overlap with ordinary SaaS tenants
- Tool-step regularity that shows up as repeating request graphs more than as DDoS-scale volume
ISC Stormcast and related threat digests through the first week of October 2026 keep reinforcing multi-vector noise around the same time windows. Your model needs labels that separate that background scan chatter from agent-paced targeting of your crown-jewel apps.
Telemetry you need before the model is worth training
Machine learning on NetFlow alone underfits this problem. Build a joinable feature store from sources you already operate.
Core network fields
- 5-tuple flows with duration, bytes, packets, TCP flags, and JA3/JA4 or equivalent TLS client hashes where available
- DNS query sequences tied to the same host and time window as the flows
- Proxy or ZTNA request path, status code, method, and authenticated identity
- VPN and remote-support session start and end markers for the same principals
Identity and endpoint joins
- IdP sign-in risk, MFA method, device posture, and token age
- EDR process tree for browsers, scripting hosts, and local agent runtimes
- Where you allow internal AI tooling, capture tool-call spans or audit events so you can positively label benign agent traffic
Labeling that keeps the model honest
Create three training labels at minimum: benign human, benign automation, and suspicious agent-like. Pull benign automation from known service accounts, scheduled jobs, and approved RPA ranges. Seed suspicious examples from tabletop replays, honeypot hits, and red-team agent runs that mirror the banking-probe style now in the news. Retrain or recalibrate after major advisory weeks so patch-driven scanning fails to redefine normal.
Feature design that survives SaaS lookalikes
Prefer relational and temporal features over single-threshold volume spikes.
- Request graph entropy: uniqueness of path transitions inside a 15-minute window for one identity
- Inter-arrival cadence: median and variance of gaps between requests; agent tooling often produces tighter clusters than people and looser clusters than pure scripts
- Role drift: distance between the current destination set and the principal’s 30-day app baseline
- Peer set novelty: how many new internal or external peers appear relative to the host’s historical neighborhood
- Identity-network coupling: new source ASN or device fingerprint attached to an old session token
- Protocol role mix: sudden rise in admin API verbs from accounts that previously only read tickets or mail
Keep geo and ASN context as secondary features. They help when agent egress shares cities with clean AI tenants, yet they should support the session-shape score rather than dominate it.
Model choices that fit real SOC workflows
Most mid-size environments succeed with a staged stack instead of one opaque neural net.
- Unsupervised baseline layer: isolation forest or autoencoder on the feature vectors above, scored per identity and per subnet
- Supervised refinement: gradient-boosted trees on labeled incidents so analysts can inspect feature importance during IR
- Sequence check: a lightweight Markov or transformer-lite model on request transitions for the top 20 critical applications only
Ship scores to your SIEM as a continuous field with versioned model IDs. Pair every high score with the top contributing features so the first responder can open the right proxy, IdP, and EDR views without guessing.
Immediate defensive controls once the score fires
Detection without an enforcement path stalls during AI-paced campaigns. Map score bands to actions you can execute with existing tools.
Score 0.6 to 0.75: enriched watch
- Force step-up MFA on the principal for admin and transfer apps
- Increase proxy logging verbosity and retain full URL paths for two hours
- Open a ticket that already includes flow peers, DNS, and IdP session IDs
Score 0.75 to 0.9: contain the session
- Revoke refresh tokens and terminate ZTNA or VPN sessions for that identity
- Apply temporary destination allowlists so the account reaches only mail and HR until review completes
- Quarantine the source host at the NAC or EDR layer if device posture also drifts
Score above 0.9: campaign mode
- Freeze new OAuth grants and service-principal creations in the affected tenant slice
- Push ASN or path-scoped denies for the active callback set while per-IP lists catch up
- Hand the agent-activity reconstruction scripts and your network score pack to IR so host forensics and flow timelines stay aligned
This control map also covers family-of-executive and home-network exposure themes in recent awareness reporting. When an executive device authenticates from a residential path into the same admin APIs your model watches, the identity-joined score still applies.
A one-week rollout plan for IT and SecOps
Day 1 to 2: Inventory which logs already carry identity on each flow or proxy event. Fix the highest-value join gaps for VPN, IdP, and outbound web.
Day 3: Freeze a feature schema and backfill two to four weeks of history. Explicitly tag known automation accounts so they train the benign automation class.
Day 4: Run the unsupervised layer in shadow mode. Compare top anomalies against change tickets and scan windows from your latest threat intelligence digest.
Day 5: Add supervised labels from recent incidents and a controlled agent-style purple-team exercise against a non-prod banking or payments-like API.
Day 6 to 7: Connect score thresholds to IdP session revoke and ZTNA posture actions. Document owners for model version, feature drift review, and false-positive budget.
Operational pitfalls to budget for
- Patch week distortion: advisory-driven mass scanning inflates rare-destination counts; gate training exclusions on maintenance calendars
- Shared egress: cloud NAT hides peer diversity; prefer identity and device keys over raw source IP when both exist
- Dual-stack split sessions: score v4 and v6 together for the same principal or the agent looks like two mild anomalies
- Over-trusting blocklists: feed hits are enrichment, while your anomaly score should still stand on session behavior
- Model staleness: schedule drift checks whenever you onboard a new SaaS integration or internal AI assistant
Takeaways you can use on Monday
- Anchor the use case to agent-shaped banking and SaaS probes, using the ARTEX AI and related October 2026 reporting as the tabletop brief
- Train on identity-joined flow, DNS, and proxy features with a dedicated benign automation class
- Score cadence, request graphs, and role drift ahead of bulk volume
- Export explainable scores into the SIEM with model version tags
- Bind score bands to MFA step-up, session kill, and temporary allowlists your admins already know how to run
- Keep host-side AI agent reconstruction in the same incident package as the network score so containment and forensics finish in one pass
Network anomaly detection with machine learning stays effective against AI-assisted intrusions when you measure the shape of trusted-looking automation and drive that measurement into session controls before the next probe wave blends into your SaaS baseline.