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
Commentary
How SolarWinds Busted Up Our Assumptions About Code Signing
Dr. Jethro Beekman, Technical Director,  3/3/2021
News
'ObliqueRAT' Now Hides Behind Images on Compromised Websites
Jai Vijayan, Contributing Writer,  3/2/2021
News
Attackers Turn Struggling Software Projects Into Trojan Horses
Robert Lemos, Contributing Writer,  2/26/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
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-21510
PUBLISHED: 2021-03-08
Dell iDRAC8 versions prior to 2.75.100.75 contain a host header injection vulnerability. A remote unauthenticated attacker may potentially exploit this vulnerability by injecting arbitrary ‘Host’ header values to poison a web-cache or trigger redirections.
CVE-2020-27575
PUBLISHED: 2021-03-08
Maxum Rumpus 8.2.13 and 8.2.14 is affected by a command injection vulnerability. The web administration contains functionality in which administrators are able to manage users. The edit users form contains a parameter vulnerable to command injection due to insufficient validation.
CVE-2020-27576
PUBLISHED: 2021-03-08
Maxum Rumpus 8.2.13 and 8.2.14 is affected by cross-site scripting (XSS). Users are able to create folders in the web application. The folder name is insufficiently validated resulting in a stored cross-site scripting vulnerability.
CVE-2020-27838
PUBLISHED: 2021-03-08
A flaw was found in keycloak in versions prior to 13.0.0. The client registration endpoint allows fetching information about PUBLIC clients (like client secret) without authentication which could be an issue if the same PUBLIC client changed to CONFIDENTIAL later. The highest threat from this vulner...
CVE-2021-21503
PUBLISHED: 2021-03-08
PowerScale OneFS 8.1.2,8.2.2 and 9.1.0 contains an improper input sanitization issue in a command. The Compadmin user could potentially exploit this vulnerability, leading to potential privileges escalation.