Gamarue

Category: loader · Aliases: Worm.Gamarue, Botnet.Andromeda, Win32/Gamarue · Sample count (EMBER 2018): 2,789 · Enrichment: curated_sourced · Updated: 2026-07-02T09:01:15Z

Overview

Executive Summary

Gamarue (also widely known as Andromeda) is a notorious, highly modular worm and botnet client. First detected around 2011, it was historically one of the most widespread malware families in the world, primarily sold as a Malware-as-a-Service (MaaS) kit on underground forums. While a massive international law enforcement operation dismantled the primary Andromeda botnet in 2017, legacy infections and new variants utilizing the leaked source code still pose a significant threat. Its primary function is to establish a persistent backdoor and download secondary payloads (like keyloggers or ransomware).

Infection Vector and Technical Capabilities

Gamarue spreads via multiple vectors, making it highly contagious. Historically, it spread aggressively via infected removable drives (USB worms), but it is also heavily distributed via exploit kits (drive-by downloads) and malicious spam attachments. Its technical capabilities are focused on stealth and modular expansion:

Threat Assessment

A Gamarue infection is a critical incident. The presence of the worm indicates a complete compromise of the endpoint. Because it is a modular loader, the machine is highly likely to be infected with numerous other, more destructive malware payloads downloaded by the botnet.

Incident Response and Remediation

Known aliases

Threat reports may refer to this family under multiple names:

MITRE ATT&CK Techniques

This family has been observed using the following ATT&CK techniques: T1091 T1055 T1056.001

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_GAMARUE {
    meta:
        description = "Detects Gamarue (loader)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "gamarue" ascii wide nocase
        $s2 = "worm.gamarue" ascii wide nocase
        $s3 = "botnet.andromeda" ascii wide nocase
        $s4 = "win32/gamarue" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Gamarue Activity
id: b577e69d8a2a96828e9dee13345c3a5e
status: experimental
description: Detects generic indicators of the gamarue malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*gamarue*"
            - "*worm.gamarue*"
            - "*botnet.andromeda*"
            - "*win32/gamarue*"
    condition: selection
level: medium

References & External Analysis

Frequently Asked Questions

What is Gamarue/ANDROMEDA?

Commodity modular loader malware, widespread in the early 2010s, used to distribute other malware families.

Is ANDROMEDA still seen today?

Yes; MITRE notes continued observations, including a 2022 campaign where expired C2 domains were re-registered to target victims in Ukraine.

How did Gamarue spread?

Through removable drives, spam, and exploit kits.

What does ANDROMEDA do?

It acts as a loader, installing additional malware on infected machines.

Where is the authoritative reference?

MITRE ATT&CK's ANDROMEDA entry (S1074), linked on this page.

Related Families (Category: loader)

Explore other malware families in the same category:

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

Machine-readable

Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/gamarue.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, Replit, StackBlitz, CodeSandbox, and CodePen.