How to Detect Agentic AI Attacks: Hunting, Rules and Honeypots
Skip to content

Detecting Agentic AI Attacks

Detecting agentic AI attacks means identifying the activity left when AI agents plan and execute cyber intrusions across identities, applications, cloud services and endpoints.

On this page

Effective detection connects patterns of automated reconnaissance, authentication, privilege changes and follow-on activity rather than relying on a single indicator or tool signature. A security alert rarely proves that AI was responsible, because conventional automation and human operators can produce many of the same traces.

This guide explains the signs of agent-driven attacks, the logs needed to investigate them, a practical hunting order, open detection rules for common security platforms, and the use of honeypots and deception against AI agents. It also covers how to distinguish attempted access from a successful intrusion and what to do when suspicious activity is confirmed.

Why Agentic Attacks Leave Detectable Traces

Agentic attacks leave detectable traces because their automation allows familiar attack techniques to be executed repeatedly, across many targets, with very little delay between steps. The techniques themselves are generally familiar: password spraying, application reconnaissance, credential abuse, cloud permission discovery and lateral movement existed long before AI agents. What changes is how quickly attackers can combine them, interpret the results and decide what to try next.

ARTEX provides a documented example. The open-source agentic attack framework was released in July 2026 and has since been used by state-aligned and criminal groups. Microsoft reported a campaign that reached 2,900 failed sign-ins per minute from one source address, and Microsoft also documented cases in which an actor using ARTEX progressed from initial targeting to privileged cloud access in under three hours. The FBI FLASH, issued on November 13, 2026, dates malicious ARTEX use to at least August 2026 and describes victims across more than ten sectors.

The outcomes in that reporting differ, and the difference matters. The high-volume password spray itself produced no observed successful authentication, while other activity involving compromised application credentials enabled access to downstream cloud environments. The same campaign can therefore contain unsuccessful attempts and successful intrusions affecting different identities and systems.

Because the automation runs quickly and without the pauses of a human operator, it tends to produce recognizable patterns. Requests or authentication attempts recur at regular intervals or in tightly grouped bursts, and one source tests many routes, accounts, permissions or API operations within a short period. A discovery result is followed quickly by an attempt to use the information, and requests change after errors, access denials or unsuccessful responses. The attack may continue across long periods or resume through another address after blocking, and the files, accounts and resources it generates may follow predictable naming or numbering patterns.

These behaviors are useful investigation leads, but none is exclusive to AI. Traditional scripts can also generate fixed intervals, while agents can vary their timing and requests. The objective is therefore to detect malicious behavior and establish its outcome. Identifying the exact framework is useful when evidence supports it, but it should not delay investigation or response.

The ARTEX detection and hunting advisory contains the full indicator list, attack timeline and individual hunt queries. The methods in this guide apply more broadly to ARTEX, its forks and other automated attack frameworks.

Detecting Agentic AI Attacks By Behavior

Detecting agentic AI attacks starts with recognizing sequences of activity that are unusual for the identity, application or system involved. Individual events may look legitimate: a failed sign-in is common, reading a JavaScript file is normal browser behavior, and a cloud application listing resources may be performing an authorized management task. The combination becomes more meaningful when the events occur together, at unusual speed, or lead to an unexpected security change. The behaviors that follow are useful starting points for detection engineering and threat hunting.

Authentication at machine speed is often the first to appear. Automated password attacks may produce hundreds or thousands of failures over short periods, sometimes with remarkably consistent spacing, so look for one source repeatedly attempting authentication against many accounts, or concentrating a large number of attempts against selected identities. The strongest follow-up signal is a change in outcome: authentication failures followed by a successful sign-in, token issuance or new application session deserve immediate investigation. Source addresses alone are insufficient, because shared proxies and hosting infrastructure can serve legitimate users and attackers can distribute attempts across multiple sources.

Rapid application reconnaissance has a different shape. An agent exploring an application may download JavaScript bundles, source maps, runtime configuration and API documentation before making requests to less obvious endpoints, and a useful detection connects those events in order. For example, a source downloads a source map, discovers a route that the application’s normal interface never calls, and then immediately requests that route. The sequence suggests that the caller is examining application internals rather than following ordinary user navigation. Requests for deliberately nonexistent paths can also reveal calibration behavior, since an automated tool may first learn how the application responds to missing resources, then use that response to distinguish unsuccessful guesses from interesting results.

