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

04:30 PM
Connect Directly

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
Newest First  |  Oldest First  |  Threaded View
Manchester United Suffers Cyberattack
Dark Reading Staff 11/23/2020
As 'Anywhere Work' Evolves, Security Will Be Key Challenge
Robert Lemos, Contributing Writer,  11/23/2020
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: He hits the gong anytime he sees someone click on an email link.
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
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-11-26
ncsi.c in libslirp through 4.3.1 has a buffer over-read because it tries to read a certain amount of header data even if that exceeds the total packet length.
PUBLISHED: 2020-11-26
slirp.c in libslirp through 4.3.1 has a buffer over-read because it tries to read a certain amount of header data even if that exceeds the total packet length.
PUBLISHED: 2020-11-26
Cloudera Data Engineering (CDE) before 1.1 was vulnerable to a CSRF attack.
PUBLISHED: 2020-11-26
An issue was discovered in BigBlueButton through 2.2.29. A brute-force attack may occur because an unlimited number of codes can be entered for a meeting that is protected by an access code.
PUBLISHED: 2020-11-26
An issue was discovered in BigBlueButton through 2.2.29. When at attacker is able to view an account_activations/edit?token= URI, the attacker can create an approved user account associated with an email address that has an arbitrary domain name.