Blog
/
Identity
/
November 27, 2024

Behind the Veil: Darktrace's Detection of VPN Exploitation in SaaS Environments

A recent phishing attack compromised an internal email account, but Darktrace’s advanced AI quickly intervened. By identifying unusual activity across email and SaaS environments, Darktrace uncovered the attacker’s use of VPNs to mask their location and shut down the threat.
Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Priya Thapa
Cyber Analyst
Default blog image
27
Nov 2024

Introduction

In today’s digital landscape, Software-as-a-Service (SaaS) platforms have become indispensable for businesses, offering unparalleled flexibly, scalability, and accessibly across locations. However, this convenience comes with a significant caveat - an expanded attack surface that cyber criminals are increasingly exploiting. In 2023, 96.7% of organizations reported security incidents involving at least one SaaS application [1].

Virtual private networks (VPNs) play a crucial role in SaaS security, acting as gateways for secure remote access and safeguarding sensitive data and systems when properly configured. However, vulnerabilities in VPNs can create openings for attacks to exploit, allowing them to infiltrate SaaS environments, compromise data, and disrupt business operations. Notably, in early 2024, the Darktrace Threat Research team investigated the exploitation of zero-day vulnerabilities in Ivanti Connect Secure VPNs, which would allow threat actors to gain access to sensitive systems and execute remote code.

More recently, in August, Darktrace identified a SaaS compromise where a threat actor logged into a customer’s VPN from an unusual IP address, following an initial email compromise. The attacker then used a separate VPN to create a new email rule designed to obfuscate the phishing campaign they would later launch.

Attack Overview

The initial attack vector in this case appeared to be through the customer’s email environment. A trusted external contact received a malicious email from another mutual contact who had been compromised and forwarded it to several of the organization’s employees, believing it to be legitimate. Attackers often send malicious emails from compromised accounts to their past contacts, leveraging the trust associated with familiar email addresses. In this case, that trust caused an external victim to unknowingly propagate the attack further. Unfortunately, an internal user then interacted with a malicious payload included in the reply section of the forwarded email.

Later the same day, Darktrace / IDENTITY detected unusual login attempts from the IP 5.62.57[.]7, which had never been accessed by other SaaS users before. There were two failed attempts prior to the successful logins, with the error messages “Authentication failed due to flow token expired” and “This occurred due to 'Keep me signed in' interrupt when the user was signing in.” These failed attempts indicate that the threat actor may have been attempting to gain unauthorized access using stolen credentials or exploiting session management vulnerabilities. Furthermore, there was no attempt to use multi-factor authentication (MFA) during the successful login, suggesting that the threat actor had compromised the account’s credentials.

Following this, Darktrace detected the now compromised account creating a new email rule named “.” – a telltale sign of a malicious actor attempting to hide behind an ambiguous or generic rule name.

The email rule itself was designed to archive incoming emails and mark them as read, effectively hiding them from the user’s immediate view. By moving emails to the “Archive” folder, which is not frequently checked by end users, the attacker can conceal malicious communications and avoid detection. The settings also prevent any automatic deletion of the rules or forced overrides, indicating a cautious approach to maintaining control over the mailbox without raising suspicion. This technique allows the attacker to manipulate email visibility while maintaining a façade of normality in the compromised account.

Email Rule:

  • AlwaysDeleteOutlookRulesBlob: False
  • Force: False
  • MoveToFolder: Archive
  • Name: .
  • MarkAsRead: True
  • StopProcessingRules: True

Darktrace further identified that this email rule had been created from another IP address, 95.142.124[.]42, this time located in Canada. Open-source intelligence (OSINT) sources indicated this endpoint may have been malicious [2].

Given that this new email rule was created just three minutes after the initial login from a different IP in a different country, Darktrace recognized a geographic inconsistency. By analyzing the timing and rarity of the involved IP addresses, Darktrace identified the likelihood of malicious activity rather than legitimate user behavior, prompting further investigation.