In the cloud, attacks often begin with attempts to establish what an identity can access. Broad API discovery, where one identity lists many unrelated services and resources in a short window, is one useful signal, and so is a burst of access denials as a new or unfamiliar principal attempts operations outside its normal permissions. Dry-run activity, with many permission checks or validation requests across different actions, points the same way. The picture becomes more serious when an identity begins reading vaults or secrets it has not previously accessed, or when an application adds credentials, receives new roles or modifies its own access. Authorized inventory tools can produce similar activity, so the investigation should compare the behavior with the principal’s approved purpose, established source networks and normal operating schedule.

Changing client identities are another lead. Some automated tools change HTTP user agents, source addresses or authentication methods between attempts, so one source presenting several unrelated browser or automation client identities within a minute may warrant examination. The same applies when activity resumes from a new address shortly after a previous source is blocked. Neither pattern proves AI involvement, but the evidence becomes stronger when the new activity continues the same route exploration, authentication sequence or resource discovery.

Agents also leave predictable artifacts and persistence behind. AI-driven frameworks may create files, accounts, cloud resources or temporary objects with tool-related names and increasing counters, and endpoint and audit records can reveal these patterns, especially when newly created artifacts coincide with suspicious processes or administrative activity. Long-running activity matters as well, because agents may continue working for a day or more, revisit earlier findings or move between targets without the pauses normally associated with an interactive session. A practical detection strategy combines more than one of these traits with the identity, asset and action involved.

Which Logs to Collect and How Long to Keep Them

Detecting AI-powered cyber attacks requires evidence from the systems the attacker actually touches, not simply more alerts from existing security tools. Identity and application activity usually provide the earliest useful signals, while cloud audit trails, endpoint telemetry and network records help establish what happened after an attacker obtained access.

Log source What to look for Common collection gap
Entra ID and Okta sign-in logs Authentication timing, password spraying, success after failure, application sign-ins Non-interactive and service principal records are not collected
Entra ID audit logs Application credential additions, role assignments, consent and identity changes Short native retention or missing export
Microsoft Graph activity logs Rapid API discovery, unfamiliar application requests, access to sensitive resources Collection is not enabled or exported
AWS CloudTrail Permission sweeps, dry-run requests, resource discovery and activity using stolen keys Relevant data events, including S3 activity, are not enabled
Azure activity and Key Vault logs Administrative changes, secret reads and capability checks Required diagnostic settings are missing
Web server and WAF logs Source map downloads, route enumeration, calibration requests and authentication anomalies Detailed request activity remains on individual servers
Endpoint process events Web or database processes starting shells, download tools or unexpected executables Important servers have no endpoint sensor
DNS and proxy logs Connections to collection services, tunneling destinations and suspicious infrastructure Server egress is not collected or retained

Receiving a log source is only the beginning, because the records need enough information to connect events across systems. Each record should keep the original event timestamp, its time zone and the time the collector received it, together with the user, application, service principal or workload identity, using stable identifiers where possible. It should also carry the source address, device, session and client details, the target application, API, cloud resource or destination, and the attempted operation with its result and any relevant status or error. Tenant context, meaning the customer, subscription, account or environment to which the event belongs, completes the record. Stable identifiers are particularly important for application investigations, since display names can change or be duplicated, while an application identifier and the local service principal identifier provide more reliable relationships.

For web applications, retain enough request context to identify the requested route, method and response, but avoid collecting authentication secrets or full authorization tokens merely to support detection. For cloud investigations, verify that administrative events and relevant data-access events are available, because a successful CloudTrail or Azure connection does not establish that every secret read, object access or workload action is being recorded.

A connected integration should then be checked against the behavior it is expected to detect. Confirm that an authorized test sign-in produces the expected identity record, that application credential changes appear in audit data, and that an API request can be followed through the available logs, then use equivalent checks for web requests, cloud discovery and endpoint process execution. Collection health should be monitored continuously, because expired credentials, changed APIs, disabled diagnostic settings and parsing failures can silently remove the evidence required for an investigation.

Retention matters as much as collection, since agentic attack investigations need sufficient historical data to connect current findings with reconnaissance or access that occurred earlier. Microsoft Entra sign-in and audit records have a default retention period of 30 days for P1 and P2 tenants, and Microsoft Graph activity logs require an appropriate export or analytics destination for retention. When an advisory is published after suspicious activity began, the evidence may already be unavailable in the native service.

