By NHI Mgmt Group Editorial TeamBased on Arxan Technologies: “AI-Powered Hacking Part Two, the ABCs: ‘AI. Based. Defense.’” (September 23, 2025)

TL;DR: AI is accelerating both offensive activity and defensive detection in application security, with the source article arguing that behavioural data, control-flow signatures, and runtime signals can help distinguish bots, abuse, and suspicious application execution patterns. Arxan Technologies frames this as an application hardening problem where defenders need richer telemetry and AI-assisted analysis to keep pace with increasingly automated attackers.


At a glance

What this is: This is an application security analysis arguing that AI-assisted detection can separate bots and suspicious runtime behaviour from legitimate user activity using behavioural data and execution-flow patterns.

Why it matters: It matters because IAM and application security teams need better signals for abuse detection, account integrity, and runtime anomaly detection as automated attackers become harder to distinguish from real users.


Context

Application threat detection fails when defenders rely on static rules or single-point indicators that do not reflect how software and users behave at runtime. In web and mobile applications, the security problem is not only whether a request is syntactically valid, but whether the sequence, timing, device state, and execution path look consistent with legitimate use. That makes behavioural telemetry, not just authentication, central to the control model.

This article sits at the intersection of application security and identity assurance because bot activity, replayed sessions, and suspicious execution patterns often surface as user-abuse problems before they become pure technical exploitation. For IAM and fraud teams, the key issue is how to distinguish real users, automated abuse, and compromised sessions without adding so much friction that legitimate activity is blocked.


Key questions

Q: How should security teams detect and block bad bots without locking out real users?

A: Start by combining multiple signals instead of relying on a single control like IP reputation or CAPTCHA alone. Modern bot traffic often rotates addresses, spoofs headers, and mimics human timing, so effective detection uses behavioral patterns, device characteristics, and request context together. The goal is precise risk-based enforcement that can allow, challenge, or block traffic while preserving legitimate user experience.

Q: Why do control-flow anomalies matter in application security?

A: They matter because many legitimate application journeys follow a stable sequence of checks and actions. When a sensitive operation happens without the expected preconditions, it can indicate tampering, abuse, or automation. Control-flow anomalies are useful because they expose runtime behaviour, not just input content. That makes them hard for attackers to fake consistently at scale.

Q: What are the signs that application telemetry is too weak for AI detection?

A: Common signs include sparse session data, limited device context, inconsistent logging across channels, and alerting that depends on one signal at a time. If the model cannot compare behaviour across a user journey, it will overfit or miss abuse entirely. Weak telemetry usually shows up as false confidence, not just false positives.

Q: How do IAM and application security teams share responsibility for bot risk?

A: IAM handles assurance of who or what is authenticating, while application security handles whether the runtime behaviour matches a legitimate use case. Bot risk sits between those domains, so shared policy is essential. Teams should agree on which signals trigger step-up checks, where to block automation, and when to escalate suspicious sessions for investigation.


Technical breakdown

Why behavioural telemetry matters for bot detection

Bot detection improves when defenders compare how real users and automated clients behave across multiple signals, not just login success or IP reputation. Behavioural telemetry includes mouse movement, device motion, request timing, session regularity, and other runtime signals that expose patterns humans do not sustain consistently. In application security, the value is not any single field but the correlation between fields over time. AI helps because it can process large datasets quickly and surface outliers that manual rules would miss. That makes detection more adaptive, especially when attackers intentionally mimic human interaction.

Practical implication: instrument applications with enough runtime telemetry to compare normal user behaviour against automated or scripted abuse.

Execution flow signatures as a runtime control

Execution flow signatures describe the order in which functions, guards, or application states normally occur during legitimate use. When most executions follow a predictable path, deviations can indicate tampering, automation, or abuse. The defensive value comes from treating control flow like a behavioural fingerprint. AI can learn these sequences and score unusual patterns, such as a sensitive action occurring without the expected pre-checks or state transitions. This is especially useful in client-side or payment-oriented applications where attackers try to bypass normal application logic rather than break authentication directly.

Practical implication: baseline normal control flow for high-value actions and alert when the sequence breaks expected runtime order.

AI changes the speed of both attack and detection

AI shortens the gap between offensive experimentation and defensive analysis. Attackers can automate abuse and adapt faster, while defenders can use the same class of tooling to classify behaviour, prioritise alerts, and enrich threat reports. That does not eliminate the need for conventional controls such as hardening, patching, and secure coding. It does mean that application security programmes now depend more heavily on telemetry quality, model calibration, and the ability to separate signal from noise in real time. The control objective shifts from perfect prevention to faster, better discrimination.

Practical implication: treat AI-assisted detection as an acceleration layer on top of hardening, not a substitute for core application controls.


Threat narrative

Attacker objective: The attacker aims to automate abuse at scale while hiding inside normal-looking application behaviour long enough to extract value or bypass controls.

  1. Entry begins with high-volume botting or scripted interaction that imitates legitimate users closely enough to reach application workflows.
  2. Credential or session abuse then becomes easier to disguise because behavioural noise makes automated activity harder to distinguish from real end-user traffic.
  3. Escalation occurs when abnormal execution paths, tampered devices, or manipulated application flows reach sensitive actions such as payment or account abuse.
  4. Impact is the erosion of trust in application telemetry, with fraud, account abuse, and operational disruption blending into ordinary user traffic.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

