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.

Threat Intelligence

11/6/2020
04:30 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

New Gitpaste-12 Botnet Exploits 12 Known Vulnerabilities

Researchers discover a new worm and botnet dubbed Gitpaste-12 for its ability to spread via GitHub and Pastebin.

Security researchers have discovered a new worm and botnet dubbed Gitpaste-12, named for its usage of GitHub and Pastebin to host component code and the 12 known vulnerabilities it exploits to compromise systems.

Related Content:

APT Groups Get Innovative -- and More Dangerous -- in Q3

The Changing Face of Threat Intelligence

New on The Edge: Bug Bounty Hunters' Pro Tips on Chasing Vulns & Money

The Juniper Threat Labs research team detected the first Gitpaste-12 attacks on Oct. 15, 2020; however, the team notes the first commit was seen on GitHub on July 9, meaning the malware had lived on GitHub since then. Researchers reported the Pastebin URL and git repo, which was closed on Oct. 30, 2020, and should stop the spread of the botnet.

Gitpaste-12 has 12 unique attack modules available, though researchers note there is evidence its development is ongoing. Its current targets are Linux-based x86 servers, and Linux ARM and MIPS-based Internet of Things (IoT) devices. 

In the first phase of an attack, Gitpaste-12 attempts to use known exploits to compromise target systems and may attempt to brute-force passwords. After the initial compromise, the malware downloads a script from Pastebin; this calls the same script and executes it again every minute, researchers explain in a blog post. This is presumably how the botnet is updated.

The main shell script uploaded to the victim's machine during the attack starts to download and execute other part of Gitpaste-12. It also downloads and executes components from GitHub.

Following this, the malware prepares its target environment by eliminating system defenses such as firewall rules and common threat prevention and monitoring software. Researchers discovered a script that contains comments written in Chinese and commands to disable some security tools. In one example, commands disable cloud security agents, indicating the attacker meant to target public cloud infrastructure provided by Alibaba Cloud and Tencent, they note.

Alex Burt, security researcher with Juniper Threat Labs, says the attack was detected from China's IP; however, "we do not know if this is just an infected host or the original attacker's own machine," he says. While other attackers use GitHub or Pastebin to store component code, Burt notes, they don't typically use both of them.

Gitpaste-12 also has the ability to mine for Monero cryptocurrency, as well as a method to spread itself across different machines.

"The Gitpaste-12 malware also contains a script that launches attacks against other machines, in an attempt to replicate and spread," researchers explain. "It chooses a random/8 CIDR for attack and will try all addresses within that range." Some compromised systems have TCP posts 30004 and 30005 open for shell commands, they add. 

The botnet uses 11 vulnerabilities and a telnet brute-forcer to spread. These known flaws exist in products including Asus routers, the Netlink GPON router, AVTECH IP camera, Huawei router, Apache Struts, and Mongo DB, among others.

"This is a good collection of exploits for IoT devices," Burt says. "It appears attackers spent a lot of effort on this attack."

While the closing of the git repo should stop proliferation of Gitpaste-12, he says the operators could use other hosting or create another account on GitHub or Pastebin in order to bring the botnet back.

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
Edge-DRsplash-10-edge-articles
7 Old IT Things Every New InfoSec Pro Should Know
Joan Goodchild, Staff Editor,  4/20/2021
News
Cloud-Native Businesses Struggle With Security
Robert Lemos, Contributing Writer,  5/6/2021
Commentary
Defending Against Web Scraping Attacks
Rob Simon, Principal Security Consultant at TrustedSec,  5/7/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
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
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
CVE-2021-29040
PUBLISHED: 2021-05-16
The JSON web services in Liferay Portal 7.3.4 and earlier, and Liferay DXP 7.0 before fix pack 97, 7.1 before fix pack 20 and 7.2 before fix pack 10 may provide overly verbose error messages, which allows remote attackers to use the contents of error messages to help launch another, more focused att...
CVE-2021-29041
PUBLISHED: 2021-05-16
Denial-of-service (DoS) vulnerability in the Multi-Factor Authentication module in Liferay DXP 7.3 before fix pack 1 allows remote authenticated attackers to prevent any user from authenticating by (1) enabling Time-based One-time password (TOTP) on behalf of the other user or (2) modifying the othe...
CVE-2021-29047
PUBLISHED: 2021-05-16
The SimpleCaptcha implementation in Liferay Portal 7.3.4, 7.3.5 and Liferay DXP 7.3 before fix pack 1 does not invalidate CAPTCHA answers after it is used, which allows remote attackers to repeatedly perform actions protected by a CAPTCHA challenge by reusing the same CAPTCHA answer.
CVE-2021-22668
PUBLISHED: 2021-05-16
Delta Industrial Automation CNCSoft ScreenEditor Versions 1.01.28 (with ScreenEditor Version 1.01.2) and prior are vulnerable to an out-of-bounds read while processing project files, which may allow an attacker to execute arbitrary code.
CVE-2021-29039
PUBLISHED: 2021-05-16
Cross-site scripting (XSS) vulnerability in the Asset module's categories administration page in Liferay Portal 7.3.4 allows remote attackers to inject arbitrary web script or HTML via the site name.