The retention decisions that matter cover immediate search history, historical hunting and archive retrieval. Keep enough recent data searchable to investigate active alerts and connect events across sources, preserve the records needed to investigate campaigns discovered weeks or months after they began, and establish how older records can be retrieved, searched and exported without losing the original evidence. A practical hunt may use 30 days of data to establish normal behavior and 90 days for a historical indicator sweep, where those records exist. Different sources may require different retention policies, and authentication, privileged administrative changes and application activity often deserve greater historical coverage than repetitive operational events.

Missing history should be reported as a coverage limitation, because no matches in a dataset covering only part of the campaign cannot establish that the environment was unaffected. Endpoint visibility also needs attention. The FBI describes ARTEX activity that identified machines without endpoint security coverage, so a server without a sensor may be both an investigation blind spot and an attractive target.

Hunting From Behavior to Outcome

Threat hunting for agentic attacks begins with a specific behavior, establishes whether it is expected, and follows the activity until its outcome is understood. The same method works whether the initial lead comes from an indicator, a scheduled detection, a threat intelligence advisory or an analyst’s observation.

Start by selecting one behavior and the records that should contain it. For example, investigate repeated authentication failures at a consistent rate, where the starting evidence would be identity sign-in records with source addresses, timestamps, affected accounts and outcomes. Avoid combining every possible agent indicator into one broad search, because narrow behaviors are easier to test, explain and tune.

Before judging that behavior, establish a baseline by reviewing the previous 30 days of relevant activity where available. Identify legitimate scanners, monitoring systems, deployment tools, integration accounts and authorized testing, and record their expected source networks, identities and operating patterns. A scheduled application may authenticate at regular intervals, and that pattern should be understood before it becomes an alert.

Once the expected activity is accounted for, investigate the sources and identities that do not fit the baseline. Check whether the same source performed other authentication attempts, visited application routes, accessed APIs or triggered endpoint events during the same period. Where appropriate, connect events through stable identity and session information rather than assuming that identical addresses or usernames indicate the same actor.

An unsuccessful request establishes an attempt, not necessarily an intrusion, so the hunt has to follow the activity to the transition into a successful operation. That transition might be a failed password spray followed by a successful sign-in, authentication followed by an issued or used access token, or application reconnaissance followed by access to a restricted API. In the cloud it might be permission discovery followed by a successful privileged action, or resource discovery followed by secret access or data retrieval, and on a server it might be an application exploit followed by process execution. The first confirmed successful unauthorized action determines how the investigation should be escalated. Even then, a successful authentication alone does not establish data theft, and Microsoft explicitly distinguished authentication and follow-on cloud operations from proven exfiltration in its ARTEX reporting.

Finally, turn findings into detections. A useful hunt should produce a reusable detection when the behavior can be distinguished from expected activity, so retain the evidence, the conditions that made the activity suspicious, relevant exclusions and any remaining uncertainty. Detection engineers can then create or refine scheduled rules, validate them against historical data, and review their results over time. The broader process is covered in the threat hunting methodology guide.

How to Order the Hunt and Connect the Evidence

A practical hunting order moves from inexpensive indicator checks into progressively deeper investigation of identity, application, cloud, endpoint and internal network activity. Each stage should help determine where the next search is most likely to produce useful evidence.

Start with published indicators. Search available records for published addresses, domains, user agents, file hashes and other known artifacts, using a 90-day historical window where retention permits and including earlier records when the campaign timeline requires them. A match provides a starting point, not proof of compromise, and an absence of matches provides limited assurance because attackers can replace addresses, change user agents and modify tools. For ARTEX, begin a conservative historical sweep on August 1, 2026, because the FBI dates malicious use to at least August 2026. The date is a practical starting boundary, not a claim that the first malicious action occurred on that exact day.

Identity activity comes next, with priority on authentication patterns, unusual privileged sign-ins and application identities. Review fixed-rhythm password spraying, failures followed by successful authentication and service principal sign-ins from unfamiliar infrastructure, then application credential changes and new owners, unexpected privileged role assignments, new consent grants and authentication method changes. Application identities deserve particular attention because they may access cloud resources without interactive user authentication. Microsoft documented ARTEX-related activity involving compromised applications that already had access to downstream customer environments, so investigations should include previously authorized third-party applications, not only users and newly registered applications.

