Gandcrab

Category: ransomware · Aliases: GandCrab, GandCrab v1-v5.2, GDCB · Sample count (EMBER 2018): 2,992 · Enrichment: curated_sourced · Updated: 2026-10-14
Category: RansomwareSeverity: CRITICALStatus: Automated SignaturePlatform: WINDOWS_PEStage: Defense Evasion, ImpactFirst seen: 2018Actor: Unknown / CybercriminalIndustry: Healthcare, Critical Infrastructure, EnterpriseMotivation: Financial Extortion🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows Server 2022
Executive Summary
GandCrab is a landmark ransomware family that revolutionized the modern cyber extortion industry by pioneering and popularizing the Ransomware-as-a-Service (RaaS) affiliate model.

Table of Contents

Overview

GandCrab is a landmark ransomware family that revolutionized the modern cyber extortion industry by pioneering and popularizing the Ransomware-as-a-Service (RaaS) affiliate model. First appearing on underground cybercrime forums in January 2018, GandCrab was developed and maintained by an elite cybercrime group known as PINCHY SPIDER. The operators recruited vetted affiliates through Russian-language forums like Exploit.in and XSS, granting them customized builds and management panels in exchange for a 20% to 30% cut of all extorted ransom payments. Between January 2018 and June 2019, GandCrab underwent rapid, aggressive technological iteration spanning versions v1 through v5.2. The ransomware integrated sophisticated anti-analysis techniques, process termination routines targeting database and backup services (`sql.exe`, `oracle.exe`, `vssadmin.exe`), and multi-threaded file encryption using RSA-2048 and Salsa20 cryptographic algorithms. Affiliates distributed GandCrab through an array of exploit kits (Rig, GrandSoft, Fallout), spear-phishing campaigns with malicious Word documents, and brute-force Remote Desktop Protocol (RDP) intrusions. In May 2019, the operators announced their 'retirement' on underground forums, publicly boasting that they had extorted more than $2 billion in ransom payments and laundered their profits into legitimate businesses. However, threat intelligence researchers and law enforcement quickly established that the core PINCHY SPIDER development team did not retire; rather, they restructured their operation to launch REvil (Sodinokibi), utilizing a directly inherited codebase to execute high-profile enterprise big-game hunting.

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:

Known Derivatives & Downstream Variants: Gandcrab V1 · Gandcrab V2 · Gandcrab V3 · Gandcrab V4 · Gandcrab V5.0.4 · Gandcrab V5.2 · Revil (Successor)

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-BDABinary De-obfuscation & UnpackingAnalyzeT1027Utilize memory dump scanners and entropy inspection to unpack encrypted stagers during process creation.
D3-PBAProcess Spawn AnalysisDetectT1059.003Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe.
D3-SDASystem Discovery AnalysisDetectT1082Alert on rapid enumerations of systeminfo, hostname, and registry hardware trees in short intervals.
D3-FAEDFile Alteration Early DetectionDetectT1486Deploy canary files and monitor mass rename/encryption I/O spikes to terminate ransomware threads immediately.
D3-SPPService Protection PoliciesHardenT1489Configure strict DACLs on Windows Service Control Manager to prevent unauthorized termination of antivirus and backup services.
D3-VSSVolume Shadow & Snapshot HardeningHardenT1490Block execution of vssadmin.exe and wmic shadowcopy delete; maintain air-gapped immutable backup repositories.
D3-FSFile Sandboxing (Attachment Detonation)IsolateT1566.001Detonate macro-enabled documents, ISOs, and password-protected archives inside an isolated hypervisor.

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.

ProtocolsHTTP, Tor, DNS
Observed ports80, 443, 9050
Infrastructure modelTor-hosted dedicated negotiation portals and compromised WordPress blogs used to route payment data and host public key verification systems.
Encryption / encodingHybrid cryptographic scheme combining Salsa20 stream encryption for local files with RSA-2048 public key encryption safeguarding the per-session symmetric keys.
Traffic fingerprintOutbound connections to Tor proxy nodes and .onion dark web portals; DNS resolution to dynamic top-level domains (.bit, .top) for affiliate tracking.
Identifiable from traffic aloneHigh

