Skip to main content
Mallory
← Back to News
botnet-infrastructureembedded-device-vulnerabilityloader-delivery-mechanismdefense-evasion-method

Gafgyt/Bashlite Variants Reuse Mirai Code to Expand IoT DDoS Botnets

Malware Intelligence · 5 sources · Updated 3mo ago · First seen Aug 14, 2026

Gafgyt/Bashlite Variants Reuse Mirai Code to Expand IoT DDoS Botnets

Researchers reported that multiple Gafgyt/Bashlite variants targeting IoT devices are reusing leaked Mirai source code while continuing to evolve their infection and attack capabilities. Analyses found shared modules for HTTP, UDP, and TCP flooding, a telnet brute-force scanner, and other botnet functions, alongside exploitation of known router flaws including CVE-2017-17215, CVE-2014-8361, and CVE-2018-10561. Separate reporting also described campaigns abusing exposed SSH, Telnet, and WeMo UPnP services to drop first-stage shell scripts and architecture-specific ELF payloads that conscript devices into distributed denial-of-service operations.

Recent samples show operators tailoring payloads for stealth and persistence after compromise. One analyzed ELF binary, packed with UPX and masquerading as /usr/bin/apt, was observed beaconing to 45.61.186.4:13561, killing rival malware, flushing iptables, stopping local firewall services, clearing shell history, and altering DNS settings before accepting commands for TCP, UDP, GRE, ICMP, HTTP, and game-server-focused floods. Other reports noted process renaming, heavy forking, changing filenames and infrastructure, and added backdoor or cryptomining functions, indicating that Gafgyt operators are using modular, frequently modified malware to evade detection and sustain IoT-focused DDoS campaigns.

Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

10 events · 2014 – Sep 2022
  1. Reported Nov 2, 20224y ago

    Nozomi analyzes tailored and downgraded Gafgyt variants

    Nozomi Networks documented Gafgyt variants ranging from feature-rich to lightweight samples, indicating campaign-specific tailoring or modular malware capabilities. The analysis described brute-force initial access, staged payload delivery, DDoS functions, and evasion features such as process renaming and forking.

    Are Threat Actors Downgrading Their Malware to Evade Detection?
  2. Sep 2022

    Nozomi honeypots capture abused IoT credentials

    In late September 2022, Nozomi Networks honeypots captured commonly abused default SSH and Telnet credentials such as admin:admin and root:root used in Gafgyt-related intrusion attempts.

    Are Threat Actors Downgrading Their Malware to Evade Detection?
  3. Aug 27, 20215y ago

    CUJO AI observes Korpze1233121337 Gafgyt/Mirai fork

    On 2021-08-27, investigators found an IoT device accessing a malicious sample from a campaign tagged Korpze1233121337. CUJO AI analyzed the Gafgyt/Mirai-style fork and reported two newly observed DDoS modules, attacks_vector_openvpn_swak and attacks_vector_wabba_jack, along with Telnet-based propagation and C2 infrastructure at 103.161.17.233.

    Threat Alert: Mirai/Gafgyt Fork with New DDoS Modules Discovered - CUJO AI
  4. Reported Apr 15, 20216y ago

    Uptycs finds Gafgyt variants exploiting router CVEs

    Uptycs reported that some Gafgyt variants embedded exploits for CVE-2017-17215, CVE-2014-8361, and CVE-2018-10561 to compromise Huawei, Realtek, and GPON routers and fetch additional payloads.

    Mirai Code Re-use in Gafgyt
  5. Reported Apr 15, 20216y ago

    Uptycs identifies Mirai code reuse in Gafgyt variants

    Uptycs threat researchers detected several Gafgyt variants that reused Mirai botnet modules including HTTP, UDP, TCP, STD, and telnet brute-force functionality. The analysis reinforced Gafgyt's role as an IoT-focused DDoS botnet.

    Mirai Code Re-use in Gafgyt
  6. Reported Apr 3, 20198y ago

    Trend Micro discloses Bashlite findings and Belkin responds

    Trend Micro disclosed its findings on the updated Bashlite campaign to Belkin. Belkin responded by urging customers to update their devices and mobile apps to obtain the latest security fixes.

    Bashlite Updated with Mining and Backdoor Commands | Trend Micro (US)
  7. Reported Apr 3, 20198y ago

    Trend Micro observes updated Bashlite detections

    Trend Micro observed detections of updated Bashlite variants on March 21 across Taiwan, the United States, Thailand, Malaysia, Japan, and Canada. The campaign targeted devices exposing the WeMo UPnP API and added mining, backdoor, and bot-killing capabilities.

    Bashlite Updated with Mining and Backdoor Commands | Trend Micro (US)
  8. 2015

    Belkin remediates WeMo vulnerability

    Belkin said the WeMo vulnerability discussed in Trend Micro's analysis had been detected and remediated for all affected devices in 2015.

    Bashlite Updated with Mining and Backdoor Commands | Trend Micro (US)
  9. 2014

    Bashlite conducts large-scale DDoS attacks

    Trend Micro noted that Bashlite, also known as Gafgyt, was previously known for large-scale distributed denial-of-service attacks in 2014.

    Bashlite Updated with Mining and Backdoor Commands | Trend Micro (US)
  10. Date unknown

    SecurityScorecard analyzes Mirai-derived Gafgyt sample

    SecurityScorecard analyzed a recently compiled, UPX-packed Gafgyt ELF sample that disguised itself as /usr/bin/apt, killed suspected Mirai processes, disabled local defenses, and connected to command-and-control server 45.61.186.4:13561.

    Securityscorecard
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Observables

64 linked

Indicator values are masked on this page. View all 64 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.