Security Integrations: Enriching Darktrace with Microsoft Defender
11
Apr 2023
11
Apr 2023
This blog demonstrates the relationship between Microsoft Defender and Darktrace security solutions. It takes a deep dive into the relationship between Darktrace DETECT, RESPOND, and Microsoft Defender, providing real examples as to how the two are able to integrate with each other and support security teams.
Introduction
Darktrace and Microsoft entered a partnership in 2021 with a joint commitment to empower security defenders to free their organizations of cyber disruption. Darktrace AI complements Microsoft’s global reach and established intelligence community with its deep understanding of ‘self’ for individual organizations – learning ‘normal’ in order to prevent, detect, and respond to cyber-threats that represent a deviation from ‘normal’. With both products utilizing AI in different ways, the result for customers is the fusion of two security philosophies for a best-of-breed detection and response stack.
Now in 2023, Darktrace is proud to have this integration between its DETECT and RESPOND product families and Defender for Endpoint become part of the Microsoft Intelligence Security Association catalogue (MISA).
MISA is a global community dedicated to the shared mission of providing better security by integrating the very best solutions from across the digital landscape. Also see Darktrace’s membership for Darktrace for Defender for Email and Darktrace for Microsoft Sentinel.
Integrating Darktrace and Defender
Darktrace is designed to coordinate with Microsoft products, including hosting its email solution service on Azure and allowing customers using Sentinel to visualize and share incidents and AI Analyst investigations within their security information and event management (SIEM) tools. Integrating Microsoft Defender with Darktrace takes just minutes and can be set up using the System Configuration page of the deployment.
Additionally, Darktrace can retrieve data made available to it by Microsoft’s Graph Security API (Figure 2). When Defender Advanced Hunting (AH) is in use and a valid P2 license is integrated into Darktrace, it allows for more powerful API calls (Figure 3).
Defender can contextualize Darktrace information with endpoint insights, providing security teams visibility of the host-level detections surrounding network-level anomalies. Furthermore, if both Darktrace and Defender’s Advanced Hunting are in use and a compromise falls under the scope of both products, Darktrace can retrieve additional details, such as device operating system information (OS) and a list of common vulnerabilities and exposures (CVEs). This information is then presented in the Device Summary of the Threat Visualizer.
After the integration allows access to endpoint information, Darktrace learns from Defender and changes its behavior accordingly. When Defender identifies malicious activity, Darktrace simultaneously activates its integrated model breaches to show the Defender alert natively, ensuring consistency across platforms. This enables host-level anomaly detection; Darktrace applies its unsupervised machine learning to learn typical patterns of endpoint-level detections from Defender, to then alert based on deviations from regular Defender activity. Also using the integrated model breaches, Darktrace's AI Analyst can autonomously collate timestamp and device information from a Defender alert and investigate surrounding unusual activity from the suspect device, presenting a summary of all suspicious activity detected on the device.
Integration at Work
In December 2022, Darktrace DETECT identified a suspicious new user on an internal customer server. Immediately afterwards, an integration model breach was triggered based on Defender’s detection of suspicious activity on the same device.
Independently, Darktrace detected a New User Agent to Internal Server event based on a connection between two internal devices. Prior to this, Defender had independently alerted signs of a threat actor group (DEV-0408), which was represented in Darktrace’s Event Logs. Darktrace can pull information from Defender directly into the UI to enhance its investigation and provide a unified view for the customer (Figure 5).
After Darktrace and Defender models both breached, Darktrace RESPOND acted instantly; the connections triggering the breaches were blocked and new connections to those endpoints on the detected port were suspended for the next two hours (Figure 6). This response proactively protected against subsequent suspicious activity, such as lateral movement. The device was later manually quarantined by the customer’s security team based on these detections and responses.
Conclusion
Darktrace’s Self-Learning AI works to understand customer environments and augment security teams with early warning detection and machine-speed response. Integration with Microsoft Defender helps to provide an even broader network security visibility by augmenting network-layer insights with host-specific information and activity. Defense in depth is crucial to a modern cyber security strategy and protection plan for organizations. Implementing the proven capabilities of Microsoft Defender alongside Darktrace’s innovative suite of products provides highly informed insights and holistic coverage from host to network to defend against a broad range of threats.
Thanks to Brianna Leddy, Director of Analysis, for her contributions to the above.
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.
The State of AI in Cybersecurity: The Impact of AI on Cybersecurity Solutions
13
May 2024
About the AI Cybersecurity Report
Darktrace surveyed 1,800 CISOs, security leaders, administrators, and practitioners from industries around the globe. Our research was conducted to understand how the adoption of new AI-powered offensive and defensive cybersecurity technologies are being managed by organizations.
Overwhelming alert volumes, high false positive rates, and endlessly innovative threat actors keep security teams scrambling. Defenders have been forced to take a reactive approach, struggling to keep pace with an ever-evolving threat landscape. It is hard to find time to address long-term objectives or revamp operational processes when you are always engaged in hand-to-hand combat.
The impact of AI on the threat landscape will soon make yesterday’s approaches untenable. Cybersecurity vendors are racing to capitalize on buyer interest in AI by supplying solutions that promise to meet the need. But not all AI is created equal, and not all these solutions live up to the widespread hype.
Do security professionals believe AI will impact their security operations?
Yes! 95% of cybersecurity professionals agree that AI-powered solutions will level up their organization’s defenses.
Not only is there strong agreement about the ability of AI-powered cybersecurity solutions to improve the speed and efficiency of prevention, detection, response, and recovery, but that agreement is nearly universal, with more than 95% alignment.
This AI-powered future is about much more than generative AI. While generative AI can help accelerate the data retrieval process within threat detection, create quick incident summaries, automate low-level tasks in security operations, and simulate phishing emails and other attack tactics, most of these use cases were ranked lower in their impact to security operations by survey participants.
There are many other types of AI, which can be applied to many other use cases:
Supervised machine learning: Applied more often than any other type of AI in cybersecurity. Trained on attack patterns and historical threat intelligence to recognize known attacks.
Natural language processing (NLP): Applies computational techniques to process and understand human language. It can be used in threat intelligence, incident investigation, and summarization.
Large language models (LLMs): Used in generative AI tools, this type of AI applies deep learning models trained on massively large data sets to understand, summarize, and generate new content. The integrity of the output depends upon the quality of the data on which the AI was trained.
Unsupervised machine learning: Continuously learns from raw, unstructured data to identify deviations that represent true anomalies. With the correct models, this AI can use anomaly-based detections to identify all kinds of cyber-attacks, including entirely unknown and novel ones.
What are the areas of cybersecurity AI will impact the most?
Improving threat detection is the #1 area within cybersecurity where AI is expected to have an impact.
The most frequent response to this question, improving threat detection capabilities in general, was top ranked by slightly more than half (57%) of respondents. This suggests security professionals hope that AI will rapidly analyze enormous numbers of validated threats within huge volumes of fast-flowing events and signals. And that it will ultimately prove a boon to front-line security analysts. They are not wrong.
Identifying exploitable vulnerabilities (mentioned by 50% of respondents) is also important. Strengthening vulnerability management by applying AI to continuously monitor the exposed attack surface for risks and high-impact vulnerabilities can give defenders an edge. If it prevents threats from ever reaching the network, AI will have a major downstream impact on incident prevalence and breach risk.
Where will defensive AI have the greatest impact on cybersecurity?
Cloud security (61%), data security (50%), and network security (46%) are the domains where defensive AI is expected to have the greatest impact.
Respondents selected broader domains over specific technologies. In particular, they chose the areas experiencing a renaissance. Cloud is the future for most organizations, and the effects of cloud adoption on data and networks are intertwined. All three domains are increasingly central to business operations, impacting everything everywhere.
Responses were remarkably consistent across demographics, geographies, and organization sizes, suggesting that nearly all survey participants are thinking about this similarly—that AI will likely have far-reaching applications across the broadest fields, as well as fewer, more specific applications within narrower categories.
Going forward, it will be paramount for organizations to augment their cloud and SaaS security with AI-powered anomaly detection, as threat actors sharpen their focus on these targets.
How will security teams stop AI-powered threats?
Most security stakeholders (71%) are confident that AI-powered security solutions are better able to block AI-powered threats than traditional tools.
There is strong agreement that AI-powered solutions will be better at stopping AI-powered threats (71% of respondents are confident in this), and there’s also agreement (66%) that AI-powered solutions will be able to do so automatically. This implies significant faith in the ability of AI to detect threats both precisely and accurately, and also orchestrate the correct response actions.
There is also a high degree of confidence in the ability of security teams to implement and operate AI-powered solutions, with only 30% of respondents expressing doubt. This bodes well for the acceptance of AI-powered solutions, with stakeholders saying they’re prepared for the shift.
On the one hand, it is positive that cybersecurity stakeholders are beginning to understand the terms of this contest—that is, that only AI can be used to fight AI. On the other hand, there are persistent misunderstandings about what AI is, what it can do, and why choosing the right type of AI is so important. Only when those popular misconceptions have become far less widespread can our industry advance its effectiveness.
Connecting the Dots: Darktrace’s Detection of the Exploitation of the ConnectWise ScreenConnect Vulnerabilities
10
May 2024
Introduction
Across an ever changing cyber landscape, it is common place for threat actors to actively identify and exploit newly discovered vulnerabilities within commonly utilized services and applications. While attackers are likely to prioritize developing exploits for the more severe and global Common Vulnerabilities and Exposures (CVEs), they typically have the most success exploiting known vulnerabilities within the first couple years of disclosure to the public.
Addressing these vulnerabilities in a timely manner reduces the effectiveness of known vulnerabilities, decreasing the pace of malicious actor operations and forcing pursuit of more costly and time-consuming methods, such as zero-day related exploits or attacking software supply chain operations. While actors also develop tools to exploit other vulnerabilities, developing exploits for critical and publicly known vulnerabilities gives actors impactful tools at a low cost they are able to use for quite some time.
Between January and March 2024, the Darktrace Threat Research team investigated one such example that involved indicators of compromise (IoCs) suggesting the exploitation of vulnerabilities in ConnectWise’s remote monitoring and management (RMM) software ScreenConnect.
What are the ConnectWise ScreenConnect vulnerabilities?
CVE-2024-1708 is an authentication bypass vulnerability in ScreenConnect 23.9.7 (and all earlier versions) that, if exploited, would enable an attacker to execute remote code or directly impact confidential information or critical systems. This exploit would pave the way for a second ScreenConnect vunerability, CVE-2024-1709, which allows attackers to directly access confidential information or critical systems [1].
ConnectWise released a patch and automatically updated cloud versions of ScreenConnect 23.9.9, while urging security temas to update on-premise versions immediately [3].
If exploited in conjunction, these vulnerabilities could allow a malicious actor to create new administrative accounts on publicly exposed instances by evading existing security measures. This, in turn, could enable attackers to assume an administrative role and disable security tools, create backdoors, and disrupt RMM processes. Access to an organization’s environment in this manner poses serious risk, potentially leading to significant consequences such as deploying ransomware, as seen in various incidents involving the exploitation of ScreenConnect [2]
Darktrace’s anomaly-based detection was able to identify evidence of exploitation related to CVE-2024-1708 and CVE-2024-1709 across two distinct timelines; these detections included connectivity with endpoints that were later confirmed to be malicious by multiple open-source intelligence (OSINT) vendors. The activity observed by Darktrace suggests that threat actors were actively exploiting these vulnerabilities across multiple customer environments.
In the cases observed across the Darktrace fleet, Darktrace DETECT™ and Darktrace RESPOND™ were able to work in tandem to pre-emptively identify and contain network compromises from the onset. While Darktrace RESPOND was enabled in most customer environments affected by the ScreenConnect vulnerabilities, in the majority of cases it was configured in Human Confirmation mode. Whilst in Human Confirmation mode, RESPOND will provide recommended actions to mitigate ongoing attacks, but these actions require manual approval from human security teams.
When enabled in autonomous response mode, Darktrace RESPOND will take action automatically, shutting down suspicious activity as soon as it is detected without the need for human intervention. This is the ideal end state for RESPOND as actions can be taken at machine speed, without any delays waiting for user approval.
Looking within the patterns of activity observed by Darktrace , the typical attack timeline included:
Darktrace observed devices on affected customer networks performing activity indicative of ConnectWise ScreenConnect usage, for example connections over 80 and 8041, connections to screenconnect[.]com, and the use of the user agent “LabTech Agent”. OSINT research suggests that this user agent is an older name for ConnectWise Automate [5] which also includes ScreenConnect as standard [6].
This activity was typically followed by anomalous connections to the external IP address 108.61.210[.]72 using URIs of the form “/MyUserName_DEVICEHOSTNAME”, as well as additional connections to another external, IP 185.62.58[.]132. Both of these external locations have since been reported as potentially malicious [14], with 185.62.58[.]132 in particular linked to ScreenConnect post-exploitation activity [2].
Same Exploit, Different Tactics?
While the majority of instances of ConnectWise ScreenConnect exploitation observed by Darktrace followed the above pattern of activity, Darktrace was able to identify some deviations from this.
In one customer environment, Darktrace’s detection of post-exploitation activity began with the same indicators of ScreenConnect usage, including connections to screenconnect[.]com via port 8041, followed by connections to unusual domains flagged as malicious by OSINT, in this case 116.0.56[.]101 [16] [17]. However, on this deployment Darktrace also observed threat actors downloading a suspicious AnyDesk installer from the endpoint with the URI “hxxp[:]//116.0.56[.]101[:]9191/images/Distribution.exe”.
Further investigation by Darktrace’s Threat Research team revealed that this endpoint was associated with threat actors exploiting CVE-2024-1708 and CVE-2024-1709 [1]. Darktrace was additionally able to identify that, despite the customer being based in the United Kingdom, the file downloaded came from Pakistan. Darktrace recognized that this represented a deviation from the device’s expected pattern of activity and promptly alerted for it, bringing it to the attention of the customer.
Darktrace’s Autonomous Response
In this instance, the customer had Darktrace enabled in autonomous response mode and the post-exploitation activity was swiftly contained, preventing the attack from escalating.
As soon as the suspicious AnyDesk download was detected, Darktrace RESPOND applied targeted measures to prevent additional malicious activity. This included blocking connections to 116.0.56[.]101 and “*.56.101”, along with blocking all outgoing traffic from the device. Furthermore, RESPOND enforced a “pattern of life” on the device, restricting its activity to its learned behavior, allowing connections that are considered normal, but blocking any unusual deviations.
The customer was later able to use RESPOND to manually quarantine the offending device, ensuring that all incoming and outgoing traffic to or from the device was prohibited, thus preventing ay further malicious communication or lateral movement attempts.
Conclusion
In the observed cases of the ConnectWise ScreenConnect vulnerabilities being exploited across the Darktrace fleet, Darktrace was able to pre-emptively identify and contain network compromises from the onset, offering vital protection against disruptive cyber-attacks.
While much of the post-exploitation activity observed by Darktrace remained the same across different customer environments, important deviations were also identified suggesting that threat actors may be adapting their tactics, techniques and procedures (TTPs) from campaign to campaign.
While new vulnerabilities will inevitably surface and threat actors will continually look for novel ways to evolve their methods, Darktrace’s Self-Learning AI and behavioral analysis offers organizations full visibility over new or unknown threats. Rather than relying on existing threat intelligence or static lists of “known bads”, Darktrace is able to detect emerging activity based on anomaly and respond to it without latency, safeguarding customer environments whilst causing minimal disruption to business operations.
Credit: Emma Foulger, Principal Cyber Analyst for their contribution to this blog.
Appendices
Darktrace Model Coverage
DETECT Models
Compromise / Agent Beacon (Medium Period)
Compromise / Agent Beacon (Long Period)
Anomalous File / EXE from Rare External Location
Device / New PowerShell User Agent
Anomalous Connection / Powershell to Rare External
Anomalous Connection / New User Agent to IP Without Hostname
User / New Admin Credentials on Client
Device / New User Agent
Anomalous Connection / Multiple HTTP POSTs to Rare Hostname
Anomalous Server Activity / Anomalous External Activity from Critical Network Device
Compromise / Suspicious Request Data
Compliance / Remote Management Tool On Server
Anomalous File / Anomalous Octet Stream (No User Agent)