curlRAT
- Type
- RAT
- Capabilities
- PersistencePost exploitationDefense evasionReconnaissance
- Platforms
- Linux
curlRAT is a Linux remote-access trojan built around libcurl and observed in espionage intrusions against South Korean media and automotive organizations. It is embedded in trojanized system daemons, including scheduling, terminal-login, and authorization services, providing persistent remote access under the cover of legitimate system processes. It has been deployed alongside the Ted HAProxy backdoor but is a distinct malware family.
curlRAT communicates with command-and-control infrastructure over HTTPS, with HTTP fallback. It polls every 12 hours by default and supports an operator-enabled fast-polling interval of 30 seconds. Its capabilities include remote command execution, configuration updates, additional payload downloads, system-information reporting, reverse shells, and interactive pseudoterminal shells. Its reverse-shell implementation attempts to set its user identity to root before launching the shell.
A watchdog component monitors HAProxy and reports service starts, stops, restarts, and reloads. This component checks for a virtualization-related marker and exits if the marker is absent. Some Ted samples also contain integrated curlRAT routines disguised as standard library functions. The initial-access mechanism for the observed intrusions has not been established.
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.
В атаках использовался curlRAT — отдельный RAT, который по умолчанию опрашивает управляющий сервер каждые 12 часов и по команде может сократить этот интервал до 30 секунд.
В атаках использовался curlRAT — отдельный RAT, который по умолчанию опрашивает управляющий сервер каждые 12 часов и по команде может сократить этот интервал до 30 секунд.
В атаках использовался curlRAT — отдельный RAT, который по умолчанию опрашивает управляющий сервер каждые 12 часов и по команде может сократить этот интервал до 30 секунд.
Techniques & procedures
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
“Ted backdoor and curlRAT were designed to ... redirect selected users, conduct drive-by download attacks.”
The partially reconstructed chain assumes exploitation of a vulnerability in the exposed Groupware login portal.
Execution
4 techniques
Execution
The stager checks the operating system and whether HAProxy or cron is present before replacing the cron service.
“...deploy malware capable of command execution...”
Через этот канал операторы малвари могли выполнять шелл-команды... CurlRAT способен выполнять команды... и запускать интерактивный PTY-shell.
“The campaign uses social engineering and malicious files to establish access and deploy malware...”
Persistence
3 techniques
Persistence
The stager checks the operating system and whether HAProxy or cron is present before replacing the cron service.
“Researchers found... altered versions of crond, agetty, atd, sshd and polkitd” and “the stager... replac[es] the cron service.”
So the accurate description is a version-matched rebuild substituted for the legitimate binary, not a supply-chain compromise of the victim's own compilation process.
Privilege Escalation
3 techniques
Privilege Escalation
The stager checks the operating system and whether HAProxy or cron is present before replacing the cron service.
“Researchers found... altered versions of crond, agetty, atd, sshd and polkitd” and “the stager... replac[es] the cron service.”
CurlRAT calls setuid(0) and setreuid(0, 0) before establishing a reverse shell; the stager verifies root privileges before deployment.
Stealth
6 techniques
Stealth
“[CurlRAT] can decrypt and execute commands stored in its configuration.”
Their command-and-control domains imitate image delivery services, including one that resembles a popular Korean web platform's static-content naming style.
Trojanized binaries use crond, polkitd, agetty, and atd names, while CentOS functions are named atd_ routines.
“[The stager] copi[es] timestamps from a legitimate SSH binary.”
The stager deploys only when HAProxy or cron is present; CurlRAT validates a victim token; ted uses scanner/IP and operator-key filtering.
curlRAT also checks whether the system runs inside a virtual machine. If it does not find the expected signs, it refuses to run.
Defense Impairment
2 techniques
Defense Impairment
“[The stager] remov[es] chosen words from logs.”
The stager ... remov[es] chosen words from logs.
Credential Access
1 technique
Credential Access
ted backdoor and curlRAT were designed to persist during long-term espionage operations with the ability to steal cookie sessions, credentials, redirect selected users, conduct drive-by download attacks.
Discovery
4 techniques
Discovery
The CurlRAT watchdog reads HAProxy PID information and polls /proc to identify started, stopped, restarted, and reloaded states.
“The stager checks the operating system” and CurlRAT can “send system details.”
curlRAT also checks whether the system runs inside a virtual machine. If it does not find the expected signs, it refuses to run.
“The stager checks the operating system and whether HAProxy or cron is present before replacing the cron service.”
Collection
2 techniques
Collection
“...deploy malware capable of command execution, system reconnaissance, and data theft.”
SSH-keylogger output is encrypted with a substitution cipher; CurlRAT encrypts and Base64-encodes outbound data.
Command and Control
5 techniques
Command and Control
Специальный HTTP-запрос переводит Ted в режим C&C... Ответ возвращается через обычное соединение под видом стандартного HTTP/1.0 200 OK. CurlRAT по умолчанию опрашивает управляющий сервер каждые 12 часов.
CurlRAT uses img.monderhouse.space and img.darklights.store as fallback or backup configuration hosts.
“The stager checks for the presence of either crond or HAProxy, and only then deploys CurlRAT, retrieving it either from its data section or the edge web server.”
CurlRAT Base64-encodes feedback-XOR-encrypted C2 payloads; ted uses rolling XOR for pipe-protocol data.
CurlRAT derives an MD5 victim ID from the hostname, IP address, hardware/OS UUID, and cron version, then uses it in C2 headers.
Exfiltration
1 technique
Exfiltration
CurlRAT streams command output over its C2 channel, while captured credentials and web-session data are staged for operator collection.
Observables
25 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.