Figure 1: The compromised SaaS account making anomalous login attempts from an unusual IP address in the US, followed by the creation of a new email rule from another VPN IP in Canada.

Just one minute later, Darktrace observed the attacker sending a large number of phishing emails to both internal and external recipients.

Figure 2: The compromised SaaS user account sending a high volume of outbound emails to new recipients or containing suspicious content.

‍Darktrace / EMAIL detected a significant spike in inbound emails for the compromised account, likely indicating replies to phishing emails.

Figure 3: The figure demonstrates the spike in inbound emails detected for the compromised account, including phishing-related replies.

Furthermore, Darktrace identified that these phishing emails contained a malicious DocSend link. While docsend[.]com is generally recognized as a legitimate file-sharing service belonging to Dropbox, it can be vulnerable to exploitation for hosting malicious content. In this instance, the DocSend domain in question, ‘hxxps://docsend[.]com/view/h9t85su8njxtugmq’, was flagged as malicious by various OSINT vendors [3][4].

Figure 4: Phishing emails detected containing a malicious DocSend link.

In this case, Darktrace Autonomous Response was not in active mode in the customer’s environment, which allowed the compromise to escalate until their security team intervened based on Darktrace’s alerts. Had Autonomous Response been enabled during the incident, it could have quickly mitigated the threat by disabling users and inbox rules, as suggested by Darktrace as actions that could be manually applied, exhibiting unusual behavior within the customer’s SaaS environment.

Figure 5: Suggested Autonomous Response actions for this incident that required human confirmation.

Despite this, Darktrace’s Managed Threat Detection service promptly alerted the Security Operations Center (SOC) team about the compromise, allowing them to conduct a thorough investigation and inform the customer before any further damage could take place.

Conclusion

This incident highlights the role of Darktrace in enhancing cyber security through its advanced AI capabilities. By detecting the initial phishing email and tracking the threat actor's actions across the SaaS environment, Darktrace effectively identified the threat and brought it to the attention of the customer’s security team.

Darktrace’s proactive monitoring was crucial in recognizing the unusual behavior of the compromised account. Darktrace / IDENTITY detected unauthorized access attempts from rare IP addresses, revealing the attacker’s use of a VPN to hide their location.

Correlating these anomalies allowed Darktrace to prompt immediate investigation, showcasing its ability to identify malicious activities that traditional security tools might miss. By leveraging AI-driven insights, organizations can strengthen their defense posture and prevent further exploitation of compromised accounts.

Credit to Priya Thapa (Cyber Analyst), Ben Atkins (Senior Model Developer) and Ryan Traill (Analyst Content Lead)

Appendices

Real-time Detection Models

  • SaaS / Compromise / Unusual Login and New Email Rule
  • SaaS / Compromise / High Priority New Email Rule
  • SaaS / Compromise / New Email Rule and Unusual Email Activity
  • SaaS / Compromise / Unusual Login and Outbound Email Spam
  • SaaS / Compliance / Anomalous New Email Rule
  • SaaS / Compromise / Suspicious Login and Suspicious Outbound Email(s)
  • SaaS / Email Nexus / Possible Outbound Email Spam

Autonomous Response Models

  • Antigena / SaaS / Antigena Email Rule Block
  • Antigena / SaaS / Antigena Enhanced Monitoring from SaaS User Block
  • Antigena / SaaS / Antigena Suspicious SaaS Activity Block

MITRE ATT&CK Mapping

Technique Name Tactic ID Sub-Technique of

  • Cloud Accounts. DEFENSE EVASION, PERSISTENCE, PRIVILEGE ESCALATION, INITIAL ACCESS T1078.004 T1078
  • Compromise Accounts RESOURCE DEVELOPMENT T1586
  • Email Accounts RESOURCE DEVELOPMENT T1586.002 T1586
  • Internal Spearphishing LATERAL MOVEMENT T1534 -
  • Outlook Rules PERSISTENCE T1137.005 T1137
  • Phishing INITIAL ACCESS T1566 -