From identity, move to applications and APIs, searching internet-facing applications for reconnaissance followed by changes in request behavior. Useful sequences include JavaScript or source map downloads followed by calls to internal routes, nonexistent-path probes followed by broad enumeration, and repeated requests that vary parameters or authentication material. Where the application records authentication failures separately from HTTP responses, connect those records before deciding whether a route was actually accessed.

Cloud audit trails should be searched first for identities found in earlier stages, then for other unusual activity involving long-term access keys and privileged applications. Look for widespread permission discovery, validation dry-runs, unexpected role assumptions, secret reads and access to storage resources. An attacker using a stolen credential may initially generate access denied errors while determining its permissions, whereas successful data access or a security configuration change establishes a more serious outcome.

Servers and workloads follow, with a review of process telemetry on internet-facing application servers, database systems and cloud workloads. Investigate web services starting shells, scripting interpreters, download utilities or unexpected child processes, and connect process creation with network callbacks, file changes and the application requests that preceded it. Server evidence can identify the transition from application probing into command execution and persistence.

The last stage searches for internal movement, investigating suspicious activity after an initial foothold. Relevant patterns include one host establishing remote sessions to many systems, unusual service ticket requests, directory replication activity from accounts that are not domain controllers, and access to credentials or secrets outside normal administration. The FBI’s ARTEX reporting includes internal reconnaissance and attempts to identify systems without endpoint protection, so an internal hunt should examine both observed movement and gaps in monitoring coverage.

As leads accumulate across these stages, the investigation has to reconstruct the sequence of actions, identify the resources affected and distinguish confirmed outcomes from plausible explanations. Consider a fictional organization, acme-corp, whose security team finds unusual requests against an internet-facing application: source map downloads, repeated attempts against undocumented API routes and a successful authentication using an unfamiliar application identity. The investigation would begin with the web activity, establishing the source, requested paths, response codes and timing, and determining whether the requests reached protected application functions. It would then identify which account or application authenticated, the method used and the resource accessed, and check the directory for whether the identity created credentials, received roles or changed permissions after authentication.

Subsequent API calls would be examined for resource discovery, secret access or data retrieval, and endpoint and network records checked for whether a related server started unexpected processes or contacted unusual destinations. Last, the business context matters: the whole sequence is compared against authorized integrations, deployments and security testing. The example is hypothetical, and the presence of those events would require investigation, not automatically establish an AI-driven compromise.

A good case records the observed sequence, supporting event references, confirmed successful actions, affected resources and alternative explanations. It also identifies missing logs and which conclusions cannot yet be made. Detection at this level depends on correlation rather than an AI-specific signature.

Open Detection Rules for Agentic Attacks

The open agentic attack detections repository on GitHub provides indicators, hunting queries and detection rules for agentic attack frameworks, distributed under the MIT license and maintained by ThreatDefence. Each framework has its own folder built from a review of its source code and public reporting: ARTEX and its AntiFox fork, Cairn, PentAGI, HexStrike, CyberStrikeAI, Strix, Hermes Agent and Agent Zero. A separate folder holds rules for behaviors the frameworks share, such as attack tools started under an AI agent command line with approval prompts turned off, servers calling AI model APIs, and one site probed through hundreds of rotating proxy addresses, so one rule covers every framework. Alongside the source indicator data, generated content and validation tooling, it contains the following content.

  • Indicators: A central list of user agents, request artifacts, host artifacts, file hashes, domains, URLs and addresses, with sources, confidence levels and review dates.
  • Threat intelligence feeds: Generated indicator lists, a STIX 2.1 bundle and a Microsoft Sentinel watchlist.
  • Sigma detections: Rules and correlations covering web, proxy, process, file, DNS, AWS, Azure, Entra ID and Okta activity, with conversions for Splunk, Sentinel and Elastic query languages.
  • Microsoft Sentinel and Defender XDR: KQL hunts and scheduled analytics rules using the Sentinel template format.
  • Splunk: An application with saved searches disabled by default and macros for mapping to the organization’s indexes.
  • Elastic: ES|QL hunts and detection rules in Elastic’s detection-rules format.
  • Network sensors: A Zeek detection script and Intel file, plus Suricata rules for user agents, probe artifacts, console pages and command and control domains.
  • Host detection: YARA rules for framework binaries and console assets, plus an osquery pack for probe files, web service child shells and listening consoles.
  • Operational guidance: A hunting order, coverage matrix and tuning notes.

