Kelihos
Overview
Worm:Win32/Kelihos (also known as Hlux) is a massive, highly resilient peer-to-peer (P2P) botnet that emerged around 2010. It is infamous for its aggressive spam campaigns, credential theft, and its ability to rapidly recover from numerous high-profile takedown attempts by law enforcement and security researchers.
Understanding Kelihos (Hlux)
To the end-user, a Kelihos infection might be invisible, or it might result in performance issues as the machine blasts out thousands of spam emails. For threat intelligence analysts, Kelihos is a masterclass in botnet resilience. Unlike traditional botnets that rely on centralized Command and Control (C2) servers (a single point of failure), Kelihos utilizes a decentralized P2P architecture. Every infected machine acts as a node, capable of sharing instructions and updates with other infected machines, making it incredibly difficult to decapitate.
Execution and Evasion Strategies
Kelihos is primarily distributed via massive spam campaigns containing malicious links or attachments. Upon execution, the malware establishes persistence via the Registry Run keys. It communicates over custom UDP and TCP protocols to discover other peers in the botnet. The botnet is highly modular; the controllers can push updates to turn nodes into spam relays (advertising pharmaceuticals or pump-and-dump stocks), proxy servers (`T1090`), or credential harvesters. It actively intercepts network traffic (`T1056.004`) to steal FTP, email, and browser passwords. It also utilizes fast-flux DNS to hide its few centralized routing nodes.
Indicators of Compromise & Impact
The impact is a hijacked endpoint contributing to global cybercrime infrastructure. EDR platforms will flag the malware injecting into system processes (`svchost.exe`) to mask its network activity (`T1055`). Network logs will reveal massive spikes in outbound SMTP (TCP 25) traffic or constant, encrypted UDP communication with a rotating list of seemingly random IP addresses (P2P traffic).
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.004: Monitor for unauthorized keylogging, screen capturing, or web browser API hooking. Deploy EDR to detect API hooking.
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_KELIHOS {
meta:
description = "Detects Kelihos (spam_bot)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "kelihos" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Kelihos Activity
id: 4846a0e2969540f259be0beaa8c18f30
status: experimental
description: Detects generic indicators of the kelihos malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*kelihos*"
condition: selection
level: mediumContainment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Quarantine the endpoint immediately to halt its participation in massive outbound spam campaigns or its use as a malicious proxy.
- Enforce strict egress firewall rules, particularly focusing on blocking the unauthorized UDP ports utilized by the P2P communication protocol.
- Capture a forensic memory image to analyze the active Kelihos payload and identify the IP addresses of the peer nodes it is communicating with.
- Assume all locally saved credentials have been harvested; initiate mandatory password resets for the compromised user.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not ignore the infection as a 'minor spam issue'; the botnet controllers have full remote code execution capabilities on the endpoint.
- Avoid relying solely on static IP blacklists for defense; Kelihos's P2P architecture and fast-flux DNS render them largely ineffective.
References & External Analysis
- Search "kelihos" on VirusTotal (External Analysis)
Frequently Asked Questions
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.
Related Families (Category: spam_bot)
Explore other malware families in the same category:
Protect Your Network Against Spam_Bots
Want to prevent Kelihos and similar threats from compromising your organization? Read our comprehensive defensive guide: Suspect an Infection? What to do.
Machine-readable
Get this profile as JSON: https://jordan123234-malware-families-explorer.static.hf.space/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.