Indicators of Compromise (IoCs)

IoC – Type – Description

5.62.57[.]7 – Unusual Login Source

95.142.124[.]42– IP – Unusual Source for Email Rule

hxxps://docsend[.]com/view/h9t85su8njxtugmq - Domain - Phishing Link

References

[1] https://wing.security/wp-content/uploads/2024/02/2024-State-of-SaaS-Report-Wing-Security.pdf

[2] https://www.virustotal.com/gui/ip-address/95.142.124.42

[3] https://urlscan.io/result/0caf3eee-9275-4cda-a28f-6d3c6c3c1039/

[4] https://www.virustotal.com/gui/url/8631f8004ee000b3f74461e5060e6972759c8d38ea8c359d85da9014101daddb

Inside the SOC
Darktrace cyber analysts are world-class experts in threat intelligence, threat hunting and incident response, and provide 24/7 SOC support to thousands of Darktrace customers around the globe. Inside the SOC is exclusively authored by these experts, providing analysis of cyber incidents and threat trends, based on real-world experience in the field.
Written by
Priya Thapa
Cyber Analyst

More in this series

No items found.

Blog

/

AI

/

November 30, 2026

Streamlining Security Operations with the Darktrace Platform Portal: November 2026 Enhancements

Default blog imageDefault blog image

One Platform Portal for daily security operations

Daily security operations often span multiple tools, deployments, and interfaces. Analysts switch between consoles to triage alerts, leaders wait on manually compiled reports, and investigators piece together who did what from separate logs. Each hand-off adds time and room for error, and the problem grows as environments become larger and more distributed.

This release extends the Darktrace Platform Portal to address that challenge directly. Alerts, dashboards, reporting, and user and system activity come together across Darktrace deployments, giving SecOps teams a more streamlined daily workflow and security leaders one consistent source of data they can trust. The Darktrace MCP Server extends the Platform Portal into the tools and AI workflows teams already use.

What’s new:

  • Unified multi-deployment alerts dashboard: Customers and partners can triage incidents and alerts from every Darktrace deployment in a single view, without logging into separate consoles.
  • Out-of-the-box dashboards: Pre-built dashboards, including Organizational Summary, License Utilization, and Platform Health, give teams visibility into system status from the moment they log in, with no configuration required.
  • Centralized on-demand reporting & audit trail: Teams can build custom dashboards from the metrics that matter, export them as PDF, CSV, or PNG on demand, and rely on a retained history of every export for audit purposes.
  • User activity visibility & reporting: User activity now appears alongside system events on the Events page, giving investigators and auditors a single chronological timeline of who did what, and when.
  • Darktrace MCP server: Compatible AI assistants can connect to Darktrace to retrieve alerts, incident findings, and device data, and to perform permitted triage actions, with read-only access available for workflows that don’t require changes.

‍

Streamline triage across every deployment

The Unified Multi-Deployment Alerts Dashboard gives customers and partners a single view of alerts and incidents across all of their Darktrace deployments. It consolidates Cyber AI Analyst incidents, model alerts, and system health alerts in the Platform Portal. Each alert is listed with its severity, affected assets, event count, alert type, and status, and the list can be narrowed with filters and saved filters. An “Assigned to Me” view shows the alerts an analyst owns, and selecting an alert opens a detail panel with its status, assignee, affected assets, and the sequence of events behind the incident.

Teams no longer need to log into a separate console for each customer or site. Alerts from every deployment are triaged in one place, which reduces context switching and shortens the path from alert to action.

Simplify day one operations

Out-of-the-Box Dashboards are pre-built dashboards that deliver visibility into system status as soon as a user logs in, with no configuration required. The Platform Portal includes ready-to-use dashboards such as Organizational Summary, License Utilization, and Platform Health. Platform Health shows network bandwidth, device counts, asset breakdown, active SSL/TLS traffic, health alerts raised and resolved, and capture loss, with filtering by appliance and date range. This release also adds nearly 30 new Health Alerts.