The detection content is marked experimental. The repository runs syntax, KQL schema and conversion checks, together with Suricata and Zeek tests against packet captures, but the synthetic tests do not establish detection effectiveness against every real intrusion or production environment. Rules must be tested against the organization’s own data before routine alerting is enabled. A matching indicator is a lead, not a verdict, and a rule that produces no matches does not establish the absence of compromise. The repository is most useful when treated as a starting point for local detection engineering rather than a complete detection capability.

How to Deploy the Rules on Each Platform

Deploying agentic AI attack detection rules requires mapping the published content to actual data sources, validating event fields and testing results before enabling alerting. The repository README contains platform-specific instructions, and the operational sequence differs slightly by product.

In Microsoft Sentinel and Defender XDR, import the indicator watchlist and run the initial indicator sweep first. Then confirm that the relevant identity, audit, endpoint, cloud and application tables contain data before running the behavioral hunts. Import the scheduled analytics rules after reviewing their conditions and expected results. The hunts can also run in Defender XDR advanced hunting where the required tables are available.

In Splunk, install the supplied app and configure its macros for the organization’s indexes. Run each saved search against 30 days of available data, and identify expected administrative and automation activity before enabling scheduled searches. The app’s saved searches are disabled by default, which allows teams to establish a baseline before introducing alerts.

In Elastic, run the ES|QL hunts in Discover and confirm that the expected integrations and event fields are present. Load the supplied detection rules through the detection-rules tooling, or recreate the rules in Kibana using the published configurations. Review mapping differences between data sources before relying on a rule’s result.

Zeek and Suricata need a check on what the sensor can see. Load the relevant Zeek script and Intel file, and enable the supplied Suricata rules. HTTP detection requires access to cleartext or decrypted traffic, while DNS and TLS-based detections can operate on the metadata available from encrypted connections. Confirm that the sensor actually observes the traffic path, because a working rule cannot detect activity on an unmonitored segment.

For other SIEM platforms, use the provided Sigma rules and a compatible Sigma conversion pipeline for the target platform. Converted syntax is only one part of deployment, since field names, event categories, source availability, correlation behavior and supported operators all need validation.

Indicator confidence levels then decide how a match should be used. The repository separates indicators into high, medium and low confidence categories.

Confidence Typical indicator Recommended use
High Framework-specific user agents, probe artifacts, file hashes or reported command and control domains Alert, followed by evidence validation
Medium Reported addresses, generic automation user agents and changeable activity markers Hunt or alert after baselining
Low Legitimate services that an attacker may also use Context for another suspicious event

An indicator’s confidence describes how specifically it is associated with reported activity. It does not establish that every matching event is malicious. Cloud and hosting addresses are frequently reassigned, so repository addresses carry a review date 180 days after reporting, and their current ownership and context should be checked before blocking.

Behavioral Rules That Outlast Indicator Changes

Behavioral detection rules remain useful after agent frameworks, indicators and attack infrastructure change. The highest-value rules generally describe a security-relevant sequence rather than an isolated event, and they cover identity and application access, cloud reconnaissance and privilege changes, and web and endpoint activity.

For identity and application access, the core rules cover password spraying, meaning many failed sign-ins across users at a sustained or regular rate, and success after failures, where authentication succeeds following a suspicious series of attempts from a related source or session. Application credential changes deserve their own rule, for when one application modifies another application’s credentials or an unexpected credential is added to an existing identity. So do privileged application changes, where a service principal receives a role or consent grant inconsistent with its known purpose, and unusual API access, where an application calls Microsoft Graph from unfamiliar infrastructure or accesses resources outside its normal pattern.

For cloud reconnaissance and privilege changes, a permission enumeration rule looks for one identity attempting many discovery actions and producing an unusual concentration of access denied responses, while a capability testing rule looks for numerous dry-run or validation operations across different resources. A secret access rule flags an identity reading secrets across several vaults or accessing stores it has not previously used. A new privileged resources rule catches cloud roles, credentials or resources created in an unexpected sequence.

