Elknot
- Type
- Botnet
- Capabilities
- DDOSPersistenceDefense evasionReconnaissancePost exploitation
- Delivery
- Exploit kit
- Platforms
- LinuxWindows
Elknot is a long-running, C++-based DDoS botnet malware family associated with the names Mayday, BillGates, and Setag. Early versions are commonly called Elknot or Mayday, while a later major version is known as BillGates. The family primarily targets x86 and x86-64 systems, with variants supporting Linux, Windows, and FreeBSD.
Elknot supports HTTP, TCP, SYN, UDP, and ICMP floods, as well as DNS flooding, DNS amplification, and randomized-subdomain DNS attacks. Its command-and-control protocol allows operators to start and stop attacks, change configuration, update modules, and execute shell commands. Registration messages report host characteristics, including operating system, processor details, and memory capacity. Variants protect embedded configuration with RSA or XOR-like encryption. Setag variants establish startup persistence and replace system utilities with copies of the malware while retaining the original utilities elsewhere.
Observed infection vectors include SSH, MySQL, and Elasticsearch services. Later campaigns exploited Log4j remote-code-execution vulnerabilities to deploy Linux and Windows variants. Elknot-associated droppers have also been used to deliver the separate Chalubo botnet family. Elknot/BillGates has been operated through numerous independent command-and-control servers against geographically distributed victims, with substantial activity affecting China and the United States. Its infrastructure was linked to attacks against 12 DNS root name servers in November and December 2015.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
ChinaZ gang is back to shellshock drops Elknot abuses USA networks
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Mirai, Muhstik, Elknot, mining, and other malware families were observed "propagating through Log4j2 RCE vulnerability" and targeting exposed services including Apache Flink on port 8081 and Apache Solr on port 8983.
Execution
1 technique
Execution
Its infection vector starts with SSH brute force attacks for the sake of running an installation script under the root user.
Stealth
1 technique
Stealth
The C&C communication is encrypted in both directions with the same hard-coded XOR key (BB2FA36AAA9541F0) – which inspired the trojan’s name.
Credential Access
1 technique
Credential Access
Infection vector ... ssh (22) 1484 URLs 1333 samples
Command and Control
4 techniques
Command and Control
2 configuration encryption schemes have been found – RSA encryption – XOR like encryption
The bot then establishes communication with its C&C server. The initial packet contains the memory and CPU statistics of the compromised machine.
Elknot samples share C2 "300gsyn.it:25009," while SitesLoader specifies a Google Sites URL as C2 and multiple payloads use HTTP-based URLs for retrieval.
SitesLoader downloads a stage-two ELF file; the XMRig Windows command uses WebClient.DownloadFile to retrieve xmrig.exe; and the Linux variant downloads xmrig.tar.gz plus a setup shell script.
Impact
4 techniques
Impact
Muhstik is characterized as "DDoS+backdoor," and Elknot/BillGates is described as a long-active DDoS botnet targeting Linux and Windows systems.
Observed types of attacks include volumetric SYN_Flood and DNS_Flood.
Attack methods ... CAttackAmp DNS amplification attack
Attack methods ... CAttackCc HTTP flood attack ... CAttackTns To attack TCP-based DNS
Observables
17 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.