RN Stealer
- Type
- Infostealer
- Capabilities
- Credential theftExfiltrationReconnaissance
- Delivery
- SpearphishingLureCloaking
- Platforms
- macOS
RN Stealer is a Python-based information stealer used by the North Korean threat group Slow Pisces, also tracked as TraderTraitor and Jade Sleet, against developers in the cryptocurrency sector. Observed on macOS, it collects keychain data, SSH keys, saved credentials, and configuration data for AWS, Kubernetes, and Google Cloud. It also gathers information about installed applications and home-directory contents, exposing sensitive material held on developer workstations.
RN Stealer is delivered by RN Loader in a multistage infection chain associated with fraudulent recruitment campaigns. Operators impersonate prospective employers on LinkedIn and direct selected developers to trojanized GitHub projects presented as coding challenges. In the Python delivery chain, unsafe PyYAML deserialization executes attacker-controlled code that deploys RN Loader, which subsequently executes RN Stealer. The delivery infrastructure selectively serves malicious payloads to validated targets while returning benign data to other visitors.
RN Stealer generates a random victim identifier and includes it as a cookie in command-and-control communications. It requests an XOR key from the server to encrypt exfiltrated data and uses Base64-encoded protocol tokens to coordinate communications and data transfer. Its collection of developer credentials and cloud configuration data supports the operator’s broader targeting of cryptocurrency organizations and cloud-connected development environments.
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.
RN Stealer collects the macOS keychain, SSH keys and AWS, Kubernetes and GCP configuration, which is what sits on a DevOps engineer’s laptop.
However, we recovered a Python-based infostealer delivered by option 2, and we track this malware as RN Stealer. RN Stealer first generates a random victim ID, subsequently used as a cookie in all communications to the C2 server. It then requests an XOR key from the server for encrypting exfiltrated data.
Techniques & procedures
20 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
5 techniques
Initial Access
MITRE Tactic Technique & ID ... Persistence Valid Accounts (T1078) Stolen credentials (cookies, keys) used to maintain access as a legitimate user.
“...posing as potential employers and sending malware disguised as coding challenges... require developers to run a compromised project...” ; “...ran the script without inspecting its contents... hidden malware... credentials... stolen...”
Slow Pisces began by impersonating recruiters on LinkedIn and engaging with potential targets, sending them a benign PDF with a job description... attackers presented them with a coding challenge... which links to a GitHub repository.
The question sheets include generic software development tasks and a “real project” coding challenge, which links to a GitHub repository.
Slow Pisces engaged with cryptocurrency developers on LinkedIn, posing as potential employers and sending malware disguised as coding challenges.
Execution
2 techniques
Execution
a TraderTraitor operative posed as a recruiter and lured a developer at Ginco into running a malicious Python script from a fake coding challenge hosted on GitHub [T1059.006,T1204.002]
These messages posed as recruiters offering lucrative jobs and enticed targets to download fake crypto applications [T1204.002] that contain malicious payloads.
Persistence
1 technique
Persistence
MITRE Tactic Technique & ID ... Persistence Valid Accounts (T1078) Stolen credentials (cookies, keys) used to maintain access as a legitimate user.
Privilege Escalation
1 technique
Privilege Escalation
MITRE Tactic Technique & ID ... Persistence Valid Accounts (T1078) Stolen credentials (cookies, keys) used to maintain access as a legitimate user.
Stealth
3 techniques
Stealth
The repositories contained code adapted from open-source projects... The malicious command-and-control (C2) server is configured to mimic the format of the legitimate sources... domains... frequently using subdomains like .api or .cdn.
MITRE Tactic Technique & ID ... Persistence Valid Accounts (T1078) Stolen credentials (cookies, keys) used to maintain access as a legitimate user.
The following stages in Table 1 exist primarily in memory and generally have no footprint on disk... Delivery of payloads at each stage is heavily guarded, existing in memory only.
Credential Access
4 techniques
Credential Access
RN Stealer... steal[s]... Configuration files for AWS, Kubernetes and Google Cloud.
The malware, identified as RN Loader and RN Stealer, harvested sensitive data including SSH keys, saved credentials, and cloud configurations [T1552.004].
MITRE Tactic Technique & ID ... Credential Access Credentials from Password Stores (T1555) Steals saved passwords, SSH keys, cloud service credentials.
RN Stealer... steal[s] information specific to macOS devices, including... The login.keychain-db file that stores saved credentials in macOS systems.
Discovery
2 techniques
Discovery
It sends basic information about the victim machine and operating system... RN Stealer... steal[s] information specific to macOS devices, including: Basic victim information: Username, machine name and architecture Installed applications
RN Stealer... steal[s]... A directory listing and the top-level contents of the victim’s home directory.
Lateral Movement
1 technique
Lateral Movement
Using the stolen session cookies [T1550.004], the attackers accessed Ginco’s internal systems
Command and Control
3 techniques
Command and Control
Communication with the C2 server occurs over HTTPS, using Base64-encoded tokens to identify request and response types... It then requests an XOR key from the server for encrypting exfiltrated data.
It sends basic information about the victim machine and operating system over HTTPS to the same C2... Communication with the C2 server occurs over HTTPS, using Base64-encoded tokens to identify request and response types.
Base64-decodes sent content and saves it to the file init.dll for Windows or init for all other operating systems... Loads and executes the downloaded DLL... Content is saved to the file dockerd... dockerd is then executed in a new process.
Exfiltration
1 technique
Exfiltration
MITRE Tactic Technique & ID ... Exfiltration Exfiltration Over C2 Channel (T1041) Sensitive data (e.g. keys, credentials) exfiltrated via HTTPS.
Observables
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.