Monday, April 28, 2025
HomeCyber Security NewsGitpaste-12 Malware via GitHub and Pastebin Attacks Linux Servers and IoT Devices

Gitpaste-12 Malware via GitHub and Pastebin Attacks Linux Servers and IoT Devices

Published on

SIEM as a Service

Follow Us on Google News

Gitpaste-12 is a new worm that uses GitHub and Pastebin for housing component code and has atleast 12 different attack modules available. This has been discovered by the Juniper Threat Labs.

Technically, a worm is a type of malware that spreads copies of itself from computer to computer.

A worm can replicate itself without any human interaction, and it does not need to attach itself to a software program in order to cause damage.

- Advertisement - Google News

Many interesting worm attacks are described inGbhackers.Gitpaste-12 acts an important worm with many features.

Target machines and versions

The targets of Gitpaste-12 are Linux based x86 servers, as well as Linux ARM and MIPS based IoT devices.

The GitHub repository used is: https://github[.]com/cnmnmsl-001/-

Below screenshot for reference:

Working of Gitpaster-12

We can split the working model of Gitpaster-12 into two phases.

Starting with the first phase, where it does the initial system compromise here. The worm will attempt to use known exploits to compromise systems and may also attempt to brute force passwords.

Right after compromising a system, the malware sets up a cron job to download from Pastebin, which in turn calls the same script and executes it again each and everyminute. Using this, the updates are sent viacron jobs to the botnet.

In the second phase,  the following GitHub file is (https://raw.githubusercontent[.]com/cnmnmsl-001/-/master/shadu1) and starts to execute it.

What does the malware do?

  • The malware prepares the environment bycleaning the system off its defense, like firewall rules, selinux, apparmor, cloud security agents and the other attack prevention and monitoring softwares.

Also the shadu1 script contains comments in the Chinese language and has multiple commands available to attackers to disable different security capabilities

  • Just like all other worms, Gitpaster-12 does has the ability to run miner for monero cryptocurrency

Ability of the Worm

A script runs on the Gitpaste-12 malware, whichwill attackother machines, just to replicate and spread in an automated fashion, solving the purpose of being a Worm. This chooses a random /8 CIDR for attack and will try all addresses within that range

Gitpaste-12 Exploits

There are 11 vulnerabilities used by Gitpaste-12 along with a telnet brute forcer to spread.

The known vulnerabilities are listed below:

CVE-2017-14135Webadmin plugin for opendreambox
CVE-2020-24217HiSilicon based IPTV/H.264/H.265 video encoders
CVE-2017-5638Apache Struts
CVE-2020-10987Tenda router
CVE-2014-8361Miniigd SOAP service in Realtek SDK
CVE-2020-15893UPnP in dlink routers
CVE-2013-5948Asus routers
EDB-ID: 48225Netlink GPON Router
EDB-ID: 40500AVTECH IP Camera
CVE-2019-10758Mongo db
CVE-2017-17215(Huawei router)

As a result, it is recommended to follow all the best security practices to keep away from Worm which is worser than a malware, thereby you can save the reputation of you, your network and your organisation.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity and hacking news updates.

Also Read

QBot Trojan Attacks Victims with Malicious Election Interference Attachments

Fake COVID-19 Test Results Drop King Engine Ransomware

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

How To Use Digital Forensics To Strengthen Your Organization’s Cybersecurity Posture

Digital forensics has become a cornerstone of modern cybersecurity strategies, moving beyond its traditional...

Building A Strong Compliance Framework: A CISO’s Guide To Meeting Regulatory Requirements

In the current digital landscape, Chief Information Security Officers (CISOs) are under mounting pressure...

Two Systemic Jailbreaks Uncovered, Exposing Widespread Vulnerabilities in Generative AI Models

Two significant security vulnerabilities in generative AI systems have been discovered, allowing attackers to...

New AI-Generated ‘TikDocs’ Exploits Trust in the Medical Profession to Drive Sales

AI-generated medical scams across TikTok and Instagram, where deepfake avatars pose as healthcare professionals...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

How To Use Digital Forensics To Strengthen Your Organization’s Cybersecurity Posture

Digital forensics has become a cornerstone of modern cybersecurity strategies, moving beyond its traditional...

Building A Strong Compliance Framework: A CISO’s Guide To Meeting Regulatory Requirements

In the current digital landscape, Chief Information Security Officers (CISOs) are under mounting pressure...

Two Systemic Jailbreaks Uncovered, Exposing Widespread Vulnerabilities in Generative AI Models

Two significant security vulnerabilities in generative AI systems have been discovered, allowing attackers to...