Skip to main content
Mallory
← Back to News
botnet-infrastructureactively-exploited-vulnerabilityend-of-life-softwareweaponized-exploit-availability

Mirai and Gafgyt Botnets Exploit Apache Struts and SonicWall Flaws

Active Exploitation · 1 source · Updated 3mo ago · First seen Sep 7, 2018

Mirai and Gafgyt Botnets Exploit Apache Struts and SonicWall Flaws

New variants of the Mirai and Gafgyt IoT/Linux botnets were observed expanding from consumer devices to enterprise-facing systems by exploiting known vulnerabilities in Apache Struts and SonicWall Global Management System. Palo Alto Networks Unit 42 reported that a Mirai sample targeted CVE-2017-5638, the remote code execution flaw in Apache Struts tied to the Equifax breach, marking the first known case of Mirai using that exploit in the wild.

A Gafgyt variant was also seen exploiting CVE-2018-9866 in older, unsupported SonicWall GMS versions shortly after a Metasploit module for the bug became public. Researchers linked both malware families through infrastructure involving l[.]ocalhost[.]host and said the Mirai sample carried 16 exploits in total, while the Gafgyt sample included scanning and DDoS capabilities such as Blacknurse, underscoring a broader shift by IoT/Linux botnets toward outdated enterprise targets.

This is being exploited nowSee which actors are running it and whether you're in range.
Check your exposure
Event timeline

How this story unfolded

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

6 events · Nov 2016 – Sep 7, 2018
  1. Sep 7, 20188y ago

    Unit 42 finds Mirai samples with 16 exploits including Apache Struts

    On September 7, 2018, Unit 42 found Mirai samples incorporating exploits for 16 vulnerabilities, including CVE-2017-5638 in Apache Struts. Unit 42 described this as the first known instance of Mirai targeting an Apache Struts vulnerability.

    Multi-exploit IoT/Linux Botnets Mirai and Gafgyt Target Apache Struts, SonicWall
  2. Aug 5, 20188y ago

    Gafgyt samples exploiting SonicWall flaw first surface

    Unit 42 said Gafgyt samples exploiting CVE-2018-9866 first surfaced on August 5, 2018. The malware targeted older SonicWall GMS versions and was hosted on infrastructure later linked to localhost[.]host.

    Multi-exploit IoT/Linux Botnets Mirai and Gafgyt Target Apache Struts, SonicWall
  3. Aug 2018

    localhost[.]host resolves to 185[.]10[.]68[.]127 during August

    During part of August 2018, l[.]ocalhost[.]host resolved to 185[.]10[.]68[.]127. Unit 42 observed that IP hosting Gafgyt samples exploiting the SonicWall GMS vulnerability.

    Multi-exploit IoT/Linux Botnets Mirai and Gafgyt Target Apache Struts, SonicWall
  4. Jul 17, 20188y ago

    SonicWall publishes advisory for CVE-2018-9866

    SonicWall published a public advisory for CVE-2018-9866, a flaw affecting older unsupported Global Management System versions. Unit 42 later tied Gafgyt exploitation activity to this vulnerability.

    Multi-exploit IoT/Linux Botnets Mirai and Gafgyt Target Apache Struts, SonicWall
  5. Sep 2017

    Blacknurse-capable Gafgyt samples seen by Unit 42

    Unit 42 said the earliest samples they had seen supporting Blacknurse dated to September 2017. This established that the DDoS capability later found in the SonicWall-targeting Gafgyt variant had been present in related malware for at least a year.

    Multi-exploit IoT/Linux Botnets Mirai and Gafgyt Target Apache Struts, SonicWall
  6. Nov 2016

    localhost[.]host linked to Mirai activity

    Unit 42 said the domain l[.]ocalhost[.]host had been associated with Mirai activity as far back as November 2016. The same domain later appeared in infrastructure tied to the newly observed Mirai and Gafgyt variants.

    Multi-exploit IoT/Linux Botnets Mirai and Gafgyt Target Apache Struts, SonicWall
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 →

Observables

32 linked

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

Do you run this?Correlate live exploitation activity against the software you actually run, and see where you're exposed.
See Who's Exploiting This
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.