Hermes
- Type
- Ransomware
- Capabilities
- ExtortionPersistenceDefense evasion
- Delivery
- Exploit kitDrive by
- Platforms
- Windows
Hermes is a Windows ransomware family first observed in February 2017. It encrypts files on local drives and accessible network resources using AES-256, with RSA protecting the per-file encryption keys. Hermes 2.1 generates a victim-specific RSA key pair and appends an encryption marker and protected key material to encrypted files without changing their names. It leaves ransom instructions and deletes volume shadow copies and backup files to impede recovery.
Hermes 2.1 establishes persistence through the Windows Startup mechanism, relocates and relaunches itself, and deletes its original executable. It repeatedly requests administrative execution of supporting scripts but can continue encrypting files without approval. This version exits on systems configured for Russian, Belarusian, or Ukrainian languages and excludes selected system and application directories from encryption.
Hermes has been delivered by Azorult and through the GreenFlash Sundown exploit kit. A campaign targeting South Korean users exploited Adobe Flash Player vulnerability CVE-2018-4878 through compromised websites to deliver Hermes 2.1. APT38 has used Hermes for file encryption, and Lazarus-linked operations have deployed it after financial intrusions to obstruct investigation, including the 2017 Far Eastern International Bank attack in Taiwan. Hermes was also sold in underground markets, and its codebase was adapted into Ryuk; this code relationship does not establish common operators or developers.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Malware associated with BlueNorOff include: "...Dyepack, Hermes, Twopence, Electricfish..."
GreenFlash Sundown had started to use this recent Flash zero-day to distribute the Hermes ransomware. The payload from this attack is Hermes ransomware, version 2.1.
Curiously, our research lead us to connect the nature of Ryuk’s campaign and some of its inner-workings to the HERMES ransomware, a malware commonly attributed to the notorious North Korean APT Lazarus Group.
Techniques & procedures
46 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
6 techniques
Reconnaissance
Some endpoints were unauthenticated, allowing the system to retrieve employee information, including names, departments, and SSO account identifiers.
This enabled the agents to map 21 connected government systems, including single sign-on infrastructure.
“The attacker used a website traffic-ranking service to find valuable targets in the list Strix produced and prioritized those running custom software.”
The framework used Hermes and OpenClaw, deploying up to 8 sub-agents in parallel to perform reconnaissance, credential attacks, API testing, data collection, and lateral movement. | Researchers found evidence that the agents discovered hidden API endpoints on a government web application that returned valid authenticated sessions without requiring credentials.
These agents mapped 21 government systems, researched vulnerabilities, adapted tactics whenever blocked, and moved through the network with minimal human steering.
These are autonomous sessions where the models search vulnerability databases, GitHub repositories, and other security research for specific techniques, CVEs, and common weaknesses to exploit in the targeted government's infrastructure.
Initial Access
3 techniques
Initial Access
A human operator pasted 301 results into the console, but also handpicked at least two targets for which they already had an administrator password.
AI agents can rapidly chain multiple attack methods and use secondary systems — such as backup or testing environments — as springboards
The generated reports were then handed to the autonomous penetration testing engine Cairn, which was used to launch 105 attack projects... Each attack path was chosen by the harness in real time through extensive probing and exploitation attempts.
Execution
3 techniques
Execution
А иногда атакующий менял конфигурацию развертываний Kubernetes и создавал cron-задачи, которые восстанавливали веб-скиммер после удаления.
The attackers enabled the software's so-called "YOLO mode," allowing it to execute commands without waiting for human approval.
Hermes ransomware distributed to South Koreans via recent Flash zero-day
Persistence
4 techniques
Persistence
А иногда атакующий менял конфигурацию развертываний Kubernetes и создавал cron-задачи, которые восстанавливали веб-скиммер после удаления.
A human operator pasted 301 results into the console, but also handpicked at least two targets for which they already had an administrator password.
AI agents can rapidly chain multiple attack methods and use secondary systems — such as backup or testing environments — as springboards
The agent used an SQL injection to obtain a plaintext one-time password, access a web panel, upload a web shell...
Privilege Escalation
4 techniques
Privilege Escalation
А иногда атакующий менял конфигурацию развертываний Kubernetes и создавал cron-задачи, которые восстанавливали веб-скиммер после удаления.
What once required teams of skilled operators working in shifts can now be orchestrated by software that maps networks, steals credentials, discovers flaws, and pivots in real time.
A human operator pasted 301 results into the console, but also handpicked at least two targets for which they already had an administrator password.
The agent ... upload[ed] a web shell, escalate[d] privileges through a misconfigured sudo rule, and access[ed] AWS credentials.
Stealth
4 techniques
Stealth
Once the theft is complete, they will try to destroy all evidence by deploying crimeware ransomware or wipers.
The cybersecurity firm also identified a Hermes agent skill designed to delete the stolen card data from the victim’s Magento database. Additionally, the agent deleted a bicycle retailer’s backup tables after being instructed to erase staging tables created within the database.
A human operator pasted 301 results into the console, but also handpicked at least two targets for which they already had an administrator password.
attackers used standard social engineering tactics to bypass the guardrails of unidentified frontier models to create a penetration testing framework to attack a government agency
Defense Impairment
1 technique
Defense Impairment
В разных случаях злоумышленник... модифицировал содержимое S3 и CDN, серверный кеш и поля БД.
Credential Access
5 techniques
Credential Access
ИИ-агенты внедряли на сайты магазинов веб-скиммеры... добавлял вредоносный код в легитимные JavaScript-файлы и на страницы оплаты, встраивал его в блоки Google Tag.
The framework also conducted automated password spraying against an office automation portal. It used employee usernames collected from exposed APIs and solved CAPTCHA images with OCR. By testing predictable password patterns, the agents cracked 85 accounts across several rounds.
Session cookies : PHPSESSID, XSRF-TOKEN, session Laravel du panneau admin ICT du MOF
Using employee usernames harvested from an unauthenticated API, the agents broke into a government department’s office automation portal, solving its CAPTCHAs with 100 percent accuracy.
A government API reportedly accepted tokens with the none algorithm, allowing attackers to forge authentication tokens without access to a signing key.
Discovery
8 techniques
Discovery
Five recovered Hermes call logs show the agent was used to find a way to elevate privileges, scan for kernel vulnerabilities, enumerate services...
The researchers say the attackers assembled an autonomous hacking platform using open-source AI-agent frameworks, enabling multiple agents to simultaneously map networks, research vulnerabilities, attempt intrusions, and adapt tactics when an attack path failed.
Five recovered Hermes call logs show the agent was used to... search for SUID and SGID binaries...
Threat actors used it to perform system enumeration, escalate privileges, discover files and services, and conduct network reconnaissance.
Threat actors used it to perform system enumeration, escalate privileges, discover files and services, and conduct network reconnaissance.
Additional logs indicate the operator instructed the agent to enumerate a content directory containing PDF, DOC, XLS files, and personnel records associated with the Office of Permanent Secretary for Finance.
It extracted API endpoints, OAuth client IDs, Keycloak configuration data, and authentication details.
Five recovered Hermes call logs show the agent was used to... inspect containers...
Lateral Movement
1 technique
Lateral Movement
And then, the agents pivoted to the Taiwanese government’s supply chain.
Collection
4 techniques
Collection
ИИ-агенты внедряли на сайты магазинов веб-скиммеры... добавлял вредоносный код в легитимные JavaScript-файлы и на страницы оплаты, встраивал его в блоки Google Tag.
The platform continuously assessed available evidence, ranked possible attack paths, and reprioritized them as circumstances changed.
После кражи и скачивания данных банковских карт агент должен был удалить их из базы Magento.
Hermes изучил веб-каталог центрального аппарата Минфина и составил список PDF-, DOC- и XLS-файлов
Command and Control
5 techniques
Command and Control
The agents are bridged to Telegram so the operator can task them from a phone and collect results in a group chat.
155.254.22.215 Staging and command server, AI console... 213.21.239.62 C2.
They then pasted 301 results into the console with a message that ended with 跑这些 用代理 只扫高危 (“run these, use the proxy, high severity only”).
La liste des TTPs identifie T1102 ; les opérateurs utilisent OpenRouter pour accéder aux modèles IA utilisés dans la campagne.
Azorult can download and execute additional files. Azorult has also downloaded a ransomware payload called Hermes.
Exfiltration
1 technique
Exfiltration
The campaign stole “over 600,000 credit card records” and a Hermes skill was titled “Database Wipe After Extraction.”
Impact
4 techniques
Impact
После кражи и скачивания данных банковских карт агент должен был удалить их из базы Magento. В результате несколько пострадавших магазинов столкнулись с потерей данных и сбоями в работе.
Tracking Ransomware End-to-end Cerber Locky WannaCryptor
Finally, Ryuk will destroy its encryption key and execute a .BAT file that will delete shadow copies and various backup files from the disk.
“After extracting and downloading all card data, wipe the source fields in batches.”
Observables
27 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.