Blog
/
/
Juni 27, 2021

Post-Mortem Analysis of a SQL Server Exploit

Learn about the post-mortem analysis of a SQL Server exploit. Discover key insights and strategies to enhance your cybersecurity defenses.
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
Max Heinemeyer
Global Field CISO
Default blog image
27
Juni 2021

While SaaS and IoT devices are increasingly popular vectors of intrusion, server-side attacks remain a serious threat to organizations worldwide. With sophisticated vulnerability scanning tools, attackers can now pinpoint security flaws in seconds, finding points of entry across the attack surface. Human security teams often struggle to keep pace with the constant wave of newly documented vulnerabilities and patches.

Darktrace recently stopped a targeted cyber-attack by an unknown attacker. After the initial entry, the attacker exploited an unpatched vulnerability (CVE-2020-0618), granting a low-privileged credential the ability to remotely execute code. This enabled the attacker to spread laterally and eventually establish a foothold in the system by creating a new user account.

‍

The server-side attack cycle: authenticates user; scans network; infects three servers; downloads malware; c2 traffic; creates new user.

Figure 1: Overview of the server-side attack cycle.

This blog breaks down the intrusion and explores how Darktrace’s Autonomous Response technology took three surgical actions to halt the attacker’s movements.

Unknown threat actors exploit a vulnerability

Initial compromise

At a financial firm in Canada with around 3,000 devices, Cyber AI detected the use of a new credential, ‘parents’. The attacker used this credential to access the company’s internal environment through the VPN. From there, the credential authenticated to a desktop using NT LAN Manager (NTLM). No further suspicious activity was observed.

NTLM is a popular attack vector for cyber-criminals as it is vulnerable to multiple methods of compromise, including brute-force and ‘pass the hash’. The initial access to the credential could have been obtained via phishing before Darktrace had been deployed.

Figure 2: The credential was first observed on the device five days prior to reconnaissance. The attacker performed reconnaissance and lateral movement for two days, until the compromised devices were taken down.

Internal reconnaissance

Five days later, the ‘parents’ credential was seen logging onto the desktop. The desktop began scanning the network – over 80 internal IPs – on Port 443 and 445.

Shortly after the scan, the device used Nmap to attempt to establish SMBv1 sessions to 139 internal IPs, using guest / user credentials. 79 out of the 278 sessions were successful, all using the login.

Figure 3: New failed internal connections performed by an initially infected desktop, in a similar incident. The graph highlights a surge in failed internal connections and model breaches.

The network scan was the first stage after intrusion, enabling the attacker to find out which services were running, before looking for unpatched vulnerabilities.

Nmap has multiple built-in functionalities which are often exploited for reconnaissance and lateral movement. In this case, it was being used to establish the SMBv1 sessions to the domain controller, saving the attacker from having to initiate SMBv1 sessions with each destination one by one. SMBv1 has well-known vulnerabilities and best practice is to disable it where possible.

Lateral movement

The desktop began controlling services (svcctl endpoint) on a SQL server. It was observed both creating and starting services (CreateServiceW, StartServiceW).

The desktop then initiated an unencrypted HTTP connection to a SQL Reporting server. This was the first HTTP connection between the two devices and the first time the user agent had been seen on the device.

A packet capture of the connection reveals a POST that is seen in an exploit of CVE-2020-0613. This vulnerability is a deserialization issue, whereby the server mishandles carefully crafted page requests and allows low-privileged accounts to establish a reverse shell and remotely execute code on the server.

Figure 4: A partial PCAP of the HTTP connection. The traffic matches the CVE-2020-0618 exploit, which enables Remote Code Execution (RCE) in SQL Server Reporting Services (SSRS).

Most movements were seen in East-West traffic, with readily-available remote procedure call (RPC) methods. Such connections are abundant in systems. Without learning an organization’s ‘pattern of life’, it would have been near-impossible to highlight the malicious connections.

Cyber AI detected connections to the svcctl endpoint, via the DCE-RPC endpoint. This is called the 'service control' endpoint and is used to remotely control running processes on a device.

During the lateral movement from the desktop, the HTTP POST request revealed that the desktop was exploiting CVE-2020-0613. The attacker had managed to find and exploit an existing vulnerability which hadn’t been patched.

Darktrace was the only tool which alerted to the HTTP connection, revealing this underlying (and concluding) exploit. The AI determined that the user agent was unusual for the device and for the wider organization, and that the connection was highly anomalous. This connection would have gone otherwise amiss, since HTTP connections are common in most digital environments.

Because the attacker on the desktop used readily-available tools and protocols, such as Nmap, DCE-RPC, and HTTP, the device went undetected by all the other cyber defenses. However, Cyber AI noticed multiple scanning and lateral movement anomalies – triggering high-fidelity detections which would have been alerted to with Proactive Threat Notifications.

Command and control (C2) communication

The next day, the attacker connected to an SNMP server from the VPN. The connection used the ‘parents’ RDP cookie.