AI-assisted detection is becoming a control layer for application abuse, not just a security analytics add-on. When bots can imitate user activity closely, the value shifts to runtime discrimination across behaviour, device state, and execution path. That matters because application security and fraud prevention are converging around the same evidence set. Practitioners should treat telemetry quality as a governance issue, not only a detection issue.

Execution-flow signatures create a useful named concept for modern application defence: control-flow fingerprinting. The article shows why sequence-based patterns can expose suspicious actions that would look normal if viewed in isolation. This is especially relevant where sensitive functions depend on a predictable chain of guards and state checks. Security teams should baseline those sequences for critical workflows and use them to separate legitimate execution from tampered flows.

AI accelerates the defender only when the underlying data is rich enough to support discrimination. LLM-assisted analysis can help classify events faster, but it cannot manufacture signal where telemetry is missing or poor. That means application hardening, runtime visibility, and behavioural logging remain the foundation. The field should stop treating AI as a shortcut and start treating it as a force multiplier for well-instrumented controls.

Application abuse is now an identity problem as much as a code problem. Bot traffic, repeated sessions, and suspicious device patterns all challenge the assurance that a requester is who or what it claims to be. IAM, fraud, and application security teams need shared criteria for trust decisions because the attacker does not respect internal team boundaries. Practitioners should align detection, authentication, and runtime policy around the same evidence.

Client-side exploitation pressure is pushing defenders toward earlier and richer inspection. As attackers move further into application execution and away from obvious perimeter noise, defenders need controls that observe runtime behaviour before sensitive actions complete. This changes the governance model from post-event investigation to pre-abuse discrimination. Security teams should prioritise visibility at the point where behaviour becomes execution.

From our research library:

What this signals

Control-flow fingerprinting: this article points toward a useful operating model for application security teams that need to distinguish normal execution from automated abuse. The practical shift is to measure behaviour at the point of execution, then use AI to prioritise outliers rather than to replace core hardening controls.

AI-assisted detection will matter most where telemetry is already rich enough to support confidence decisions. For practitioners, the lesson is to improve runtime visibility first, then layer model-based classification onto the highest-value journeys and account types.

The broader programme implication is that bot defence, fraud detection, and application hardening are converging into one evidence chain. Teams that keep those functions separated will miss the runtime patterns that reveal abuse.


For practitioners

  • Instrument behavioural telemetry across high-value journeys Capture mouse movement, timing, device state, and session patterns for workflows where bot abuse or account takeover would matter most.
  • Baseline normal execution flow for critical functions Map the expected order of guards, validations, and sensitive operations so deviations can be scored as suspicious rather than ignored as noise.
  • Correlate runtime signals with identity risk Connect application telemetry to authentication and fraud signals so a suspicious session can be evaluated in context rather than in isolation.
  • Use AI to prioritise outlier analysis, not replace controls Apply model-assisted classification to triage abnormal behaviour faster, but keep secure coding, patching, and hardening as primary control layers.

Key takeaways

  • AI-powered defence is most useful when it can compare real user behaviour against automated execution patterns in runtime data.
  • Control-flow signatures and behavioural telemetry provide stronger bot-detection signals than isolated authentication checks alone.
  • Security teams need richer application instrumentation, because AI can accelerate analysis only when the underlying evidence is detailed enough.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK and OWASP API Security Top 10 address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKTA0001; TA0006; TA0007 — Initial Access; Credential Access; DiscoveryThe article focuses on automated abuse patterns, suspicious execution, and behaviour-based detection.
Recommendation — Map runtime abuse patterns to ATT&CK and hunt for repeated automation across high-value application journeys.
NIST CSF 2.0DE.CM-01 — Networks and systems are monitored to detect potential cybersecurity eventsBehavioural telemetry and runtime signals are central to the detection approach described.
Recommendation — Expand monitoring to include application runtime behaviour and high-value workflow telemetry.
CIS Controls v8CIS-8 — Audit Log ManagementThe article depends on detailed runtime evidence to distinguish legitimate use from abuse.
Recommendation — Centralise application logs and event telemetry so detection models can compare user behaviour across sessions.
OWASP API Security Top 10API8 — Security MisconfigurationThe runtime detection discussion depends on secure application behaviour and trustworthy request processing.
Recommendation — Review application and API controls for misconfigurations that would weaken behavioural detection and trust signals.

Key terms

  • Behavioural Telemetry: Operational evidence that shows what an identity actually did, not just what it was allowed to do. For autonomous systems, behavioural telemetry is essential because policy compliance alone cannot prove that the sequence of actions was safe.
  • Control-flow Signature: A control-flow signature is the expected sequence of application calls or execution steps that normally precedes a sensitive action. Security teams use it to spot deviations, such as skipped validations or unusual execution order, that may indicate tampering or abuse.
  • Runtime Detection: Runtime detection is the practice of monitoring behaviour while a system is operating so suspicious actions can be flagged or contained. It is useful for visibility, but it does not replace preventive identity controls because it reacts after the access path has already been used.
  • Application Hardening: The process of reducing an application’s attack surface by tightening configuration, authentication, dependencies, runtime behaviour, and monitoring. In mature programmes, hardening is continuous and linked to identity and secrets governance, not a one-time release activity.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps practitioners connect identity controls to the wider security decisions that shape access, trust, and runtime governance.
NHIMG Editorial Note
Published by the NHIMG editorial team on September 6, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org