Kelihos

Category: spam_bot · Aliases: Kelihos, Hlux, Worm:Win32/Kelihos, Bagle.Kelihos, Trojan.Kelihos · Sample count (EMBER 2018): 47 · Enrichment: curated_sourced · Updated: 2026-10-14
Category: Spam_BotStatus: Automated SignaturePlatform: WINDOWS, X86, X64Stage: Initial-Access, Execution, Persistence, Collection, ExfiltrationFirst seen: 2010Actor: Peter Levashov (Severa)Industry: consumers, financial_services, healthcare, telecommunicationsMotivation: Financial Fraud & Spam Distribution🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows 7
Executive Summary
Worm:Win32/Kelihos (also known as Hlux) was a massive, highly resilient peer-to-peer (P2P) botnet that operated from 2010 until its final federal dismantling in April 2017.

Table of Contents

Overview

Worm:Win32/Kelihos (also known as Hlux) was a massive, highly resilient peer-to-peer (P2P) botnet that operated from 2010 until its final federal dismantling in April 2017. Derived architecturally from the Waledac and Storm Worm codebases, Kelihos comprised a decentralized mesh of more than 100,000 compromised personal computers globally. The botnet was operated as an illicit crimeware infrastructure-as-a-service by Russian cybercriminal Peter Yuryevich Levashov (known online as 'Severa' and 'Peter Severa'). Levashov rented out Kelihos' computational power on underground cybercrime forums to execute pump-and-dump penny stock manipulation campaigns, pump hundreds of millions of illicit pharmaceutical spam emails daily, steal online banking and Bitcoin cryptocurrency wallet credentials, and harvest sensitive email contact lists. Kelihos employed a multi-tier P2P communication protocol where worker bots connected to controller nodes via encrypted TCP port 80 and 443 channels, evading centralized domain sinkholing. In April 2017, Spanish National Police arrested Levashov in Barcelona pursuant to a US international red notice. Extradited to the District of Connecticut, Levashov pleaded guilty in federal court to multiple counts of wire fraud, bank fraud, and CFAA computer offenses, while the FBI and Department of Justice executed court-authorized civil warrants to seize and sinkhole the remaining P2P command infrastructure.

Known aliases

Threat reports may refer to this family under multiple names:

Threat Actor Attribution

Attribution is probabilistic, not a science. Each link below states its confidence level and the evidence behind it.

→ Explore all Threat Actor & APT Campaign Profiles

Family Pedigree & Lineage

Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:

Derived From / Upstream Ancestry: Waledac · Storm Worm

Known Derivatives & Downstream Variants: Kelihos V1 (2010) · Kelihos V2 (2012 P2P Mesh) · Kelihos V3 (2013-2017)

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:

→ Explore the complete 226-Technique ATT&CK Threat Matrix

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-FDMFile Data MonitoringDetectT1005Deploy Data Loss Prevention (DLP) agents to audit sensitive file access and block unauthorized batch file copying.
D3-PBAProcess Spawn AnalysisDetectT1059.003Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe.
D3-WAFWeb Content Filtering & InspectionFilterT1071.001Block newly registered domains (NRDs) and inspect HTTP Host and URI headers for known C2 profiles.
D3-EAMEmail Access MonitoringDetectT1114.001Monitor Graph API and MAPI email harvesting routines and alert on bulk email downloads originating from unusual IP addresses.
D3-URLRURL Rewriting & Time-of-Click InspectionFilterT1566.002Rewrite all external email links to force real-time URL reputation and DNS resolution at click time.

Exploited Vulnerabilities (CVEs)

This malware family is documented weaponizing the following common vulnerabilities and exposures:

Command & Control (C2) and Network Profile

How this family talks to its operators. C2 traffic can often identify a family even when its code and configuration are hard to analyse. Ports and patterns are historical and change between campaigns, so use them as hunting leads rather than block-only rules.

ProtocolsP2P, HTTP, TCP
Observed ports80, 8080, 25, 443
Identifiable from traffic aloneHigh

Indicators of Compromise

Public indicators drawn from CISA advisories and vendor reporting. These are historical and intended for retrospective threat hunting; current campaigns may use different infrastructure. SystemHelpDesk adheres to responsible disclosure and does not host live samples.

File hashes (SHA-256, sample)

Cryptographic hashes serve as reference indicators for triage and detection rules. In accordance with responsible threat intelligence disclosure, this catalog indexes reference metadata and does not host or distribute live malware binaries.

Delivery vectors

Persistence mechanisms

