Skip to main content
Mallory
Malware2 associated actors

RESTLEAF

Tracked since Feb 26, 2026 · Updated 9 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK11Techniques
IOCs0Tracked

RESTLEAF is a Windows implant/backdoor used in the North Korea–linked APT37 (aka ScarCruft/Ricochet Chollima/InkySquid) “Ruby Jumper” campaign (reported by Zscaler ThreatLabz; first identified December 2025). In the described intrusion chain, a malicious Windows LNK file launches PowerShell that carves embedded components (including a decoy document and scripts) and ultimately spawns the RESTLEAF Windows executable payload in-memory as the first-stage downloader/implant.

RESTLEAF’s distinguishing behavior is command-and-control over Zoho WorkDrive cloud storage. It authenticates to Zoho WorkDrive using token material (including embedded refresh-token credentials and hardcoded client_id/client_secret/refresh_token) to obtain a valid access token for API operations. After successful authentication, RESTLEAF attempts to download shellcode (noted as “AAA.bin”) from Zoho WorkDrive and executes it via process injection (allocating executable memory, copying the payload, and transferring execution to the shellcode entry point). RESTLEAF is also described as beaconing by creating timestamped files in a Zoho WorkDrive folder named “Second,” with filenames matching the pattern “lion [timestamp].”

RESTLEAF is part of a multi-component toolkit used to breach segmented/air-gapped environments: it fetches further payloads after authentication, including the next-stage Ruby-based loader SNAKEDROPPER, which installs a disguised Ruby 3.3.0 runtime and persistence (scheduled task “rubyupdatecheck”), and later stages that weaponize removable media (THUMBSBD/VIRUSTASK) and deliver surveillance tooling (e.g., FOOTWINE for keylogging and audio/video capture).

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Kimsuky

The full attack chain flows from the initial LNK file through RESTLEAF as the first-stage downloader...

via cyber security newscybersecuritynews.com
APT37

The full attack chain flows from the initial LNK file through RESTLEAF as the first-stage downloader...

via cyber security newscybersecuritynews.com
MITRE ATT&CK

Techniques & procedures

11 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1566.001Spearphishing AttachmentEvidence1

“The attack begins… with a malicious Windows shortcut file (LNK) that, once opened by a victim, silently drops and executes a series of payloads…”

Execution

3 techniques
T1059.001PowerShellEvidence4

“…opens a malicious Windows shortcut file (LNK), which deploys a PowerShell script that extracts payloads embedded in the LNK file.”

T1059.003Windows Command ShellEvidence1

"...including ... a batch file."; "...the batch script launching PowerShell..."

T1204.002Malicious FileEvidence4

“APT37 has abused LNKs as an initial vector for years. In the Ruby Jumper campaign, when a victim opens a malicious LNK file, it launches a PowerShell command…”

Privilege Escalation

1 technique
T1055Process InjectionEvidence2

“…shellcode is executed through a classic process injection technique. RESTLEAF allocates executable memory, copies the downloaded payload into this region, and transfers execution…”

Stealth

3 techniques
T1055Process InjectionEvidence2

“…shellcode is executed through a classic process injection technique. RESTLEAF allocates executable memory, copies the downloaded payload into this region, and transfers execution…”

T1140Deobfuscate/Decode Files or InformationEvidence2

“…second-stage shellcode that is decrypted using a 1-byte XOR key… reflectively loads an embedded Windows executable payload that is also decoded using a 1-byte XOR key.”

T1620Reflective Code LoadingEvidence1

"The Windows executable payload, named RESTLEAF, is spawned in memory..."

Command and Control

4 techniques
T1071.001Web ProtocolsEvidence2

“RESTLEAF uses Zoho WorkDrive cloud storage for C2 communications… enabling subsequent API operations with the Zoho WorkDrive infrastructure.”

T1102Web ServiceEvidence2

“RESTLEAF… uses Zoho WorkDrive for C2 communications to fetch additional payloads…”

T1102.002Bidirectional CommunicationEvidence2

"...backdoor that uses Zoho WorkDrive for command-and-control (C2)..."; "...weaponizes legitimate cloud providers, including Google Drive, Microsoft OneDrive, pCloud, and BackBlaze, for C2..."

T1105Ingress Tool TransferEvidence5

"...uses Zoho WorkDrive for command-and-control (C2) communications to fetch more payloads..."; "...downloads shellcode..."; "...downloading a secondary payload..."

Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping11Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.