AI agents investigate every alert, add context, and prepare cases for response, on a full-stack SecOps platform that captures and correlates all your security data.
Cloud-based SIEM platform providing visibility across all your data sources
Every alert investigated, with a verdict and the evidence behind it
Manage your external footprint, publicly available data, and Dark Web leaks
Log management and threat detection across any of your log sources
Get ultimate assurance that your environment is free from threat actors
Fully featured distrubuted NDR for on-premises and public cloud environments
A SecOps platform purpose-built for industrial and OT environments
Integrated endpoint agent providing deep visibility, response and forensics
Deploy honeypots and honeytokens and stay ahead of threat actors
24x7 security operations from our Australian SOC. AI investigates every alert, and experienced analysts validate findings and contain threats around the clock.
Eyes-on-glass SOC and continuous threat hunting
24x7 managed detection and response across endpoint, network, cloud, identity, and log sources
AI investigations and 24x7 MDR on the Microsoft Sentinel you already own
Quickly recover from cyber attacks and breaches
Security Score, risk register, CISO program and reporting from live data
Fake sites, apps and accounts, leaked code and dark web exposure, taken down for you
AI agents map, watch and test your attack surface around the clock
ThreatDefence is the only SecOps as a Service company providing broad coverage across your entire technology stack with evidence-based security.
We provide security teams with full-stack SecOps infrastructure – you get deep visibility from day one, gain control over your security data, and get access to a comprehensive set of ready-to-use tools, detections, workflows, playbooks and scenarios.
24x7 SOC, Continuous Monitoring, Threat Containment and Incident Response
Expert hunters and AI agents find attacker activity your alerts missed
Leverage our Cyber Range to train defenders based on real-world scenarios and simulations
OT and industrial cyber security services for critical infrastructure
Monitoring, evidence and a 24×7 SOC in one platform
Compliance monitoring, evidence and board reporting
Privacy Act reform impacts, obligations, and practical security considerations
Monitoring and compliance support for critical infrastructure environments
A practical guide to securing critical infrastructure with continuous monitoring
A practical buyer’s guide for schools evaluating SIEM and SOC services
A practical guide to selecting the right SIEM and SOC service for local government
Articles on security operations, AI and compliance
Events, awards and company news
Read what our customers say about us
Solution briefs and datasheets
How we keep your data secure
Technical support and knowledge base
Guides, case studies, and advisories in one place
How AI agents investigate alerts and run security operations
Free ebook: a practical guide to adopting an AI SOC platform
A practical guide to incident response and digital forensics
Where SOAR playbooks fit and where AI agents take over
Free ebook: modern security operations with Microsoft Sentinel
How the framework is structured and what changes from the Essential Eight
How an attack unfolds stage by stage and how to detect each one
November 21, 2026
November 20, 2026
We provide end-to-end SecOps solutions for Managed Security Service Providers (MSSPs), Managed Service Providers (MSPs), and Value-Added Resellers (VARs).
Find out how you can become a ThreatDefence partner.
Protect your entire technology stack and build your SecOps on your own pace
White-labeled AI SOC for every client tenant, co-managed with our SOC team
Launch your SOC business without any upfront investment
Embed security operations, threat intelligence and exposure data in your product
Sovereign SOC for Australian MSPs and MSSPs, with onshore analysts and client data
Set the rules for closing alerts automatically, with evidence checks and review
How MSPs deliver branded security monitoring with a SOC partner
ThreatDefence was an official partner of the Cyber Resilience Summit NSW, 29 October 2026 at Hilton Sydney.
Our team was back at BSides Canberra, and our cyber quiz was a hit again.
Two days in Perth with our partner Ever Nimble, on security operations and cyber resilience.
Sponsors of the AUSCERT Cyber Security Conference on the Gold Coast.
Sponsors of the Gartner Security & Risk Management Summit in March.
Sponsors of the Cyber Security for Critical Assets Summit in Perth, February 2026.
Expert conversations with speakers and attendees at CyberCon Melbourne 2025.
Stopping an active cyber attack means removing the attacker’s current access and the hidden ways they can return.
To stop a cyber attack in progress, an organization must contain immediate harm, find every remaining foothold, close the attacker’s access paths and verify that control has been restored.
The sequence depends on the systems affected, how far the attacker has reached and what evidence remains available.
A password reset or rebuilt server may stop one part of an attack while leaving the attacker in control of another. Persistent intrusions require a coordinated response across identity, endpoints, cloud infrastructure, applications and the organization’s external attack surface.
This guide explains how to regain control after a cyber attack, why attackers return after cleanup, how cloud forensics and source code review reveal hidden access, and how to remove the attacker without creating another opportunity for compromise.
Stopping a cyber attack in progress requires immediate containment of dangerous activity followed by a coordinated effort to remove every remaining route into the environment. The first decision is whether the attacker is causing harm that cannot wait for a complete investigation. If data is actively leaving, restrict the affected account, connection or system to limit further disclosure. If encryption or destructive activity has started, isolate affected systems and protect unaffected infrastructure and recovery resources. Where privileged access is being abused, restrict compromised administrative identities and sessions before additional systems are changed, and where malware is spreading, isolate infected systems and affected network segments to prevent further propagation. When critical systems are being changed, stop the unauthorized administrative activity that threatens essential business operations.
Containment should be proportionate to the threat. Disabling a compromised identity may be appropriate immediately, while shutting down a domain controller or a production database requires consideration of the operational consequences. Once immediate harm is controlled, other investigation and eradication work can be coordinated, and the response team needs to establish what the attacker controls, what additional access they prepared, and which actions must happen together to prevent re-entry.
The first hours should establish trusted coordination, contain immediate harm and preserve the evidence needed to identify the attacker’s remaining access. Responders should avoid unnecessary disruption while recognizing that active compromise may require decisive containment before the full investigation is complete. If the attacker may have access to corporate email, collaboration platforms or administrator accounts, the response team should coordinate through a separate trusted channel, so that management, IT operations, security specialists, legal advisers and relevant external responders can share information and approve actions without exposing the response plan. Administrative work should also use trusted devices and accounts, because an attacker who controls the administrator’s workstation may observe new credentials or interfere with containment.
The next task is to identify which systems and environments are producing useful evidence. Where practical, deploy or restore endpoint monitoring on servers and workstations that lack coverage, and bring identity, cloud, network and security alerts into a common investigation view. New monitoring software should be deployed carefully on compromised production systems because installation may change evidence or create operational risk. A missing sensor is an investigation gap, not proof of malicious activity, so the response team should determine what alternative evidence exists for those systems.
At the same time, collect records that may disappear through retention limits, system restarts or routine administrative changes. Priorities include identity sign-ins, cloud audit events, network records, relevant application logs and the current configuration of affected accounts and systems. Capture memory and disk evidence from important compromised machines where feasible before rebuilding them, and record when each item was collected, which system it came from and any relevant collection limitations.
Containment in these hours means isolating systems that are spreading malware, encrypting data or actively supporting destructive activity, and restricting compromised accounts where continued access presents an immediate threat. Protect backups, identity infrastructure and other systems whose loss would substantially increase the incident’s impact. An emergency containment action may be incomplete, which is why responders should record what was blocked, what remains reachable and what additional measures are required.
Once immediate harm is contained, remaining suspicious activity can help reveal access paths that were not visible in the first alerts. Responders should monitor affected identities, endpoints and cloud services for new sessions, privilege changes, credential creation, unusual processes and outbound connections. Deliberately leaving malicious activity running solely to collect more evidence requires careful legal and operational assessment, because the need to understand the intrusion does not override the obligation to limit ongoing harm.
An attacker who returns after cleanup usually retains another access path that the original response did not identify or remove. Consider a business that detects a suspicious administrator sign-in. The account password is reset, and the alert stops. Two days later, another account signs in from an unfamiliar address. The IT team rebuilds a server and blocks the address, and a week later, files begin moving out of a cloud storage bucket that nobody connected to the original incident.
Each action may have been reasonable individually. Together, the events suggest that the response addressed visible symptoms without establishing the full scope of the intrusion. Sometimes the persistence was never found, and a scheduled task, new service, web shell or remote access tool remains on a system that was outside the investigation. Sometimes credentials were never revoked, so the attacker retains usable sessions, refresh tokens, application secrets or service account credentials after a password reset. In other cases a cloud account, SaaS application, code repository or supplier connection outside the original scope provides another way into the environment, or the original entry point (the vulnerable application, remote access service or weak authentication path) remains reachable.
Containment that happens in pieces creates its own problem, because access paths closed over several days allow an attacker who notices the response to establish replacement access. An attacker who has maintained access for weeks may have prepared more than one independent foothold. Finding one malicious account or compromised server therefore does not establish that the incident is contained.
Re-compromise also does not always produce the same alert as the original incident. A disabled administrator account may be followed by activity from an application identity. A rebuilt web server may be compromised again through the same vulnerable application, and an attacker removed from one cloud subscription may continue operating through another. Responders should connect these events through identities, credentials, infrastructure, techniques and timing rather than treating every alert as a separate incident. The central question is whether the attacker is repeatedly exploiting the original weakness or using access established during the first intrusion, and the answer determines whether the response needs additional vulnerability remediation, broader credential revocation, persistence removal or all of these.
Attackers can maintain access through operating systems, identity services, cloud permissions, application credentials and development systems. Many of these mechanisms survive a password reset, and some also survive a server rebuild because the attacker controls the software, credentials or infrastructure used to restore that server.
The table is a starting inventory, not proof that each mechanism is malicious. Responders need to compare suspicious changes against approved administration, deployment activity and the organization’s normal configuration. Application identities and automation deserve particular attention because they may continue working without a human signing in. For example, an attacker who controls an administrator account may add a new credential to an existing enterprise application, and the administrator password can then be reset while the application continues using its additional credential.
A similar problem occurs when a cloud role trusts an external account. Removing the original compromised user may leave that cross-account trust intact. For every credential or permission of this kind, investigators should record who created it, when it was created, what it can access and whether its business owner recognizes it.
Rebuilt servers raise a related issue, because a clean server image does not guarantee a clean application. If a deployment pipeline has been modified, the next deployment may restore a malicious component. If an attacker changed a startup script or cloud automation task, a newly provisioned system may execute the same unauthorized activity. The response must therefore establish whether the source of the restored system is trustworthy, including its build process, dependencies, secrets and configuration.
AI-driven attacks can accelerate reconnaissance, credential testing, cloud enumeration and attempts to establish replacement access. Attackers do not need entirely new techniques to maintain persistence, because automated agents can execute familiar techniques repeatedly, across multiple systems, with less direct operator involvement. Agentic attack frameworks such as ARTEX, an open-source framework released in July 2026, can automate reconnaissance, password spraying, application abuse and cloud enumeration. Microsoft reported cases where an actor using ARTEX moved from initial targeting to privileged cloud access in under three hours. When one address was blocked, another appeared within minutes, and some sessions continued for more than a day.
These observations illustrate why isolated response actions may be insufficient against automated activity. Infrastructure changes quickly, so blocking one address or user agent may interrupt activity without removing the compromised credentials or access path. Exposed services, authentication interfaces and available credentials can be tested in parallel, and systems outside endpoint and cloud monitoring may provide routes that defenders have not investigated. Automated operations can also continue outside business hours while the organization’s normal IT team is unavailable. Cloud identities enable further automation too, since a compromised application with sufficient permissions may perform additional actions without repeated interactive authentication.
Automated activity should still be assessed through its observable behavior, because an unusual sequence of API calls does not, by itself, prove that an AI agent executed them. The practical implication is that responders need broad visibility, consistent investigation and monitoring throughout the response, rather than relying on manual review of each alert in isolation. Our guide to detecting agentic AI attacks covers the evidence these attacks may leave in security logs.
Intrusion scoping identifies every environment the attacker accessed, modified or could still reach through compromised privileges, and the scope should follow the attacker’s access rather than the boundaries of the system that generated the initial alert. Start with the earliest confirmed malicious activity and work backward through the available evidence. A suspicious administrator sign-in may have followed an earlier credential theft, a compromised application or the exploitation of an internet-facing service. Investigators should distinguish the first detected activity from the earliest confirmed activity, and where older records are missing, the true start of the intrusion may remain unknown. A useful timeline connects the event, identity, system, source address, action performed and supporting evidence.
From there, the investigation traces every connected environment. In identity, that means the accounts accessed, sessions and tokens issued, authentication methods registered, application consent changes and privileged role assignments. On endpoints and servers it covers logons, process activity, remote administration, suspicious services, scheduled tasks and connections between machines, while in email and collaboration it covers mailbox rules, forwarding, delegated access and externally shared files. Cloud accounts include AWS accounts, Azure subscriptions and Google Cloud projects, including development environments and forgotten resources. SaaS applications belong in scope too, meaning connected applications that store business data or can act on behalf of organizational identities.
The trace continues into code and build systems (repositories, deployment pipelines, runners, package repositories and credentials available to the attacker) and into external exposure, meaning internet-facing systems and services, including assets absent from the organization’s inventory. Suppliers complete the picture through vendor identities, delegated administration, remote support platforms and external trust relationships. The response team should identify both confirmed compromise and plausible access based on the privileges the attacker obtained. An attacker with access to a privileged cloud identity may have been able to retrieve secrets or access systems for which there are no corresponding data-access records, and that uncertainty belongs in the investigation findings.
A scope assessment should distinguish systems with confirmed attacker activity, systems the attacker could access and systems for which evidence is insufficient. For example, an attacker may have obtained a storage account credential. The credential’s permissions establish potential access, but do not prove that every permitted object was downloaded. Investigators should state what the logs show, what the access rights made possible and what cannot be determined. Our guide to data exfiltration investigation covers establishing what information was actually taken.
Evidence gaps determine how confidently responders can reconstruct the intrusion and verify that the attacker has been removed. Logging coverage should be assessed early because cloud services, identity providers and business applications have different retention policies. For each important source, establish whether the relevant event types were enabled before the incident, how far back the available records extend, and which tenants, accounts, subscriptions, projects and systems were included. Investigators also need to know whether the attacker could alter, disable or delete the records, and whether they have the permissions needed to retrieve the evidence. A connected logging service does not necessarily mean that detailed data-access events were collected.
An organization may have complete administrative logs but no record of individual storage object reads. In that case, investigators may establish that the attacker obtained a credential and listed a storage bucket, without being able to determine which objects were accessed. Turning on missing logs helps monitor subsequent activity, but cannot recreate events that were never captured. Response decisions should account for these limitations rather than presenting an absence of recorded activity as proof that no activity occurred.
AWS incident response relies heavily on CloudTrail, identity configuration, resource-level evidence and the audit records enabled before the intrusion. An attacker using valid cloud credentials may perform reconnaissance, create new access keys, modify permissions and access data through ordinary AWS APIs. CloudTrail records that API activity, including the identity making a request, the action, the source and associated credentials where available. The CloudTrail event history keeps 90 days of management events, and a trail delivering to S3 or CloudTrail Lake is needed for longer history and for data events. Responders should examine the relevant accounts and Regions rather than assuming one account’s event history represents the entire environment, looking for unusual console access, identity enumeration, permission changes, new credentials, role assumption and changes to logging or security configuration.
Data access is harder to establish. S3 object reads and writes, along with other data-level activity, require the relevant CloudTrail data events to have been configured, and without those records, proving which objects were read from a bucket is often impossible. Investigators should examine available data events alongside bucket policies, access permissions, network evidence and any other retained service records. A successful listing operation may show reconnaissance or discovery, but it does not establish that every listed object was downloaded.
AWS IAM users, roles, policies and trust relationships should then be compared with their known approved state. For access keys, check creation dates, last use and activity from unfamiliar networks. Role trust policies may newly permit external accounts or principals to assume a role, policies may grant unexpected administrative or data access, and new users and roles may have been created during the intrusion window. Secrets accessible through applications, repositories, backups and configuration count as credential exposure as well. An attacker may use an existing role rather than create an obviously malicious user, so follow role-assumption activity to establish which principal obtained temporary credentials and what those credentials were used to access.
Workloads and automation come next. Where enabled, GuardDuty findings may identify unusual API behavior, suspicious credential use or known malicious infrastructure. VPC Flow Logs and DNS query logs can show network communication from affected workloads, including connections that require investigation for command and control or data transfer. For compromised EC2 instances, preserve relevant EBS snapshots and memory evidence before rebuilding or terminating the machines, and review Lambda functions, EventBridge rules, Systems Manager documents and instance user data for unexpected changes or execution paths.
A long-term AWS access key exposed in a repository shows how these records fit together. An attacker uses the key to enumerate IAM permissions, discover storage resources, create another credential and attempt to retrieve sensitive information. CloudTrail management events may show the reconnaissance and credential changes, and configured data events may show storage object access. If the first key is revoked but an attacker-created role remains trusted, the response may fail to remove access. The investigation should therefore connect the original key, any new identities, role relationships and data operations before planning eradication.
Azure and Microsoft 365 incidents require evidence from Entra ID, Microsoft 365 audit records, Azure resource activity and the underlying workloads. A compromised identity can hold access in more than one form, including interactive sessions, application credentials, service principals and permissions assigned to cloud resources. The sources below hold that evidence, and their retention decides how quickly each one needs to be exported.
Interactive, non-interactive, service principal and managed identity sign-ins. They are kept for 30 days on P1 and P2 licenses and 7 days on the free tier, so exporting them early is often the first forensic task.
Changes to users, groups, roles, applications, consent grants and authentication methods, with the same retention.
Activity across Exchange Online, SharePoint, OneDrive and Teams, kept for 180 days with Audit Standard and longer with Audit Premium.
API calls made through Microsoft Graph, which show scripted access by applications. They must be sent to a workspace or storage to be kept.
Control-plane operations on subscriptions and resources, kept for 90 days.
Key Vault access, storage account access and other data-plane activity, recorded only where diagnostic settings send them somewhere.
Disk snapshots and memory from affected machines, collected before they are redeployed.
Retention should be confirmed against the tenant’s actual licensing, configuration and any separately exported records. Beyond the logs, application and service principal persistence can remain active after the original compromised administrator account is reset, so review application registrations, enterprise applications, credential additions, delegated permissions, application permissions and consent events. A particularly important pattern is a new credential added to an existing trusted application, where the application has a legitimate name and business purpose while the newly added credential belongs to the attacker. Investigators should compare credential creation with the audit trail, identify the actor making the change and examine subsequent service principal sign-ins and Graph activity.
Cloud control-plane records should be examined for new role assignments, resource changes, automation runbooks and changes to federated identity configuration. Look for changes at subscription and management group levels, including permissions inherited by multiple resources, and remember that Key Vault access, storage operations and other resource-level events require the appropriate diagnostic records. For example, an attacker may add a credential to a service principal that already has access to a storage account, and a password reset for the employee whose account was originally compromised will not remove the service principal’s new credential. The response must identify and remove the unauthorized credential, review the permissions it used and determine what resource activity can be established. Our guides to account takeover response and session hijacking and token theft cover the identity investigation and session controls in more detail.
Google Cloud forensics combines Cloud Audit Logs, IAM changes, service account activity and evidence from affected workloads. The central challenge is distinguishing administrative changes from actual data access, because different log categories have different collection defaults.
Configuration and metadata changes, always on and kept for 400 days.
Reads of data and metadata, turned off by default for most services, BigQuery being the main exception. Without them, proving what was read from Cloud Storage is often impossible.
Actions taken by Google systems, always on.
Requests refused by security policies, which show an attacker probing for permissions.
Logs in the default bucket are kept for 30 days unless the retention is changed or the logs are routed to longer storage.
User-managed service account keys, their creation times and last use, and impersonation grants that let one identity act as another.
Persistent disk snapshots and serial console output from affected instances.
Investigators should verify which log buckets contain the relevant records and whether organization-level, folder-level or project-level logging covers the affected resources. Service accounts matter because they allow workloads and automated processes to access resources without interactive user authentication. Review newly created service account keys, changes to IAM bindings and permissions allowing one identity to impersonate another. An attacker may obtain a service account key from application configuration or a repository and use it from outside the organization’s expected infrastructure, so investigators should connect the key to the service account’s permissions and subsequent resource access.
At the project level, examine changes to IAM policies, storage permissions, compute instances and automation that runs with privileged identities. For affected compute instances, preserve available snapshots and relevant system evidence before replacement. Where Data Access logging was unavailable, the response may establish that an identity had access to data without proving which objects were read. Across AWS, Azure and Google Cloud, this distinction is fundamental. Control-plane logs show who changed or administered resources, while appropriately configured data-plane logging is often necessary to reconstruct access to the information those resources hold.
Cross-cloud investigation establishes whether apparently separate incidents belong to the same intrusion and which credentials connect them. An organization may run applications in AWS, authenticate administrators through Entra ID and maintain deployment pipelines connected to Google Cloud, and a compromised identity or CI/CD credential can potentially cross these boundaries. For each compromised identity, establish what other credentials and services it could access. An attacker who reaches a build pipeline, for example, may obtain deployment secrets for multiple cloud environments, and the resulting activity may appear in separate cloud audit systems even though it began with one repository or build credential.
To align the timeline, combine available records using consistent timestamps and reliable identity and resource identifiers. Distinguish the account making an API call from the human or workload originally responsible for that account, because an assumed role, managed identity or service account may act on behalf of another principal. Investigators should preserve those relationships rather than relying on matching account names or source addresses alone.
Shared control points deserve priority. Shared identity infrastructure, secrets management, deployment systems and administrative workstations can influence many environments at once, so compromise of a shared control point may justify expanding the investigation beyond the first affected subscription, account or project. The objective is to determine which environments can be trusted independently and which depend on a potentially compromised identity or deployment path.
Source code triage establishes whether an attacker modified applications, compromised build processes or obtained credentials that could restore access after infrastructure recovery. When attackers reach repositories, build systems or deployment credentials, the incident extends into the software the organization operates and distributes, which is why ThreatDefence includes source code triage and review in its response. Investigators should compare repository activity against the intrusion timeline and normal development practices, starting with the commits, merges and modifications made during the intrusion window, particularly changes made by compromised accounts or outside the usual approval process. Build integrity matters as much as the code, so compare deployed artifacts with the expected output from trusted source and build processes.
Search repositories and relevant history for credentials, keys and tokens, including secrets removed in later commits, and examine build scripts, runner configuration, deploy keys and pipeline definitions for unauthorized modifications. Newly introduced or changed packages and lock files need review for unexpected additions. The exploited code path deserves its own investigation, along with similar functionality that may contain the same weakness. Every confirmed exposed secret requires revocation or rotation, including credentials that remain valid after being deleted from a repository.
A repository can appear clean while the deployed application contains unauthorized modifications. Attackers may change a build artifact, compromise a build runner or modify a deployment process without creating an obvious malicious commit. Where feasible, investigators should compare deployed components with a trusted build and examine deployment records for changes outside normal releases. A compromised build system should not be treated as trustworthy simply because its source repository has been reviewed.
Web applications deserve particular attention because application-level persistence can survive infrastructure replacement. Web shells are executable files placed in upload directories or other locations where untrusted content can be written, while modified authentication logic in login handlers or authentication workflows can expose credentials or permit unauthorized access. Unauthorized administrative routes add new application functionality that provides privileged actions without normal controls, and malicious deployment configuration, such as startup commands or environment changes, can restore unwanted functionality when an application is redeployed. The response should establish whether the unauthorized functionality exists in source code, deployed artifacts, configuration or more than one location. Removing a web shell is insufficient if the underlying upload weakness remains exploitable, and rebuilding a server is insufficient if its deployment pipeline recreates the backdoor.
An attack surface review identifies externally reachable systems, services and weaknesses that could allow the attacker to return after eradication, because the entry point used in the confirmed intrusion may not be the only route available. ThreatDefence includes a full review of the organization’s internet-facing attack surface in its response to identify these opportunities before they are exploited again. The review should identify domains, subdomains, certificates, hosts, cloud services and other internet-facing resources associated with the organization, with particular attention to assets outside current internal records. Examples include old test environments, forgotten management interfaces, unmanaged cloud instances and systems created for temporary projects. Investigators should establish whether each asset is owned, actively managed and covered by the response.
Administration interfaces, remote access gateways, file transfer services and databases reachable from the internet should be assessed against their intended exposure and known vulnerabilities. The review should distinguish between an exposed service and a confirmed exploitable weakness, since reachability creates an opportunity for investigation but does not establish successful exploitation. The weakness used during the intrusion should be retested after remediation. If the entry point was a vulnerable application or exposed service, similar systems should be examined for the same weakness, because fixing one internet-facing application may leave a second instance running the same vulnerable component. Closing the original entry point without checking related deployments may leave the organization exposed to immediate re-compromise.
The review should also consider credentials associated with organizational accounts that appear in infostealer logs or breach data, along with look-alike domains and cloned business login pages, since these can provide opportunities to obtain fresh credentials after the original incident has been contained. The testing agent from agentic penetration testing can validate which exposed weaknesses are exploitable within agreed scope and limits, with continued testing after the incident closes. Our guide to offensive and defensive AI agents explains how these findings can support security operations.
Coordinated eviction removes the attacker’s access, persistence and entry points within a planned sequence that minimizes opportunities for re-compromise. The response team should prepare the required countermeasures before beginning the main eviction window. Urgent containment continues throughout the investigation, while coordinated eradication addresses the remaining access paths once the team has sufficient understanding to act.
Preparation starts with one operational view of the actions required across identity, cloud infrastructure, endpoints, applications and external exposure. For each action, identify the affected system, authorized owner, expected result, operational risk and validation method, and confirm that responders retain trusted administrative access after compromised credentials are removed. Replacing service account secrets without updating dependent applications, for example, may interrupt important business services. Leaving the old secrets active, however, may preserve attacker access, and the plan needs to account for both outcomes.
Within the window, revoke sessions and refresh tokens for affected accounts, then reset passwords and review registered MFA methods. A password reset without revocation may leave existing sessions working, and some already issued access tokens may also remain usable until they expire or another supported enforcement mechanism invalidates them. Investigators should therefore monitor for continued access after revocation and verify that the relevant applications enforce the intended restrictions. Application credentials and permissions require separate review because resetting a human user’s password does not necessarily affect them, so remove unauthorized application credentials, OAuth grants, delegated permissions and application role assignments, and check whether compromised identities created new applications or modified existing trusted applications.
In the cloud, deactivate and replace compromised or potentially exposed cloud access keys, service account keys, application secrets and deployment credentials. Remove attacker-created identities and roles, and correct unauthorized trust relationships and privilege assignments. Rotation should account for dependent workloads so the organization does not restore service using the same compromised credentials. On hosts, remove web shells, malicious scheduled tasks, unauthorized services, remote access tools and tunnels. Systems under substantial attacker control should generally be isolated for trusted rebuild rather than treated as safe after deleting individual malicious files, with necessary forensic evidence preserved before rebuilding where feasible.
If a domain controller was compromised, assess whether Active Directory credentials, replication permissions or Kerberos trust material were exposed. Where required, the krbtgt account password is reset twice, with a gap between resets, and privileged and service account passwords are changed. The sequence needs careful planning because domain authentication and service dependencies can be affected. A domain controller being reached does not automatically establish that every trust component was compromised, but the investigation must determine what the attacker could have obtained.
The same window closes the vulnerable entry points. Patch exploited applications, remove unnecessary public access and disable vulnerable services that cannot be remediated safely, then verify the original exploit path is closed and that related systems do not expose the same weakness. Blocking attacker addresses and domains remains useful as an additional control, but should not be treated as a substitute for removing credentials and exploitable access paths.
Once the actions are done, the response team should confirm that each one completed successfully, because a submitted revocation request, credential rotation or firewall change does not establish that the intended control is effective. Check the resulting account state, permissions, application functionality and relevant telemetry. Record unsuccessful actions and unresolved dependencies before treating the eviction window as complete. CISA publishes eviction guidance and an Eviction Strategies Tool to support systematic planning and execution of post-compromise countermeasures.
Eviction is supported by evidence when the known footholds have been removed, the exploited access paths have been closed and monitoring shows no continuing unauthorized activity. No response can prove that an attacker has no possible route into every system, so the practical goal is evidence-based confidence within a clearly established investigation scope. Review activity after credential revocation, role changes and host remediation, looking for repeated attempts to use disabled accounts, revoked sessions or retired credentials, and for new persistence such as unexpected application credentials, authentication methods, scheduled tasks or automation. Privileged changes matter too, including new roles, permission grants, trust relationships or administrative activity, as do unexpected connections from rebuilt systems to previously identified infrastructure and the reappearance of processes, files, domains or behaviors associated with the original intrusion. Some failed attempts may indicate that containment is working, while successful activity through a supposedly removed access path requires immediate investigation.
Next, compare important identities, applications and systems against approved configuration or known good reference material. Check that unauthorized changes have been reversed without removing legitimate permissions or disrupting required services, and confirm that rebuilt systems are using trusted software, current credentials and the intended security controls. Where something remains unknown, record it: investigators should explicitly identify resources that could not be examined, missing historical records and access paths that remain unresolved. For example, missing cloud storage data-access logs may prevent confirmation of exactly which objects were read, even after the credentials used in the intrusion have been revoked. These limitations should inform monitoring and subsequent risk decisions.
Cyber attack recovery restores business systems from trusted sources while checking that the attacker cannot regain access through the restoration process. Recovery should not automatically return an environment to its pre-incident configuration if that configuration contained the original weakness. Servers controlled by the attacker should generally be rebuilt from known good images rather than cleaned in place, after verifying that operating system images, application packages, configuration and deployment processes are trustworthy. A rebuilt host can become compromised again if it receives an unauthorized startup script or reconnects using credentials that were never rotated.
Backups need the same scrutiny, because backups created during the intrusion window may contain malicious files, altered configuration or persistence mechanisms. Where possible, restore from a point before the earliest confirmed attacker activity. If that is unavailable, examine the selected recovery point for relevant indicators and unauthorized changes before returning it to production. Backup selection should consider both recoverability and the risk of reintroducing the attack.
Identity services and core infrastructure generally need to be trustworthy before dependent applications are restored. Critical business systems can then return in a controlled sequence, with connectivity and access enabled as required, and each restored system should be checked before it reconnects to broader production networks. The restoration order may vary with operational dependencies and business priorities.
Users should return with updated credentials, reviewed permissions and phishing-resistant MFA where possible, and affected workstations should be checked or reimaged as appropriate. Service accounts, integration credentials and application identities need equivalent attention, because automated workloads may continue using compromised secrets after human accounts have been secured. Security validation and operational validation are both necessary, so confirm that required services function, integrations authenticate correctly, logging is active and recovery has not reintroduced the original vulnerability. Our guide to ransomware incident response covers recovery from encryption and related ransomware-specific decisions.
Long-term control depends on maintaining visibility, testing for re-exposure and turning the incident’s findings into durable detections. A successful recovery should leave the organization able to identify attempts to reuse the attacker’s previous access paths. Identity, endpoint, cloud and network activity should remain under increased scrutiny for weeks after recovery, and often longer where uncertainty remains. Monitoring should focus on the accounts, systems and techniques connected to the original intrusion, while maintaining coverage of the broader environment. A 24x7 monitoring capability helps ensure suspicious activity is assessed when it occurs rather than waiting for the next business day.
Regular threat hunts should examine the techniques and infrastructure associated with the intrusion, including newly identified indicators. Searches should consider changed attacker infrastructure and alternative access methods rather than relying exclusively on known addresses or file indicators, because some persistence mechanisms activate only when a scheduled job runs or a particular business process executes. The external attack surface should also be mapped and tested continuously, including daily assessment for new exposures and regressions where supported, since new cloud resources, deployment changes and temporary remote access services can create fresh weaknesses after recovery.
Each confirmed technique used during the intrusion should inform detection content, such as unauthorized application credential creation, suspicious role assignments, new persistence mechanisms and unexpected cloud data access. New detections should be checked against the incident evidence and legitimate administrative activity. Organizations should also retain current access to specialist support, trusted response communications and relevant administrative contacts, and an incident response retainer can establish support arrangements before another incident occurs. The response can be considered complete when the attacker has been evicted to an evidence-supported level of confidence, critical services have been restored and the remaining risks are understood and monitored.
ThreatDefence responds to active incidents 24x7 for existing customers and organizations without a current contract, remotely and on-site.
Our responders use the same AI SOC platform that supports our 24x7 security operations, bringing endpoint visibility and forensics, identity threat detection, network detection, deception and SIEM into one investigation environment.
AI agents help examine accounts, machines and cloud environments at scale, while experienced analysts lead investigations, assess the evidence and coordinate response.
Our incident response includes source code and build system review, a full assessment of the internet-facing attack surface, and cloud forensics across AWS, Azure, Google Cloud and Microsoft 365.
We work with cyber insurers and legal advisers where required and continue the response until the attacker’s identified access has been removed and the organization has the visibility needed to verify the result.
Experiencing a breach?
Our incident response team answers 24x7, with or without a retainer.
Explore Incident Response and DFIR
Discuss an active incident, cloud forensics, or an incident response retainer for your organization.
CountryAustraliaUnited StatesNew ZealandUnited KingdomCanadaSingaporeOtherI'm an MSP, MSSP, or reseller
Δ
An attacker can return after a password reset because existing sessions, application credentials, cloud access keys or host persistence may remain usable. Re-entry generally means the original response did not identify or remove every access path, so the investigation needs to expand beyond the first compromised account.
Yes, when an attacker is actively causing harm, immediate containment is appropriate. Other access paths should be investigated and removed through a coordinated eviction plan so isolated blocking actions do not leave the attacker with alternative ways into the environment.
AI-driven attacks can increase the speed and scale of reconnaissance, credential testing, exploitation and attempts to regain access. Responders need coordinated investigation across identity, endpoints, cloud and exposed services, supported by continuous monitoring rather than isolated manual actions.
Cloud forensics is the investigation of security incidents using evidence from cloud services such as AWS, Azure, Google Cloud and Microsoft 365. It primarily examines audit records, API activity, identities, permissions and resource access, with disk and memory evidence from cloud-hosted machines where available.
Source code review helps determine whether an attacker changed application logic, compromised deployment pipelines or exposed credentials that could enable re-compromise. Investigators examine repository history, builds, dependencies and the exploited application code to establish what must be repaired before recovery.
Heightened monitoring should generally continue for weeks at least, and often months where the investigation leaves uncertainty or the attacker may attempt to return. The appropriate period depends on the systems affected, the persistence mechanisms identified and the evidence supporting successful eradication.
Yes. ThreatDefence responds to active incidents for organizations that are not yet customers, 24x7, remotely and on-site. The response uses the same platform and SOC capabilities as its managed service, deployed for the incident.
An organization can start with what is known about the incident, including what was observed, when it happened and which systems appear affected. Useful additional information includes trusted administrative access, relevant cloud and identity environments, key IT and vendor contacts, and cyber insurance details; avoid unnecessary shutdowns that could destroy volatile evidence unless immediate containment requires them.
Incident Response and DFIR Services
Detecting Agentic AI Attacks
Data Exfiltration Investigation
Incident Response Retainer