SIEM / EDR Ingestion: Need these reference indicators for threat hunting?

Tiered Detection Rules (Cisco CAIRN Model)

Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:

Tier 1 Primitive Artifact Rule (Fast Triage)

Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.

rule MALWARE_WIN_KELIHOS_T1_ARTIFACT {
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Kelihos"
        tier = "T1 - Primitive Artifact"
        confidence = "Low-Medium (Fast Triage)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        $s1 = "kelihos" ascii wide nocase
        $s2 = "kelihos" ascii wide nocase
        $s3 = "hlux" ascii wide nocase
        $s4 = "worm:win32/kelihos" ascii wide nocase
        $s5 = "bagle.kelihos" ascii wide nocase
        $s6 = "trojan.kelihos" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.

title: SystemHelpDesk Detection - Kelihos (Spam Bot) Execution & Triage
id: 7bdc175a-b9f1-5141-a955-2d3eb37a369f
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
  with the Kelihos malware family. Detects suspicious execution from temporary user
  directories with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/kelihos
- https://malware-families-catalog.systemhelpdesk.com/defensive/ransomware-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.spam-bot
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1566_002
- attack.t1114_001
- attack.t1005
- attack.t1071_001
- attack.t1560_001
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \cmd.exe
    - \powershell.exe
    - \cscript.exe
    - \wscript.exe
    CommandLine|contains:
    - AppData\Local\Temp
    - -WindowStyle Hidden
    - /e:jscript
    - bitsadmin /transfer
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium

Tier 3 Attribution Fingerprint Rule (High Fidelity)

Deep signature matching distinctive operational fingerprints and payload characteristics.

rule MALWARE_WIN_KELIHOS_T3_ATTRIBUTION {
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Kelihos tradecraft"
        tier = "T3 - Attribution Fingerprint"
        confidence = "High (Confirmed Family Signature)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        // Core family identifier & heuristic payload signatures
        $attrib_str = "kelihos" ascii wide nocase
        $pe_magic = "MZ" ascii
        $net_marker = "http" ascii nocase
    condition:
        uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

Containment & Response Steps

Home Users: If you suspect a malware infection on your personal device, disconnect from the internet immediately and run a full system scan with your antivirus software (see our TotalAV Antivirus & Security Support Guide). The steps below are intended for IT professionals responding to enterprise incidents.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Isolate infected bot hosts and scan with updated endpoint anti-malware signatures.
  2. Block outbound SMTP (port 25) traffic originating from non-mailserver workstations to curb spam propagation.
  3. Sinkhole communication to known Kelihos P2P controller nodes and IP subnets.
  4. Reset credentials for all email and banking accounts accessed from infected endpoints.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not allow direct outbound port 25 traffic from general employee workstations.
  2. Avoid clicking hyperlinks in unsolicited promotional or stock-recommendation emails.
  3. Do not store unencrypted cryptocurrency private keys or seed phrases in plain text files.

References & External Analysis

Frequently Asked Questions

What was the Kelihos (Hlux) botnet?

Kelihos was a global peer-to-peer botnet comprising over 100,000 infected machines used for massive email spam distribution, credential theft, and cryptocurrency wallet theft.

Who operated the Kelihos botnet?

Kelihos was operated by Russian cybercriminal Peter Yuryevich Levashov ('Severa'), who was arrested by Spanish authorities in Barcelona in 2017 and pleaded guilty in US federal court.

How was Kelihos dismantled by law enforcement?

In April 2017, the FBI, US Department of Justice, and Spanish National Police executed coordinated technical operations to arrest Levashov and redirect Kelihos' P2P network traffic to secure government sinkholes.

What techniques did Kelihos use to propagate?

Kelihos spread through malicious spam emails containing weaponized attachments, malicious URL links, and compromised social media accounts.

What vulnerabilities were targeted by Kelihos?

Kelihos exploit campaigns targeted legacy Microsoft Windows vulnerabilities including CVE-2010-1885 and CVE-2012-0158 to execute arbitrary dropper code.

How do I remove the Kelihos Spam_Bot from Windows?

Manual removal of Kelihos is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

Is Kelihos a virus or a Spam_Bot?

Kelihos is classified as a Spam_Bot. Unlike traditional viruses that infect files, modern malware like Kelihos typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Kelihos infection?

Symptoms of Kelihos can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Protect Your Network Against Spam_Bots

Want to prevent Kelihos and similar threats from compromising your organization? Read our comprehensive defensive guide: Think You've Been Hacked? What To Do First.

📣 Threat Intel Correction or Update?

Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/kelihos.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.