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
Look Beyond the 'Big 5' in Cyberattacks
Robert Lemos, Contributing Writer,  11/25/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: I think the boss is bing watching '70s TV shows again!
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
CVE-2020-26250
PUBLISHED: 2020-12-01
OAuthenticator is an OAuth login mechanism for JupyterHub. In oauthenticator from version 0.12.0 and before 0.12.2, the deprecated (in jupyterhub 1.2) configuration `Authenticator.whitelist`, which should be transparently mapped to `Authenticator.allowed_users` with a warning, is instead ignored by ...
CVE-2020-28576
PUBLISHED: 2020-12-01
An improper access control information disclosure vulnerability in Trend Micro Apex One and OfficeScan XG SP1 could allow an unauthenticated user to connect to the product server and reveal version and build information.
CVE-2020-28577
PUBLISHED: 2020-12-01
An improper access control information disclosure vulnerability in Trend Micro Apex One and OfficeScan XG SP1 could allow an unauthenticated user to connect to the product server and reveal server hostname and db names.
CVE-2020-28582
PUBLISHED: 2020-12-01
An improper access control information disclosure vulnerability in Trend Micro Apex One and OfficeScan XG SP1 could allow an unauthenticated user to connect to the product server and reveal number of managed agents.
CVE-2020-28583
PUBLISHED: 2020-12-01
An improper access control information disclosure vulnerability in Trend Micro Apex One and OfficeScan XG SP1 could allow an unauthenticated user to connect to the product server and reveal version, build and patch information.