Teams can see trends and changes across their deployment at a glance and address issues before they affect operations, instead of waiting on a support ticket or checking appliances one at a time. Because no analyst has to build views first, the platform delivers value on day one.

Streamline reporting with a single source of truth

Centralized On-Demand Reporting lets teams build custom dashboards from the metrics that matter and share them without manual compilation. Users create dashboards and export them as PDF, CSV, or PNG on demand, and the Platform Portal retains a history of every export generated. That history provides an audit trail of what was produced and when.

Reporting draws on one set of metrics across the deployment, so security leaders and practitioners work from the same data. Audit-ready evidence is available in seconds rather than assembled by hand from screenshots and spreadsheets.

Simplify investigations with one timeline

User Activity Visibility & Reporting adds user activity to the Platform Portal’s Events page, alongside system events. Human and system activity appear together in a single chronological view, rather than in separate logs that must be correlated manually.

Investigators and auditors can answer “who did what, and when” from one timeline. Investigations and audits move faster because the full picture is available from the start.

Streamline AI-Assisted SecOps

The Darktrace MCP Server is now generally available through the Platform Portal. The Darktrace MCP Server lets a compatible AI assistant retrieve Darktrace data and perform permitted actions, so analysts can run investigation and triage steps within the AI workflows they already use.

A compatible AI assistant connects to the server using credentials created in the Platform Portal, and can then use Darktrace tools in three areas:

  • Incident discovery and threat hunting: retrieve model alerts and incident groups, search for devices, and investigate indicators of compromise, combining results with external threat intelligence.
  • Investigation and analysis: retrieve Cyber AI Analyst findings and related event data, and enrich them with information from other platforms or documentation.
  • Triage and workflow actions: add comments, tags, and statuses to alerts and assets, update supported settings such as trusted domains and subnet details, or trigger a Cyber AI Analyst investigation.

Available tools depend on the licensed products connected to the server. The toolset also includes Darktrace / SECURE AI prompt and Shadow AI information, cloud misconfigurations and external exposure, and email threat trends.

In practice, an analyst can ask an assistant to check whether indicators of compromise from recent threat reports appear in the environment, generate a step-by-step account of a Cyber AI Analyst investigation with a raw event timeline and prevention guidance from vendor documentation, or work through untriaged alerts one at a time with a summary and suggested next step to confirm. Analysts spend less time gathering context across tools and more time making decisions.

Fewer consoles, faster security operations

These capabilities share one goal: fewer consoles, less manual correlation, and one consistent view of security operations. The Platform Portal brings alerts, system health, reporting, and investigation context together, and extend that view into the tools and AI workflows teams already use. The result is a simpler daily workflow for practitioners and data that leadership can trust.

To see the Platform Portal in action, request a demo.

[related-resource]

Continue reading
About the author
Kellie Regan
Director, Product Marketing - Platform

Blog

/

AI

/

November 30, 2026

ARTEX Shows Why Behavioral Security Matters in the AI Era

Default blog imageDefault blog image

Threat actors have moved beyond using AI to write better phishing emails. They are now running AI agents that scan, break in, and move through an organization with very little human input.

ARTEX is one such tool: an open-source framework that turns a high-level goal into actions carried out by a team of specialized AI agents. Since at least August 2026, it has been associated with espionage, financially motivated attacks, and opportunistic campaigns across government, financial services, technology, defense, and telecommunications. The FBI has documented it across the full attack lifecycle, and some reported intrusions went from first targeting to privileged access in under three hours.

The challenge is that an AI agent working for a threat actor can look like a legitimate user or administrator. It uses real credentials and everyday tools, so there is often nothing on a list of known threats to match. Darktrace analysts found ARTEX-linked activity in customer environments, and what they saw makes the case for behavioral security: in the AI era, the clearest evidence of an attack is not the tool. It is how systems and identities behave.

What three ARTEX investigations revealed

In all three investigations, no single action told the whole story. Many steps looked like something an administrator or automated tool does every day. Only the sequence made sense together, and by then access was spreading.

