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
Oldest First  |  Newest 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.
Ransomware Is Not the Problem
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  6/9/2021
How Can I Test the Security of My Home-Office Employees' Routers?
John Bock, Senior Research Scientist,  6/7/2021
New Ransomware Group Claiming Connection to REvil Gang Surfaces
Jai Vijayan, Contributing Writer,  6/10/2021
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Current Issue
The State of Cybersecurity Incident Response
In this report learn how enterprises are building their incident response teams and processes, how they research potential compromises, how they respond to new breaches, and what tools and processes they use to remediate problems and improve their cyber defenses for the future.
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-06-21
MyQ Server in MyQ X Smart before 8.2 allows remote code execution by unprivileged users because administrative session data can be read in the %PROGRAMFILES%\MyQ\PHP\Sessions directory. The "Select server file" feature is only intended for administrators but actually does not require autho...
PUBLISHED: 2021-06-21
White Shark System (WSS) 1.3.2 has a SQL injection vulnerability. The vulnerability stems from the log_edit.php files failing to filter the csa_to_user parameter, remote attackers can exploit the vulnerability to obtain database sensitive information.
PUBLISHED: 2021-06-21
White Shark System (WSS) 1.3.2 has web site physical path leakage vulnerability.
PUBLISHED: 2021-06-21
White Shark System (WSS) 1.3.2 has an unauthorized access vulnerability in default_user_edit.php, remote attackers can exploit this vulnerability to escalate to admin privileges.
PUBLISHED: 2021-06-21
White Shark System (WSS) 1.3.2 has a sensitive information disclosure vulnerability. The if_get_addbook.php file does not have an authentication operation. Remote attackers can obtain username information for all users of the current site.