Attacks/Breaches

8/23/2018
09:08 AM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Turla Threat Group Uses Email PDF Attachments to Control Stealthy Backdoor

The Russian-speaking group's latest tactic is the only known case of malware that's completely controllable via email, researchers at ESET say.

Attackers often use email as a vector for distributing malicious code, but very few threat actors use it as a mechanism for controlling malware on infected systems.

One exception is Turla, a highly sophisticated Russian-speaking cyberespionage group that for the past several years has been using PDF files in emails to control an especially stealthy Microsoft Outlook backdoor.

In a report this week, security vendor ESET described Turla as deploying versions of the backdoor against numerous government and military targets likely since 2009. The most recent victims of the backdoor include Germany’s Federal Foreign Office; a major defense contractor; and the foreign offices of at least two other European countries.

In the attack against the Germany foreign office, Turla dropped the backdoor on several systems and used them to steal data for almost all of 2017. The attacks on the other entities were not previously known until ESET's investigation uncovered them, the security vendor said.

Timestamps in the malware's code — likely faked — suggest that Turla developed a basic version of the Outlook backdoor in 2009. The first iteration of the malware could only dump email. Since then, however, the group has added new features to make it an extremely stealthy and resilient tool for stealing data from target networks, ESET said.

In 2013, for instance, Turla introduced a capability that allowed the backdoor to execute commands sent via email in XML format. In 2006, the group added the ability for the malware to respond to commands sent as email attachments in specially crafted PDF documents. The latest version- released in April 2018 -incorporates the ability to execute PowerShell scripts directly in computer memory.

"Email as a network protocol is very rare for a backdoor," says Matthieu Faou, malware researcher at ESET. Turla is currently the only threat group using a backdoor that's completely controllable via email.

Most backdoors use HTTP or HTTPS to communicate with their command and control (C2) servers and a few use other protocols such as DNS. Typically, the network traffic associated with these protocols is highly monitored or filtered, especially in big organizations and government entities. Emails are generally only monitored for spam and malicious attachments or links.  

"Also, using emails means that the network traffic blends with the legitimate [traffic] more easily as it goes directly to the enterprise mail server instead of a malicious C&C server," Faou notes. "So [it] is very unlikely that an email, containing a PDF with information exfiltrated from the compromised machine, will be blocked by any security system."

The Turla group has been installing the Outlook backdoor — basically a Dynamic Link Library (DLL) — on hard drives using other first-stage droppers from its malware arsenal. To maintain persistence on a compromised system, the group uses a technique called COM object hijacking to tamper with the Windows registry, Faou says.

What it Does

The backdoor is designed to monitor all incoming and outgoing emails from the compromised system and to collect message metadata about the sender, recipient, subject, and attachment name (if any). The data is compiled in logs that are then bundled together and sent periodically to Turla operators in specially crafted PDF documents attached to emails.

The Outlook backdoor also checks all incoming email for PDFs that might contain commands from the attackers. The malware is designed to accept commands from any threat actor that is able to encode them in the right format in a PDF document. If the email address to which the malware typically transmits stolen data is blocked, the threat actor can regain control of the backdoor simply by sending a rogue PDF with a new C2 address.

The main difference from other backdoors is that the operator can initiate the communication with the backdoor while the malware is inspecting emails being downloaded automatically to the inbox, Faou says.

No Firewall Issues

A traditional backdoor receives C2 communications from a remote server. If the server is blocked, communication and control is lost as well. "For the Outlook backdoor, the operator can regain control of the compromised machine by sending an email from any email address, removing the single point of failure." Since the rogue email uses the enterprise Exchange Server, it does not have to deal with any firewalls either, Faou says.

The Turla group has been around for several years, and is called Snake and Uroburos by other security research teams. It is associated with a cybersecurity breach at US Central Command in 2008, and with attacks against numerous governments and military organizations worldwide. Known victims include Finland's foreign ministry, a Swiss military and the German government.

The manner in which Turla has refined the backdoor shows the group is active and constantly innovating. The improvements also show the group has a very skilled development team Faou says. "Enterprises should not only consider emails as a malware vector but also as a communication layer for malware," he says.

"It is important to monitor emails for unusual behavior, such as the forwarding of every email to an external email address."

Related Content:

  

Jai Vijayan is a seasoned technology reporter with over 20 years of experience in IT trade journalism. He was most recently a Senior Editor at Computerworld, where he covered information security and data privacy issues for the publication. Over the course of his 20-year ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
'PowerSnitch' Hacks Androids via Power Banks
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/8/2018
Windows 10 Security Questions Prove Easy for Attackers to Exploit
Kelly Sheridan, Staff Editor, Dark Reading,  12/5/2018
Starwood Breach Reaction Focuses on 4-Year Dwell
Curtis Franklin Jr., Senior Editor at Dark Reading,  12/5/2018
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: I guess this answers the question: who's watching the watchers?
Current Issue
10 Best Practices That Could Reshape Your IT Security Department
This Dark Reading Tech Digest, explores ten best practices that could reshape IT security departments.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-20029
PUBLISHED: 2018-12-10
The nxfs.sys driver in the DokanFS library 0.6.0 in NoMachine before 6.4.6 on Windows 10 allows local users to cause a denial of service (BSOD) because uninitialized memory can be read.
CVE-2018-1279
PUBLISHED: 2018-12-10
Pivotal RabbitMQ for PCF, all versions, uses a deterministically generated cookie that is shared between all machines when configured in a multi-tenant cluster. A remote attacker who can gain information about the network topology can guess this cookie and, if they have access to the right ports on ...
CVE-2018-15800
PUBLISHED: 2018-12-10
Cloud Foundry Bits Service, versions prior to 2.18.0, includes an information disclosure vulnerability. A remote malicious user may execute a timing attack to brute-force the signing key, allowing them complete read and write access to the the Bits Service storage.
CVE-2018-15805
PUBLISHED: 2018-12-10
Accusoft PrizmDoc HTML5 Document Viewer before 13.5 contains an XML external entity (XXE) vulnerability, allowing an attacker to read arbitrary files or cause a denial of service (resource consumption).
CVE-2018-16635
PUBLISHED: 2018-12-10
Blackcat CMS 1.3.2 allows XSS via the willkommen.php?lang=DE page title at backend/pages/modify.php.