Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


03:10 PM
Connect Directly

APT Groups Set Sights on Linux Targets: Inside the Trend

Researchers see more advanced attack groups creating tools and platforms to target Linux-based devices.

A steady increase in advanced persistent threat (APT) groups targeting Linux resources has prompted researchers to share the details of these attacks and explain the misconceptions around Linux security, as well as how organizations can better protect their Linux machines.

Kaspersky's Global Research & Analysis Team (GReAT) has observed this steady trend over the last eight years, says researcher Yury Namestnikov, More and more advanced groups are creating tools, and even platforms, to target devices running Linux software, he says.

Related Content:

Meet the Middlemen Who Connect Cybercriminals With Victims

The Threat from the Internet—and What Your Organization Can Do About It

New on The Edge: Think You're Spending Enough on Security?

There is a broadly held opinion that the Linux operating system is secure by default and not susceptible to malicious code. The misconception is rooted in the idea that cybercriminals have less malware for, and interest in, Linux desktops and servers. Much has been written about targeted attacks on Windows, the platform where Kaspersky finds the most APT attack tools.

While Linux hasn't faced the flood of viruses, worms, and Trojans that Windows systems have seen, researchers emphasize it's still an attractive target. Cyberattackers have PHP backdoors, rootkits, and exploit code written for Linux, but many businesses aren't very worried about it.

The implications are dangerous. As a result, information security departments and the security teams at software vendors are less focused on mitigations for this problem, creating a situation in which organizations have less visibility and tools to protect Linux desktops, servers, and IoT.

"It's not true for all organizations, but unfortunately, it's a common situation in many cases," Namestnikov explains. "And when we start to talk about targeted attacks we can easily see, almost every serious threat actor has some surprise tools for hacking in and getting control over Linux-running machines.

There are many reasons why APT groups target Linux over Windows, he says. A key factor is the trend toward containerization, which has driven Linux adoption. The machines can usually be accessed from the Internet and may serve as an initial entry point for attackers. A shift to virtualization and containerization means nearly all businesses use Linux in some daily tasks. 

Many organizations use more Linux and macOS devices than Windows systems, Namestnikov adds, giving attackers no other option. IT companies, telcos, and governments are among them. In some regions there is a move to adopt more Linux in desktop environments, especially in government and defense spheres such as Turkey and China, he notes.

Kaspersky's telemetry indicates servers are the most common target of these attacks, followed by corporate IT and network devices, then workstations. There have been in cases in which the attackers used compromised routers, running Linux, as a command-and-control for Windows implants in the same network, Namestnikov points out.

Servers should be a primary concern, researchers write in their full analysis. The strategic importance of Linux-based servers makes them a hot target. If an attacker can compromise a Linux server, they could both gain access to data on that server and target endpoints running Windows or macOS that may be connected. 

An Evolving Threat
Attackers have made changes to Linux malware and attacks targeting Linux devices. When they first began to write malware, their goal was to manipulate network traffic. This was clear in the case of Cloud Snooper, a threat actor that used a server-oriented Linux kernel rootkit designed to hook Netfilter traffic control functions and command-and-control communication that crossed the target's firewall.

Researchers note the same goal was evident for Barium/APT41. This group started out in 2013 targeting gaming companies for financial gain; over time, it developed new tools and went after more complicated targets. It employed Linux malware dubbed MessageTap, which attackers used to intercept SMS messages from the infrastructure of telecom providers.

APT attackers targeting Linux often use legitimate tools that are available on Linux-based servers and desktops — for example, the ability to compile code or run Python scripts — which ultimately leaves fewer traces in the logs, Namestnikov says. The most concerning things, he says, is their ability to hide on Linux devices, and leave then return as they please.

To do this, he explains, they can either infect IoT or network boxes, or replace legitimate files on compromised servers. Because these servers are not often updated, and in many cases don't have antivirus installed, these replacements are often seen too late — if they're seen at all. 

While Linux remains less frequently targeted than Windows, researchers advise businesses to take steps to protect their environments from these kinds of attacks. Their first tip is to keep a list of trusted sources for software and only install applications from official stores. Linux may provide more freedom, but it puts pressure on organizations to download software wisely.

Beyond this, they recommend checking network settings and avoiding unnecessary network applications. Organizations are also advised to properly configure their firewall from the Linux distributive to filter traffic and store the host's network activity. Other suggestions include protecting locally stored SSH keys used for network services, and setting up multifactor authentication for SSH sessions.

Kelly Sheridan is the Staff Editor at Dark Reading, where she focuses on cybersecurity news and analysis. She is a business technology journalist who previously reported for InformationWeek, where she covered Microsoft, and Insurance & Technology, where she covered financial ... View Full Bio

Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
User Rank: Author
9/14/2020 | 7:49:55 AM
Linux based servers are indeed the latest targets
Great article. As youve rightly observed, containers and vulnerable code in those containers can easily provide access to a malicious actor. If applications in those containers are running with privileged access, the malicious actor can gain access to the container runtime and the underlying cluster as well.

Many CISOs tend to think that the ephemeral nature of containers insulates them from vulnerabilities in the code but nothing could be farther from reality. The vulnerability is like a doorway, it lets the malicious actor no matter when they come visiting. For example, a SQL Injection vulnerability can facilitate dropping of "additional code" or malware on the file system. From a remote attacker's perspective, the code in the container is the very FIRST barrier they need to breach for launching an even bigger assault. So PLEASE protect your applications with high quality application aware continuous runtime security controls.
COVID-19: Latest Security News & Commentary
Dark Reading Staff 10/23/2020
Modern Day Insider Threat: Network Bugs That Are Stealing Your Data
David Pearson, Principal Threat Researcher,  10/21/2020
Are You One COVID-19 Test Away From a Cybersecurity Disaster?
Alan Brill, Senior Managing Director, Cyber Risk Practice, Kroll,  10/21/2020
Register for Dark Reading Newsletters
White Papers
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-10-27
All versions of package trim are vulnerable to Regular Expression Denial of Service (ReDoS) [DNP] via trim().
PUBLISHED: 2020-10-27
Multiple cross-site scripting (XSS) vulnerabilities in konzept-ix publiXone before 2020.015 allow remote attackers to inject arbitrary JavaScript or HTML via appletError.jsp, job_jacket_detail.jsp, ixedit/editor_component.jsp, or the login form.
PUBLISHED: 2020-10-27
A RemoteFunctions endpoint with missing access control in konzept-ix publiXone before 2020.015 allows attackers to disclose sensitive user information, send arbitrary e-mails, escalate the privileges of arbitrary user accounts, and have unspecified other impact.
PUBLISHED: 2020-10-27
Pulse Secure Desktop Client 9.0Rx before 9.0R5 and 9.1Rx before 9.1R4 on Windows reveals users' passwords if Save Settings is enabled.
PUBLISHED: 2020-10-27
An XML external entity (XXE) vulnerability in Pulse Connect Secure (PCS) before 9.1R9 and Pulse Policy Secure (PPS) before 9.1R9 allows remote authenticated admins to conduct server-side request forgery (SSRF) attacks via a crafted DTD in an XML request.