On the web and endpoint side, an application reconnaissance rule fires when source map or configuration downloads are followed by requests to routes revealed by those files, and an authentication anomaly rule fires when the application rejects malformed or unsigned authentication material during unusual request sequences. Unexpected process execution covers a web or database process that creates a shell, starts a downloader or launches a new executable. Suspicious server egress covers a production server contacting an unexpected request-collection or tunneling service.

For each rule, define the required evidence, relevant time window, expected legitimate activity and escalation condition. A request count alone should rarely determine severity, because a modest number of attempts followed by a successful privileged action may be more important than a large volume of unsuccessful reconnaissance. These rules can detect malicious activity performed without AI, and that broader coverage is an advantage.

How to Use Honeypots and Decoys Against AI Agents

Honeypots and honeytokens can detect AI-driven reconnaissance by placing monitored resources or credentials where legitimate activity should never occur. Deception is especially relevant to agents that systematically enumerate applications, examine exposed files and test discovered access paths. Microsoft’s ARTEX reporting demonstrates the speed at which automated discovery can progress into authentication and cloud activity, and that behavior provides a reason to consider deception alongside conventional monitoring.

The way agents work is what makes their activity suitable for deception. Agents that enumerate many paths and resources may encounter decoys placed outside normal application workflows, and a convincing but unusable credential or endpoint may be tested soon after discovery. Agents can also revisit resources and try alternative access methods when initial attempts fail, and a controlled decoy service or tarpit may keep an automated process engaged while recording its requests. A tarpit is a deliberately slow or prolonged interaction intended to consume attacker time, and its behavior should be isolated and monitored so that it cannot affect production service availability.

Deception does not require the defender to prove that an AI agent made the request. The more important observation is that an unexpected identity or source interacted with an asset that has no authorized business purpose. Effective deception therefore places instrumented assets along plausible discovery paths while keeping them separate from production access and data, with different options addressing different stages of an automated attack.

At the application layer, a decoy route can be listed in a runtime configuration file or source map without being used by the application itself, so a request to that route indicates that something outside the normal application workflow attempted to access it. The monitoring system should record the requesting source, method, time and surrounding requests, and the decoy should not provide a path into real application functions.

Decoy credentials sit further along the attack. A planted API token or cloud credential can be placed in a controlled configuration file, repository or backup artifact that an attacker may discover. The credential should have no production permissions, and its use should generate a dedicated alert without granting access to sensitive resources. A useful design distinguishes a credential being read from an attempt to use it, because file access alone may not prove the caller obtained or understood the planted secret.

Honeytoken accounts apply the same idea to identity. An unused identity can have a plausible administrative or service-related name; for example, a fictional acme-corp environment might contain a monitored account resembling a backup administrator. No person or application should authenticate with the account, and it should have no production privileges or active dependency, so any sign-in attempt warrants investigation, especially when combined with broader identity enumeration or password spraying. In the same way, a decoy secret stored in a monitored vault, which no authorized workload should retrieve, can reveal broad or unexpected secret enumeration. When an unfamiliar principal reads the decoy alongside other secrets, investigators can assess whether the activity reflects automated discovery, an authorized audit or a compromised identity.

A decoy administration interface, such as a simulated management login page exposed along a controlled discovery path, can reveal route guessing, automated login attempts and interaction patterns, provided the service records useful evidence without accepting real credentials or providing access to underlying systems. Once an attacker reaches the internal network, decoy servers and shares, such as an isolated file server, database or network share, can identify unauthorized exploration by recording connection attempts, authentication activity and subsequent requests. Network placement and access controls should prevent the decoy from becoming a route into production assets. The hacker deception page covers the broader use of honeypots and honeytokens.

What Does a Decoy Alert Prove?

A decoy alert shows an interaction with the decoy, and its meaning depends on what was placed and how it was reached. For example, a request to a decoy API route may indicate route enumeration, an authentication attempt using a planted credential suggests the credential was discovered or obtained, and a successful connection to an isolated decoy server may indicate movement into a monitored environment. Scanners, security assessments and configuration errors can also trigger decoys. Deception alerts should therefore be high-priority investigation leads, supported by source attribution and surrounding evidence, rather than automatic proof of malicious AI activity.

A deception alert is most useful when it identifies what interacted with the decoy, why the interaction is unexpected and where the investigation should continue, so each decoy should have a documented purpose and an associated monitoring path. Maintain an inventory that records each decoy’s placement (the application, file, account, resource or network segment containing it), its expected access (the identities and processes, if any, permitted to interact with it) and the log or sensor that records interaction. The inventory should also point to the related identity, web, endpoint and network records for investigation context, and name the owner, the team responsible for maintaining and reviewing the decoy. Changes to production systems may alter how a decoy is reached, so review placement after application releases, identity changes and network modifications.