Espionage-linked activity. Several devices connected to infrastructure previously tied to China-nexus espionage. The more telling evidence was their behavior: checking in with outside servers at regular intervals (beaconing), making unusual encrypted connections, scanning for other devices, and pulling down scripts.

Financial-sector activity. In two financial environments, systems reached out to infrastructure tied to ARTEX. They also contacted rare destinations, downloaded unusual software packages, and used outside services that can stage or move data.

Cloud credential theft. The most revealing case had no command-and-control traffic to match. In a customer’s Azure environment, a compromised user identity listed keys and secrets across many cloud services. The threat actor then used application identities to collect more credentials, change firewall and security rules, and run scripts on virtual machines. Only the combination of those actions pointed to an intrusion.

Across all three, the threat actors, targets, and tools differed. What stayed constant was that each intrusion had to act inside the environment, and those actions looked out of place for the systems and identities involved. Naming the tool is useful context, but it doesn’t prove who is behind an attack or whether a specific system is compromised. Behavior is the stronger evidence.

Why AI-era attacks demand behavioral security

These cases show where traditional security falls short. Rules and signatures catch what someone has already seen and written down. AI-driven attacks use legitimate access and ordinary tools, so the question that matters changes from “is this known to be bad?” to “does this make sense here?”

Behavioral security answers that question. It learns what normal looks like for your organization, then notices when something doesn’t fit. Three capabilities made the difference in these investigations:

  • A profile unique to each organization. Darktrace’s Adaptive AI builds a Unique Behavioral Profile from how your people, systems, and AI actually operate, not from someone else’s definition of normal. That turns “an administrator doing admin things” into “a user acting unlike themselves.”
  • One view across network, identity, SaaS and cloud. The Azure case only made sense when activity across identity, applications, and the cloud was seen together. That is the idea behind 360° Insights: connecting activity across domains so nothing hides between tools.
  • Response at machine speed, with people in charge. When threat actors can reach privileged access in hours, analysts have little time. In several of these cases, Darktrace’s Autonomous Response took or recommended action, such as blocking unusual connections or disabling a compromised cloud account. It doesn’t replace human analysis. It extends the window analysts have to investigate.

The result is a defense that doesn’t depend on recognizing the threat actor’s tools, only on recognizing that behavior has departed from normal. As AI makes attacks faster and harder to tell from legitimate activity, that is the approach that holds up.

Three questions every security leader should ask now

New agentic frameworks will follow, with new capabilities and defaults. The harder intrusions will have no infrastructure to match, only ordinary API calls and legitimate identities. Three questions help leaders test their readiness:

  1. If a threat actor used only legitimate access and everyday tools, what would tell you something was wrong? This tests whether your defenses depend on recognizing known threats. If the answer is “nothing,” an AI-driven intruder using real credentials could operate unnoticed.
  2. Can your team see network, identity, and cloud activity together, or in separate consoles? This tests visibility. The Azure intrusion only made sense when activity across systems was connected. Threat actors move through the gaps between separate tools.
  3. How quickly can something abnormal be contained, and who stays in the loop? This tests speed and control. The time between noticing and acting decides how far an intrusion spreads. People should stay in charge, but the response can’t wait on every step being done by hand.

In the AI era, understanding behavior Is the defense

AI is speeding up threat actors, but it hasn’t changed what an intrusion has to do: act inside your environment and leave a trail in how systems and identities behave. Organizations that understand their own normal, and can act the moment something departs from it, are best placed to contain the next ARTEX. Darktrace protects 10,000 organizations with an approach built on one idea: security starts with understanding behavior. AI agents make that idea more important, not less.

Read the full technical analysis here: Agentic attacks in the wild: Inside three ARTEX investigations.

Learn more about the Darktrace Behavioral Defense Platform.

[related-resource]

Continue reading
About the author
Kellie Regan
Director, Product Marketing - Platform
Your data. Our AI.
Elevate your network security with Darktrace AI