INFINITERED
- Type
- Backdoor
- Capabilities
- Credential theftExfiltrationPersistencePost exploitationDefense evasionReconnaissance
- Platforms
- Linux
INFINITERED is a modular PHP backdoor tailored to REDCap (Research Electronic Data Capture), a web-based platform used to manage research databases and surveys. It is associated with UNC6508, a China-linked cyberespionage threat cluster, and has been identified at multiple organizations in the United States and Canada. Its deployment forms part of campaigns targeting North American medical, academic, and military research institutions through compromised internet-facing REDCap servers. The precise initial compromise method has not been established.
INFINITERED trojanizes legitimate REDCap application files through three components: a dropper and upgrade interceptor, a credential harvester, and a backdoor. The upgrade interceptor inserts malicious code into subsequent REDCap versions during software upgrades, preserving access across updates. The credential harvester captures usernames and passwords submitted during authentication and stores them encrypted in the application's local sessions database for later retrieval.
The backdoor executes on REDCap page loads and receives encrypted command payloads through HTTP cookies. It supports arbitrary shell commands and SQL queries, file uploads and downloads, retrieval and deletion of harvested credentials, and collection of system, PHP, database, and configuration information. Embedding these functions in legitimate application files conceals the compromise and supports long-term access. UNC6508 has subsequently reused harvested credentials to access internal systems and administrative accounts, including accounts used to configure email compliance rules for covert email exfiltration; that email collection is a separate actor activity rather than an intrinsic INFINITERED function.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
INFINITERED consisted of three primary components: a dropper and upgrade-interception mechanism, a credential harvester, and a backdoor.
Techniques & procedures
30 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
More than a year after the initial compromise, the threat actor used credentials stolen from REDCap to log into an administrator account and modified content compliance rules.
It compromised external facing web applications... The problem is those older versions still had known remote code execution vulnerabilities, and they’re sitting on the same server, still internet-facing. UNC6508 probed for those legacy versions specifically.
Execution
3 techniques
Execution
When non-empty, the malware will parse the payload for command tags, which the threat actor can use to execute shell commands, run raw SQL queries and transfer files.
When non-empty, the malware will parse the payload for command tags, which the threat actor can use to execute shell commands, run raw SQL queries and transfer files.
To maintain persistent remote access, the malware intercepted REDCap software upgrades and injected backdoor, credential harvester and extraction code into the new versions' legitimate system files.
Persistence
7 techniques
Persistence
More than a year after the initial compromise, the threat actor used credentials stolen from REDCap to log into an administrator account and modified content compliance rules.
In one instance, the attackers deployed the InfiniteRed backdoor three months after the initial intrusion.
UNC6508 exploited a public-facing REDCap server to drop a webshell and deploy INFINTERED malware, a PHP backdoor. | While the initial access method is currently unconfirmed, UNC6508 exploited a public-facing REDCap server to drop a webshell and deploy INFINTERED malware, a PHP backdoor.
Google said it confirmed multiple victims compromised with INFINITERED, a custom backdoor the threat group deployed on targeted networks to steal administrative credentials after it exploited externally facing REDCap (Research Electronic Data Capture) servers.
InfiniteRed is a custom malware payload that provides dropper, upgrade interception, credential harvesting, backdoor, and command-and-control (C&C) capabilities.
INFINITERED implements its functionality across three distinct modular components by trojanizing legitimate REDCap system files... To maintain persistent remote access, INFINITERED injects its code into new REDCap versions by intercepting the upgrade process.
INFINITERED also captured usernames and passwords entered through REDCap login portals and stored the stolen credentials in encrypted form within local databases.
Privilege Escalation
3 techniques
Privilege Escalation
More than a year after the initial compromise, the threat actor used credentials stolen from REDCap to log into an administrator account and modified content compliance rules.
Google said it confirmed multiple victims compromised with INFINITERED, a custom backdoor the threat group deployed on targeted networks to steal administrative credentials after it exploited externally facing REDCap (Research Electronic Data Capture) servers.
InfiniteRed is a custom malware payload that provides dropper, upgrade interception, credential harvesting, backdoor, and command-and-control (C&C) capabilities.
Stealth
3 techniques
Stealth
Defense Evasion T1027 Obfuscated Files or Information Use of Base64 encoding for malicious payloads within PHP files.
More than a year after the initial compromise, the threat actor used credentials stolen from REDCap to log into an administrator account and modified content compliance rules.
To maintain persistent remote access, the malware intercepted REDCap software upgrades and injected backdoor, credential harvester and extraction code into the new versions' legitimate system files.
Defense Impairment
1 technique
Defense Impairment
INFINITERED also captured usernames and passwords entered through REDCap login portals and stored the stolen credentials in encrypted form within local databases.
Credential Access
7 techniques
Credential Access
Credential Harvester: Captures plaintext usernames and passwords from POST login requests, encrypts them, and stores them covertly in the REDCap sessions database under the prefix xc32038474a.
The threat actor exploited externally facing REDCap servers and deployed custom malware named INFINITERED to capture legitimate REDCap login credentials.
INFINITERED injects a credential harvester into the authentication system file... captures usernames and passwords submitted via POST requests during the login process.
The credential harvester captures usernames and passwords submitted through REDCap login pages and stores them in the REDCap sessions table for later retrieval.
After establishing a foothold, the attackers conducted network reconnaissance, collected database and service account credentials...
INFINITERED also captured usernames and passwords entered through REDCap login portals and stored the stolen credentials in encrypted form within local databases.
The credential harvester captured usernames and passwords during the login process and hid them in a local REDCap sessions database table.
Discovery
2 techniques
Discovery
Once on the server, UNC6508 ran internal reconnaissance and credential discovery...
Downloads an arbitrary file from the server. The payload following this tag specifies the full filesystem path of the target file.
Lateral Movement
1 technique
Lateral Movement
...then used those logins to move into the internal network and on to a domain administrator account.
Collection
6 techniques
Collection
Kimsuky used malicious LNK files, the Dropbox API, GitHub Releases, and Google Drive for Information Theft and command execution.
Credential Harvester: Captures plaintext usernames and passwords from POST login requests, encrypts them, and stores them covertly in the REDCap sessions database under the prefix xc32038474a.
The threat actor exploited externally facing REDCap servers and deployed custom malware named INFINITERED to capture legitimate REDCap login credentials.
INFINITERED injects a credential harvester into the authentication system file... captures usernames and passwords submitted via POST requests during the login process.
"They abuse legitimate email filtering rules, modifying them to automatically forward messages that match specific keywords... using regular expressions to scan email bodies and subjects... redirects critical intelligence to actor-controlled accounts."
...the theft of sensitive data from a North American medical institution.
Command and Control
4 techniques
Command and Control
The backdoor lived in the custom hooks system file inside the update package and ran on every page load. It looked for a specific HTTP cookie containing an encrypted payload, allowing attackers to communicate with the malware and issue commands.
The backdoor receives commands through HTTP cookies...
...the backdoor allowed UNC6508 to execute commands, upload/download files, run SQL queries, and retrieve stolen credentials.
Using this method, the actor maintained access to sensitive environments for over a year and collected information from sensitive systems, abused administrative tools for data exfiltration, and deployed additional malware.
Exfiltration
2 techniques
Exfiltration
Using this method, the actor maintained access to sensitive environments for over a year and collected information from sensitive systems, abused administrative tools for data exfiltration, and deployed additional malware.
Mustang Panda used SHARDLOADER, MINIRECON, and ZOHOMURK to exploit Zoho WorkDrive as a C2 and data exfiltration channel.
Observables
8 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.