The alert path needs validation like any other detection. Confirm that a controlled interaction generates the expected record and reaches the SOC, and check whether the alert includes enough information to identify the source and reconstruct related activity, because a notification without supporting records has limited investigative value. Test negative cases as well: ordinary application use, scheduled monitoring and approved scans should not repeatedly trigger high-priority findings.

The value comes from correlating deception evidence with the surrounding activity and the rest of the investigation. A decoy credential used from an unfamiliar address becomes more meaningful when the same source previously downloaded an exposed configuration file or performed broad cloud discovery. Likewise, a decoy route accessed immediately after source map retrieval suggests a different sequence from a generic internet scanner requesting every common path.

How to Respond to an Agent Run and Reduce Exposure

Responding to suspected agentic activity requires establishing the first successful unauthorized action, containing active access and preserving evidence for the full sequence. Automated attacks can progress in hours, so containment and investigation should proceed together rather than waiting for an exhaustive review. Preserve available evidence by exporting relevant identity, audit, Graph, cloud, web and endpoint records before they expire, and preserve application identities, credential metadata, role assignments and other relevant configurations before making irreversible changes where possible. Evidence collection should not delay urgent containment when active compromise is confirmed.

With evidence secured, determine the intrusion boundary by identifying what the attacker actually accomplished. Separate failed authentication from successful authentication, successful authentication from resource access, and resource access from demonstrated exfiltration. Build a timeline showing the earliest observed attempt, first successful action, subsequent permission changes and any persistence.

Containment then works through sessions, credentials and keys. For affected user accounts, revoke supported sessions and tokens, reset compromised credentials and review registered MFA methods. For affected applications, identify unauthorized credentials, consent grants, owners and privileged roles, remove access that cannot be justified and rotate affected authentication material, remembering that disabling an original entry point may not remove persistence established through additional applications or credentials. Deactivate and replace compromised long-term access keys and other exposed secrets, and review the activity associated with each key, including permission discovery, log searches, secret reads and access to storage resources. The investigation should consider all systems where the credential could have been used, not only the service where it was discovered.

On affected servers, search for web shells, new scheduled tasks, unexpected accounts, remote access tools, tunneling utilities and suspicious processes, and review associated file changes and network connections. Tool-related artifact names may help, but their absence does not eliminate the possibility of persistence. Block confirmed malicious sources and other appropriate indicators within the organization’s response procedures, then continue monitoring, because attackers may resume from different infrastructure within minutes. Maintain behavioral detections and review whether suspicious activity continues under another identity or address. Containment should focus on the compromised access path, not simply the last observed network indicator.

Confirmed activity should be reported. Australian organizations can report cyber incidents through ReportCyber, with the Australian Signals Directorate providing national cyber security guidance. In the United States, the FBI asks organizations to report suspected ARTEX activity to a local FBI field office or the Internet Crime Complaint Center, IC3. The FBI FLASH also identifies useful reporting material, including authentication records, application and API activity, cloud events, observed infrastructure artifacts and evidence of persistence. The broader investigation and containment process is covered in the cyber incident response guide.

Reducing exposure before the next attack starts with identifying weaknesses that automated reconnaissance can discover and exploit through accessible systems. Priorities include production source maps and runtime configuration, unrestricted self-registration, authentication routes that accept unsigned tokens, long-term cloud credentials, exposed administration interfaces and servers without endpoint monitoring. Phishing-resistant MFA for administrators and engineers also reduces the effectiveness of password-based attacks.

The testing agent can assess authorized internet-facing systems, identify weaknesses and retain evidence of what is exploitable. Defensive investigations can then use that evidence to check whether suspicious activity has already occurred. The broader relationship between testing and detection is explained in offensive and defensive AI agents.

Hunting and Exposure With ThreatDefence

ThreatDefence hunts for agentic attack activity across monitored environments and publishes open detection content that other SOC teams can use.

