FIVEHANDS
- Type
- Ransomware
- Capabilities
- ExtortionDefense evasionReconnaissance
- Platforms
- Windows
FiveHands is a Windows ransomware family related to DeathRansom and HelloKitty. It is associated with the financially motivated threat cluster UNC2447, which deployed it against North American and European organizations after exploiting CVE-2021-20016 in SonicWall SMA 100 series VPN appliances, including before patches became available in February 2021. FiveHands intrusions have also involved the SombRAT remote access trojan and legitimate reconnaissance and remote-administration tools.
FiveHands encrypts victim files using a cryptographic scheme incorporating an embedded NTRUEncrypt public key and places ransom notes in affected directories. It can enumerate network shares and mounted drives, and command-line arguments allow operators to restrict encryption to specified directories. It avoids certain critical system files but also encrypts files used for recovery. To inhibit restoration, it enumerates and deletes Volume Shadow Copies through Windows Management Instrumentation.
An analyzed FiveHands loader decrypts an embedded ransomware payload in memory using an operator-supplied key, validates its executable header, and executes it. Operators have used PsExec to distribute and launch the ransomware remotely with SYSTEM privileges. These deployment methods are part of the surrounding intrusion workflow rather than evidence of autonomous propagation.
Associated vulnerabilities
4 CVEs 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.
The account Sailor might be related to an actor using “SailorMorgan” and “cipherpunk,” described as a former member of the FiveHands and Yanluowang ransomware groups.
UNC2447 SOMBRAT and FIVEHANDS Ransomware: A Sophisticated Financial Threat.
One of the most prolific and successful Conti affiliates—and the one responsible for developing the “Conti Manual” leaked in August 2021—is tracked as DEV-0230. This activity group also developed and deployed the FiveHands and HelloKitty ransomware payloads...
Techniques & procedures
15 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
TRU observed at least two cybercrime operations utilizing the same Cobalt Strike infrastructure, during 2021 and into 2022, and both operations are leveraging SonicWall exploits
Execution
3 techniques
Execution
[FIVEHANDS](https://attack.mitre.org/software/S0618) can use WMI to delete files on a target machine.(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)
[FIVEHANDS](https://attack.mitre.org/software/S0618) can receive a command line argument to limit file encryption to specified directories.(Citation: FireEye FiveHands April 2021)(Citation: NCC Group Fivehands June 2021)
Dragonfly has used the command line for execution. Empire uses a command-line interface to interact with systems. StarProxy has used the command line for execution of commands.
Stealth
5 techniques
Stealth
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
The [FIVEHANDS](https://attack.mitre.org/software/S0618) payload is encrypted with AES-128.(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)(Citation: NCC Group Fivehands June 2021)
In these cases, the threat actors were able to delete cloud-stored backups prior to ransomware deployment.
To thwart the recovery of the data, it uses Windows Management Instrumentation (WMI) to enumerate Volume Shadow copies using the command “ select * from Win32_ShadowCopy” and then deletes copies by ID (Win32_ShadowCopy.ID).
[FIVEHANDS](https://attack.mitre.org/software/S0618) has the ability to decrypt its payload prior to execution.(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)(Citation: NCC Group Fivehands June 2021)
Discovery
2 techniques
Discovery
[FIVEHANDS](https://attack.mitre.org/software/S0618) has the ability to enumerate files on a compromised host in order to encrypt files with specific extensions.(Citation: CISA AR21-126A FIVEHANDS May 2021)(Citation: NCC Group Fivehands June 2021)
[FIVEHANDS](https://attack.mitre.org/software/S0618) can enumerate network shares and mounted drives on a network.(Citation: NCC Group Fivehands June 2021)
Lateral Movement
1 technique
Lateral Movement
"...multiple security flaws... impact SMA 200, 210, 400, 410, and 500v appliances even when the web application firewall (WAF) is enabled."
Command and Control
1 technique
Command and Control
Customization choices include legitimate certificates, non-standard CS ports, and malleable Command and Control (C2).
Impact
2 techniques
Impact
[FIVEHANDS](https://attack.mitre.org/software/S0618) can use an embedded NTRU public key to encrypt data for ransom.(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)(Citation: NCC Group Fivehands June 2021)
[FIVEHANDS](https://attack.mitre.org/software/S0618) has the ability to delete volume shadow copies on compromised hosts.(Citation: FireEye FiveHands April 2021)(Citation: CISA AR21-126A FIVEHANDS May 2021)
Observables
42 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.