Hermes
Overview
Ransom:Win32/Hermes is a highly significant ransomware family in cybersecurity history. First appearing around 2017, Hermes gained international infamy when it was utilized by the North Korean state-sponsored threat group **Lazarus Group** as a distraction payload during the $60 million cyber-heist against the Far Eastern International Bank (FEIB) in Taiwan. Crucially, the source code and cryptographic logic of Hermes form the direct foundation of the devastating **Ryuk** ransomware, one of the most successful 'Big Game Hunting' ransomware families in existence.
Understanding the Hermes Threat
To an infected user, the outcome is catastrophic: documents, databases, and critical files are suddenly encrypted, their filenames appended with `.hermes` (or similar extensions). A ransom note (usually a `UNIQUE_ID_DO_NOT_REMOVE.html`) demands cryptocurrency. For a security operations center (SOC), a Hermes detonation represents the final stage of a highly targeted, prolonged network compromise, often indicating the presence of advanced persistent threat (APT) actors.
Execution and Encryption Mechanics
Hermes is rarely distributed via mass spam. It is deployed manually by attackers after gaining deep network access (often via compromised RDP or VPNs) (`T1133`). Once deployed via PsExec or batch scripts (`T1569.002`), the ransomware first executes a `.bat` script containing commands (like `vssadmin.exe Delete Shadows /All /Quiet`) to destroy Windows Volume Shadow Copies (`T1490`). It then rapidly encrypts targeted files (`T1486`) using a combination of RSA-2048 and AES-256 cryptography. A unique characteristic of Hermes (inherited by Ryuk) is its ability to bypass files related to the operating system boot process to ensure the victim can still boot the computer to read the ransom note.
Indicators of Compromise & Impact
The impact is severe operational downtime and potential permanent data loss. The primary IoC is the massive, rapid modification of files across the hard drive and network shares, appending the `.hermes` extension. Host-based IoCs include EDR alerts for the mass deletion of shadow copies and the execution of specific batch files used to launch the encryptor. Because it is associated with APT activity, discovering Hermes means the entire network architecture is likely compromised.
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
| Technique | Name | Tactic |
|---|---|---|
T1486 | Data Encrypted for Impact (RSA/AES encryption) | Impact |
T1490 | Inhibit System Recovery (Deleting Volume Shadow Copies via batch scripts) | Impact |
T1569.002 | System Services: Service Execution (Deploying via PsExec) | Execution |
T1133 | External Remote Services (Initial access vector, e.g., RDP) | Initial Access |
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_HERMES {
meta:
description = "Detects Hermes (ransomware)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "hermes" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Hermes Activity
id: b33a4006134bb6ee62b30fc0fac5cec6
status: experimental
description: Detects generic indicators of the hermes malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*hermes*"
condition: selection
level: mediumContainment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Instantly isolate the infected endpoint from the network to halt the encryption process, explicitly disconnecting it from mapped network shares.
- Do NOT reboot the machine immediately; capture a live memory dump (RAM) first, as forensic analysis may recover the AES key from memory.
- Assume total network compromise. The deployment of Hermes/Ryuk indicates attackers have had domain admin access for days or weeks.
- Wipe the infected systems and restore data from secure, immutable offline backups.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not pay the ransom. Paying funds criminal enterprises (and potentially state-sponsored actors), and there is no guarantee the attackers will provide a working decryption tool.
- Avoid reconnecting the machine to the network until a full forensic investigation has identified and closed the initial entry vector (e.g., compromised VPN credentials).
References & External Analysis
- Search "hermes" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Hermes Ransomware from Windows?
Manual removal of Hermes 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 Hermes a virus or a Ransomware?
Hermes is classified as a Ransomware. Unlike traditional viruses that infect files, modern malware like Hermes typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Hermes infection?
Symptoms of Hermes 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: ransomware)
Explore other malware families in the same category:
Protect Your Network Against Ransomwares
Want to prevent Hermes and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Protection Guide.
Machine-readable
Get this profile as JSON: https://jordan123234-malware-families-explorer.static.hf.space/api/hermes.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.