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.

Attacks/Breaches

9/11/2020
03:10 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

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
Comments
Newest First  |  Oldest First  |  Threaded View
satyavgupta
50%
50%
satyavgupta,
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.
Cloud Security Threats for 2021
Or Azarzar, CTO & Co-Founder of Lightspin,  12/3/2020
Why Vulnerable Code Is Shipped Knowingly
Chris Eng, Chief Research Officer, Veracode,  11/30/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
Assessing Cybersecurity Risk in Todays Enterprises
Assessing Cybersecurity Risk in Todays Enterprises
COVID-19 has created a new IT paradigm in the enterprise and a new level of cybersecurity risk. This report offers a look at how enterprises are assessing and managing cyber-risk under the new normal.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-27772
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in coders/bmp.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned int`. This would most likely lead to an impact to application availability, but could po...
CVE-2020-27773
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in MagickCore/gem-private.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned char` or division by zero. This would most likely lead to an impact to appli...
CVE-2020-28950
PUBLISHED: 2020-12-04
The installer of Kaspersky Anti-Ransomware Tool (KART) prior to KART 4.0 Patch C was vulnerable to a DLL hijacking attack that allowed an attacker to elevate privileges during installation process.
CVE-2020-27774
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of a too large shift for 64-bit type `ssize_t`. This would most likely lead to an impact to application availability, but co...
CVE-2020-27775
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type unsigned char. This would most likely lead to an impact to application availability, but c...