The Agentic SOC platform, backed by a 24x7 SOC, combines threat hunting, hacker deception and offensive exposure testing to identify suspicious activity and discover weaknesses before attackers exploit them.

  • Threat hunting: Expert hunters and AI agents search identity, cloud, web and endpoint data for agentic behavior and fresh indicators, extending back to the earliest reported activity where records are available. Explore threat hunting.
  • Hacker deception: Honeypots and honeytokens are placed where agents are likely to look. Interactions are investigated alongside the associated identity, application and network evidence.
  • Offensive Exposure Management: Brand Monitoring maps the internet-facing attack surface, Agentic Penetration Testing validates exploitable weaknesses, and the Agentic SOC checks whether proven weaknesses show evidence of earlier use. Explore agentic penetration testing.

Getting started with exposure requires a list of domains. There is nothing to install, and the exposure report arrives within 24 hours.

Frequently Asked Questions

Can a SIEM tell an AI agent from a human attacker?

A SIEM can identify behavior consistent with AI-driven attacks, but it generally cannot prove that an AI agent was responsible from logs alone.

Useful indicators include machine-speed authentication, rapid API exploration, repeated permission checks, application reconnaissance and predictable artifacts. Conventional scripts and human-directed automation can produce similar behavior. Correlation across identity, application, cloud and endpoint records gives investigators a stronger basis for assessing whether the activity is malicious and what it accomplished.

Are indicators of compromise enough to detect agentic attacks?

No. Indicators of compromise help identify known infrastructure and artifacts, but they cannot provide complete coverage of agentic attacks.

Addresses may rotate, user agents can change and frameworks can be modified. An indicator match should lead to an investigation of the associated identity and activity. Behavioral detections, such as unusual application credential changes or permission discovery followed by sensitive access, remain useful when the attacker’s infrastructure changes.

Do the open detection rules work outside Microsoft Sentinel?

Yes. The open agentic attack detections repository supports several detection and security monitoring platforms.

Its content includes Sigma rules with conversions for Splunk, Sentinel and Elastic, a Splunk app, Elastic detections, Zeek and Suricata rules, YARA content and an osquery pack. Other compatible SIEMs can use Sigma conversions. The content remains experimental, so every deployment needs local field validation, baselining and testing before scheduled alerting is enabled.

Why do honeypots work well against AI agents?

Honeypots can identify AI-driven attacks because automated agents may systematically explore resources and attempt to use information they discover.

A decoy credential in a configuration file or an unused route listed in a source map can provide a useful signal when accessed. The result does not establish that AI was involved, because conventional scanners may interact with the same decoys. Correlating the interaction with earlier reconnaissance improves confidence.

Will decoys disrupt normal users or systems?

Properly designed decoys should avoid disrupting legitimate users and production workloads.

Decoy accounts should have no production privileges, planted credentials should provide no real access, and simulated application routes should remain separate from business functions. Placement requires testing against normal application behavior and authorized scanning. Decoy alerts also need context, because configuration errors or approved security tests can trigger interactions that would otherwise appear suspicious.

How far back should a hunt for agent activity go?

A hunt should reach the earliest credible activity associated with the framework or campaign being investigated, subject to available retention.

For ARTEX, August 1, 2026 is a conservative starting point because the FBI reported malicious use since at least August 2026. Microsoft Entra sign-in records have a default 30-day retention period on P1 and P2 tenants. Historical investigations may therefore require previously exported SIEM or archived records.

What should an organization fix first to reduce exposure to agents?

Start with internet-facing weaknesses and identity access paths that automated tools can discover and exploit.

Review production source maps and configuration files, unauthenticated APIs, unsigned-token acceptance, open self-registration, long-term cloud access keys and exposed administration interfaces. Confirm that important servers have endpoint monitoring and that privileged accounts use phishing-resistant MFA. Prioritize weaknesses that provide a realistic path to authentication bypass, secret access or privileged control.

How can security teams distinguish authorized scanning from an agentic attack?

Security teams should compare suspicious activity against known scanners, approved testing windows, source networks, automation identities and expected application behavior.

An authorized scan may generate rapid requests and authentication failures, so request volume alone is insufficient. Unknown sources, unexpected credential changes, successful access to protected resources and activity continuing after an approved test ends all warrant investigation. The strongest assessment connects the observed actions with their authorization and actual outcome.

Talk to Our Experts

See how ThreatDefence automates security monitoring, compliance and cyber risk management in one platform.

    I'm an MSP, MSSP, or reseller

    By submitting this form, you accept the terms in our privacy policy.