Immediately after the RDP connection began, the server connected to Pastebin and downloaded small amounts of encrypted data. Pastebin was likely being used as a vector to drop malicious scripts onto the device.

The SNMP server then started controlling services (svcttl) on the SQL server: again, creating and starting services.

Following this, both the SQL server and the SNMP server made a high volume of SSL connections to a rare external domain. One upload to the destination was around 21 MB, but otherwise the connections were mostly the same packet size. This, among other factors, indicated that the destination was being used as a C2 server.

Figure 5: Example Cyber AI Analyst investigation into beaconing activity by a SQL server.

With just one compromised credential, the attacker was now connecting to the VPN and infecting multiple servers on the company’s internal network.

The attacker dropped scripts onto the host using Pastebin. Darktrace alerted on this because Pastebin is highly rare for the organization. In fact, these connections were the first time it had been seen. Most security tools would miss this, as Pastebin is a legitimate site and would not be blocked by open-source intelligence (OSINT).

Even if a lesser-known Pastebin alternative had been used – say, in an environment where Pastebin was blocked on the firewall but the alternative not — Darktrace would have picked up on it in exactly the same way.

The C2 beaconing endpoint – dropbox16[.]com – has no OSINT information available online. The connections were on Port 443 and nothing about them was notable except from their rarity on the company’s system. Darktrace sent alerts because of its high rarity, rather than relying on known signatures.

Achieve persistence

After another Pastebin pull, the attacker attempted to maintain a greater foothold and escalate privileges by creating a new user using the SamrCreateUser2InDomain operation (endpoint: samr).

To establish persistence, the attacker now created a new user through a specific DCE-RPC command to the domain controller. This was highly unusual activity for the device, and was given a 100% anomaly score for ‘New or Uncommon Occurrence’.

If Darktrace had not alerted on this activity, the attacker would have continued to access files and make further inroads in the company, extracting sensitive data and potentially installing ransomware. This could have led to sensitive data loss, reputational damage, and financial losses for the company.

The value of Autonomous Response

The organization had Antigena in passive mode, so although it was not able to respond autonomously, we have visibility into the actions that it would have taken.

Antigena would have taken three actions on the initially infected desktop, as shown in the table below. The actions would have taken effect immediately in response to the first scan and the first service control requests.

During the two days of reconnaissance and lateral movement activity, these were the only steps Antigena suggested. The steps were all directly relevant to the intrusion – there was no attempt to block anything unrelated to the attack, and no other Antigena actions were triggered during this period.

By surgically blocking connections on specific ports during the scanning activity and enforcing the ‘pattern of life’ on the infected desktop, Antigena would have paralyzed the attacker’s reconnaissance efforts.

Furthermore, unusual service control attempts performed by the device would have been halted, minimizing the damage to the targeted destination.

Antigena would have delivered these blocks directly or via whatever integration was most suitable for the customer, such as firewall integrations or NAC integrations.

Lessons learned

The threat story above demonstrates the importance of controlling the access granted to low-privileged credentials, as well as remaining up-to-date with security patches. Since such attacks take advantage of existing network infrastructure, it is extremely difficult to detect these anomalous connections without the use of AI.

There was a delay of several days between the initial use of the ‘parents’ credentials and the first signs of lateral movement. This dormancy period – between compromise and the start of internal activities – is commonly seen in attacks. It likely indicates that the attacker was checking initially if their access worked, and then re-visiting the victim for further compromise once their schedule allowed for it.

Stopping a server-side attack

This compromise is reflective of many real-life intrusions: attacks cannot be easily attributed and are often conducted by sophisticated, unidentified threat actors.

Nevertheless, Darktrace managed to detect each stage of the attack cycle: initial compromise, reconnaissance, lateral movement, established foothold, and privilege escalation, and had Antigena been in active mode, it would have blocked these connections, and even prevented the initial desktop from ever exploiting the SQL vulnerability, which allowed the attacker to execute code remotely.

One day later, after seeing the power of Autonomous Response, the company decided to deploy Antigena in active mode.

Thanks to Darktrace analyst Isabel Finn for her insights on the above threat find.

‍

Darktrace model detections:

  • Device / Anomalous Nmap SMB Activity
  • Device / Network Scan - Low Anomaly Score
  • Device / Network Scan
  • Device / ICMP Address Scan
  • Device / Suspicious Network Scan Activity
  • Anomalous Connection / New or Uncommon Service Control
  • Device / Multiple Lateral Movement Model Breaches
  • Device / New User Agent To Internal Server
  • Compliance / Pastebin
  • Device / Repeated Unknown RPC Service Bind Errors
  • Anomalous Server Activity / Rare External from Server
  • Compromise / Unusual Connections to Rare Lets Encrypt
  • User / Anomalous Domain User Creation Or Addition To Group


‍

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
Max Heinemeyer
Global Field CISO

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.

FIG 2

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.

FIG 3

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