Fast and stealthy malware attempts to steal public data from government organization

Max Heinemeyer, Director of Threat Hunting | Tuesday September 22, 2020

Cyber AI was recently deployed at a government organization in the EMEA region, where it was protecting over 10,000 devices by learning a sense of ‘self’ for each unique device in order to detect anomalous behavior. Just a week into the Darktrace trial, the AI detected a device which had been infected with malware beaconing to C2 endpoints via HTTP and SSL before downloading a suspicious file.

The attackers were using a strain of Glupteba malware in an attempt to steal sensitive information from browsers such as passwords and credit card information, as well as email account credentials. Given that this was a government agency, the consequences had the attackers been able to gain access to an employees’ account credentials could have been severe.

Darktrace’s Autonomous Response technology, Antigena, would have taken action to contain the threatening behavior, enforcing the device’s ‘pattern of life’ for five minutes and escalating its response as the severity of the threat escalated.

The attack occurred over the course of an hour on a Sunday, meaning the security team’s response time was likely slower than it would have been during a weekday.

Figure 1: A timeline of events

Details of the attack

Darktrace detected a device initiating encrypted connections to an external domain never seen before across the organization. The device had likely been infected before Darktrace was deployed, most likely through a malicious email attachment or link.

Newer strains of Glupteba also use malvertising which directs the user to a rare endpoint and forces an anomalous file download.

Darktrace’s AI detected the device downloading an executable file, atx777.exe, which appears to be associated with the stealer Taurus, accredited to the cyber-criminal group ‘Predator the Thief’.

Following this file download, the device initiated further encrypted connections to suspicious endpoints over unusual communication channels. At the same time, the device downloaded another executable file from a domain with an unusual user agent, ‘CertUtil URL Agent’.

A stealthy stealer

Malicious actors are using more sophisticated techniques to avoid traditional security tools. The Glupteba malware framework, which has seen a resurgence over the past few months, utilizes several evasion techniques, including sandbox detection.

Shortly after the payload is dropped, the malware examines the environment where it has been installed and will not execute any further processes if it detects the host machine is a sandbox. The malware is able to further conceal itself by excluding Glupteba files from Windows Defender, altering Firewall rules to allow command and control traffic, and by ‘living off the land,’ using tools preinstalled on the device such as CertUtil.

Despite these attempts at evasion, Darktrace’s Cyber AI easily detected the suspicious activity, which fell outside the ‘pattern of life’ for the device and the wider organization. Darktrace identified the activity as suspicious at the first stages of the attack, and the Cyber AI Analyst investigated the incident in full, revealing some crucial metrics, including the endpoints contacted.

Figure 2: AI Analyst’s detection and summary of the command and control traffic

Antigena responds

In this case, the malware had been installed on the device before Darktrace started monitoring the environment, however had Antigena been active it would have taken a precise response at every stage of the attack. At the beginning of the attack, Antigena would have blocked connections to the suspicious domain, zvwxstarserver17km[.]xyz for two hours, preventing any additional malicious downloads.

As the activity escalated, Antigena would have enforced a ‘pattern of life’ on the infected device and stopped any malicious command and control communications by blocking all outgoing traffic for one hour.

Concluding thoughts

As the race between cyber-criminals and security analysts continues, malware authors are employing increasingly sophisticated techniques to avoid detection. Although the Taurus stealer utilizes a number of these evasion techniques, Darktrace’s AI technology was able to not only alert and act on the malicious activity without disrupting business continuity, but did so despite the malware already being present on a device before the customer began leveraging Darktrace for cyber defense.

Had Antigena been deployed in active mode during this incident, it would have stopped the malware in its tracks at the initial stages, preventing any sensitive data from being removed from the government network. Critically, Antigena updated and escalated its actions in light of the evolving activity, and yet was still precise enough to ensure normal business operations were allowed to continue.

Despite Antigena being in passive mode, this case study demonstrates the power of Autonomous Response in intelligently acting to stop cyber-threats when human security resources are limited, or when the team is out of office. As both public and private organizations continue to be targeted with ransomware and other fast and stealthy threats, the need for Autonomous Response is greater than ever.

Thanks to Darktrace analyst Tom Priest for his insights on the above threat find.

Learn more about Darktrace Antigena

IoCs

Malicious file downloads

IoCComment
zvwxstarserver17km[.]xyz
185.193.38[.]201
atx777.exe
gfixprice[.]space
62.0.58[.]94
Use of CertUtil

Command and control (TCP port)

192.64.119.50 (4044)adxspace147.xyz
185.141.63.172 (80)efkmprb.ua
104.27.128.210 (443)c5b43e04-4c58-4361-92ac-3d71444840c1.server2.sndvoices.com
144.76.8.48 (8000)ed1382a7-7176-4cd3-876e-88a165e5bed9.server-34.servicegame.net
185.141.63.172 (80)ayuli gmba.ru
193.242.211.141 (80)kxzzjba0.ua
91.121.144.14 (8000)ed1382a7-7176-4cd3-876e-88a165e5bed9.server-53.brandgame.org
5.196.70.233 (80)xsbcvaa.net
109.230.199.181 (80)rbbtkba.com
172.105.207.42 (443)
64.225.39.188 (2000)
128.31.0.34 (9131)
199.58.81.140 (80)
171.25.193.9 (443)

Darktrace model detections

  • Device / New Failed External Connections
  • Device / New User Agent and New IP
  • Antigena / Network::External Threat::Antigena Suspicious File Block
  • Anomalous File / EXE from Rare External Location
  • Antigena / Network::Significant Anomaly::Antigena Controlled and Model Breach
  • Antigena / Network::External Threat::Antigena File then New Outbound Block
  • Anomalous Connection / Application Protocol on Uncommon Port
  • Device / Long Agent Connection to New Endpoint
  • Antigena / Network::Significant Anomaly::Antigena Breaches Over Time Block
  • Anomalous Connection / Lots of New Connections
  • Device / Large Number of Model Breaches
  • Antigena / Network::Significant Anomaly::Antigena Significant Anomaly from Client Block
  • Device / Initial Breach Chain Compromise
  • Antigena / Network::External Threat::Antigena Suspicious Activity Block
  • Compliance / CertUtil External Connection

Max Heinemeyer

Max is a cyber security expert with over nine years’ experience in the field, specializing in network monitoring and offensive security. At Darktrace, Max works with strategic customers to help them investigate and respond to threats, as well as overseeing the cyber security analyst team in the Cambridge UK headquarters. Prior to his current role, Max led the Threat and Vulnerability Management department for Hewlett-Packard in Central Europe. In this role he worked as a white hat hacker, leading penetration tests and red team engagements. He was also part of the German Chaos Computer Club when he was still living in Germany. Max holds a MSc from the University of Duisburg-Essen and a BSc from the Cooperative State University Stuttgart in International Business Information Systems.