Network detection ideas

Sources: CISA Alert AA21-209A: Ransomware Affiliates (GandCrab & Sodinokibi), Bitdefender / Europol GandCrab Decryptor Initiative

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_GANDCRAB_T1_ARTIFACT {
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Gandcrab"
        tier = "T1 - Primitive Artifact"
        confidence = "Low-Medium (Fast Triage)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        $s1 = "gandcrab" ascii wide nocase
        $s2 = "gandcrab" ascii wide nocase
        $s3 = "gandcrab v1-v5.2" ascii wide nocase
        $s4 = "gdcb" 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 - Gandcrab (Ransomware) Execution & Triage
id: 53ece1ba-744d-5ec9-bd69-bccbc38a77c4
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
  with the Gandcrab malware family. Detects volume shadow copy deletion, boot status
  tampering, and recovery inhibition characteristic of modern ransomware operations.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/gandcrab
- 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.ransomware
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1486
- attack.t1489
- attack.t1490
- attack.t1082
- attack.t1059_003
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \vssadmin.exe
    - \wmic.exe
    - \wbadmin.exe
    - \bcdedit.exe
    CommandLine|contains:
    - delete shadows
    - shadowcopy delete
    - resize shadowstorage
    - recoveryenabled no
    - ignoreallfailures
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: critical

Tier 3 Attribution Fingerprint Rule (High Fidelity)

Deep signature matching distinctive operational fingerprints and payload characteristics.

rule MALWARE_WIN_GANDCRAB_T3_ATTRIBUTION {
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Gandcrab 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 = "gandcrab" 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. Disconnect infected devices from the network immediately to prevent lateral spread and network share encryption.
  2. Verify what version of GandCrab infected the host (versions v1, v4, and v5.0.4-v5.1 have free decryptors available through No More Ransom).
  3. Preserve encrypted files and ransom notes for key validation against available law enforcement decryptor keys.
  4. Inspect exposed RDP ports and enforce multi-factor authentication across all external access points.
  5. Restore systems from verified offline, immutable backups.

What to Avoid

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

  1. Do not pay ransom demands without checking the No More Ransom portal first, as multiple versions have public decryptors.
  2. Do not allow RDP services to remain exposed directly to the public internet without a VPN and MFA.

References & External Analysis

North American Authority Advisory (CISA / NIST)

The Cybersecurity and Infrastructure Security Agency (CISA) has published an official US federal advisory on this family, which can be mapped to NIST Cybersecurity Framework (CSF) incident response controls: CISA Alert AA21-209A (Ransomware Affiliates: From GandCrab to Sodinokibi) ↗

Frequently Asked Questions

What was GandCrab?

GandCrab was a dominant Ransomware-as-a-Service (RaaS) operation active between 2018 and 2019 that claimed over $2 billion in extortion payouts before evolving into REvil (Sodinokibi).

Who operated GandCrab?

GandCrab was developed and managed by the Russian-speaking cybercrime group PINCHY SPIDER, who recruited affiliates on dark web forums.

Are there free decryptors for GandCrab?

Yes. A joint effort between Bitdefender, Europol, the FBI, and Romanian Police released free decryptors for GandCrab versions 1, 4, 5, and 5.0.4 through 5.1 on the No More Ransom website.

What was the connection between GandCrab and REvil?

When GandCrab operators announced their retirement in May 2019, they immediately reorganized and launched REvil (Sodinokibi), sharing substantial code, affiliate networks, and operational infrastructure.

How did GandCrab gain initial access to networks?

GandCrab gained access primarily through spear-phishing emails, exploit kits (Rig and Fallout), and brute-forced Remote Desktop Protocol (RDP) credentials.

How do I remove Gandcrab from Windows?

Manual removal of Gandcrab 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.

What are the main symptoms of a Gandcrab infection?

Symptoms of Gandcrab 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 Ransomwares

Want to prevent Gandcrab and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Containment & Incident Response.

📣 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/gandcrab.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.