Skip to main content
Mallory
Back to malware
MalwareUsed by 1 actor

INFINITERED

INFINITERED is custom malware used by the PRC-nexus threat actor UNC6508 in a long-running espionage campaign targeting North American academic, medical, and military research organizations. Google Threat Intelligence Group reported the malware on compromised REDCap servers at multiple organizations in the United States and Canada, with earliest known related compromises dating to September 2023. UNC6508 exploited externally facing REDCap servers, likely including vulnerable legacy versions, and in observed intrusions deployed INFINITERED about three months after the initial compromise.

The malware is designed specifically for REDCap environments and is implemented as three modular components hidden by trojanizing legitimate REDCap system files. Its capabilities include dropper and upgrade interception functionality, credential harvesting, backdoor access, and command-and-control. INFINITERED persists by intercepting REDCap upgrades and reinjecting malicious code into new versions, allowing it to survive software updates for more than a year. GTIG reported use of the GUID delimiter b49e334d-9c01-463e-9bc5-00a6920fb66e in this upgrade interception logic.

A credential-harvesting component injects into the REDCap authentication system and captures usernames and passwords submitted via POST during login. Stolen credentials are stored in a legitimate REDCap sessions database table, with records associated with the session ID prefix xc32038474a. A backdoor component is placed in the REDCap custom hooks system file and executes on every page load. It receives encrypted command payloads via the HTTP cookie parameter REDCAP-TOKEN and can execute shell commands, upload files, download arbitrary files, execute SQL queries, retrieve or delete stolen credentials, and return system, database, and configuration information.

INFINITERED enabled UNC6508 to harvest legitimate REDCap credentials, pivot into internal networks, and later access administrative accounts. The broader campaign targeted sensitive defense, national security, artificial intelligence, uncrewed systems, cyber, and medical research information. Reported associated artifacts and indicators include the web shell help.php on compromised REDCap servers, the cookie parameter REDCAP-TOKEN, the GUID b49e334d-9c01-463e-9bc5-00a6920fb66e, and the session ID prefix xc32038474a.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
UNC6508

The earliest known compromise occurred in September 2023, after which GTIG observed a consistent operational pattern. The threat actor exploited externally facing REDCap servers and deployed custom malware named INFINITERED to capture legitimate REDCap login credentials.

via mandiant threat intelligencecloud.google.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1078Valid AccountsEvidence2

Then, after remaining undetected for more than a year, UNC6508 used the captured credentials to access the victim’s internal network.

T1190Exploit Public-Facing ApplicationEvidence4

The earliest known compromise occurred in September 2023... The threat actor exploited externally facing REDCap servers...

Execution

3 techniques
T1059Command and Scripting InterpreterEvidence1

Executes arbitrary system commands using shell_exec.

T1059.004Unix ShellEvidence1

The backdoor, which receives commands via HTTP cookies, provides UNC6508 with the following abilities: Execute shell commands

T1574Hijack Execution FlowEvidence1

the attackers deployed the 'Infinitered' custom malware designed specifically for REDCap systems, and hid its components by trojanizing the server’s system files.

Persistence

6 techniques
T1078Valid AccountsEvidence2

Then, after remaining undetected for more than a year, UNC6508 used the captured credentials to access the victim’s internal network.

T1505Server Software ComponentEvidence1

The first allows it to maintain persistent remote access by injecting its code into new REDCap versions after intercepting the upgrade process.

T1505.003Web ShellEvidence4

Executes arbitrary system commands using shell_exec. Uploads a file to the server... Retrieves stolen credentials... Executes arbitrary SQL queries against the database... Downloads an arbitrary file from the server.

T1546Event Triggered ExecutionEvidence1

InfiniteRed is a custom malware payload that provides dropper, upgrade interception, credential harvesting, backdoor, and command-and-control (C&C) capabilities.

T1554Compromise Host Software BinaryEvidence1

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.

T1556Modify Authentication ProcessEvidence1

Then it injects a credential harvester into the authentication system file to compromise user accounts.

Privilege Escalation

2 techniques
T1078Valid AccountsEvidence2

Then, after remaining undetected for more than a year, UNC6508 used the captured credentials to access the victim’s internal network.

T1546Event Triggered ExecutionEvidence1

InfiniteRed is a custom malware payload that provides dropper, upgrade interception, credential harvesting, backdoor, and command-and-control (C&C) capabilities.

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence2

Defense Evasion T1027 Obfuscated Files or Information Use of Base64 encoding for malicious payloads within PHP files.

T1078Valid AccountsEvidence2

Then, after remaining undetected for more than a year, UNC6508 used the captured credentials to access the victim’s internal network.

T1574Hijack Execution FlowEvidence1

the attackers deployed the 'Infinitered' custom malware designed specifically for REDCap systems, and hid its components by trojanizing the server’s system files.

Defense Impairment

1 technique
T1556Modify Authentication ProcessEvidence1

Then it injects a credential harvester into the authentication system file to compromise user accounts.

Credential Access

6 techniques
T1056Input CaptureEvidence2

The login harvester captures usernames and passwords submitted through REDCap login pages, then encrypts and stores them in local REDCap database tables for future retrieval.

T1056.001KeyloggingEvidence1

The threat actor exploited externally facing REDCap servers and deployed custom malware named INFINITERED to capture legitimate REDCap login credentials.

T1056.003Web Portal CaptureEvidence1

INFINITERED injects a credential harvester into the authentication system file... captures usernames and passwords submitted via POST requests during the login process.

T1555Credentials from Password StoresEvidence1

Upon establishing a foothold on the REDCap server, UNC6508 performed internal reconnaissance and credential discovery to obtain database and service account credentials... returning... database credentials including the hostname, username, password, and salt.

T1556Modify Authentication ProcessEvidence1

Then it injects a credential harvester into the authentication system file to compromise user accounts.

T1649Steal or Forge Authentication CertificatesEvidence1

After three months, the snoops silently deployed custom malware named InfiniteRed to capture legitimate REDCap login credentials.

Discovery

1 technique
T1083File and Directory DiscoveryEvidence1

Downloads an arbitrary file from the server. The payload following this tag specifies the full filesystem path of the target file.

Collection

4 techniques
T1056Input CaptureEvidence2

The login harvester captures usernames and passwords submitted through REDCap login pages, then encrypts and stores them in local REDCap database tables for future retrieval.

T1056.001KeyloggingEvidence1

The threat actor exploited externally facing REDCap servers and deployed custom malware named INFINITERED to capture legitimate REDCap login credentials.

T1056.003Web Portal CaptureEvidence1

INFINITERED injects a credential harvester into the authentication system file... captures usernames and passwords submitted via POST requests during the login process.

T1114.003Email Forwarding RuleEvidence1

"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."

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence2

INFINITERED looks for a specific HTTP Cookie parameter named "REDCAP-TOKEN"... decrypts the remaining payload... the threat actor can use to execute shell commands, run raw SQL queries, and transfer files... MITRE ATT&CK Mapping... C2 communication via HTTP Cookie parameters (REDCAP-TOKEN).

T1105Ingress Tool TransferEvidence1

The backdoor, which receives commands via HTTP cookies, provides UNC6508 with the following abilities: ... Upload files to the REDCap server

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

Beacons system information, database credentials, and configuration details.

INDICATORS OF COMPROMISE

IOCs tracked for this family

8 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
1 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
7 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
hash.sha256●●●●●●●●●●●●View more in apptoday
hash.sha256●●●●●●●●●●●●View more in apptoday
ip.v4●●●●●●●●●●●●View more in apptoday
hash.sha256●●●●●●●●●●●●View more in apptoday
hash.sha256●●●●●●●●●●●●View more in apptoday
hash.sha256●●●●●●●●●●●●View more in apptoday
ACTIVITY FEED

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

malware newsNews
Jun 15, 2026
Public and Private Medical Community Targeted by China-Nexus Threat Actor Pursuing Artificial Intelligence, Cyber, Medical, and National Defense Research - Malware News - Malware Analysis, News and Indicators

Custom modular malware deployed on compromised REDCap servers. It trojanizes legitimate REDCap files to persist through upgrades, harvests usernames and passwords from login POST requests, stores stolen credentials in a legitimate sessions table, and provides backdoor access via specially crafted HTTP cookie values to execute commands, run SQL, and transfer files.

Read more
security weekNews
Jun 15, 2026
Chinese Hackers Target Medical, Military, and AI Research in North America - SecurityWeek

A custom malware payload used by UNC6508 that provides dropper functionality, upgrade interception, credential harvesting, backdoor access, and command-and-control capabilities.

Read more
register securityNews
Jun 15, 2026
Google says PRC-linked spies hid in medical research networks for more than a year

Custom malware used against externally facing REDCap servers to maintain persistent remote access, inject itself into new REDCap versions during upgrades, harvest REDCap authentication credentials, and act as a backdoor executing on every REDCap page load.

Read more
bleeping computerNews
Jun 15, 2026
Chinese hackers breach REDCap servers, steal medical research

Custom malware designed specifically for REDCap systems. It consists of a persistence/update module, a credential harvester that captures REDCap login usernames and passwords, and a backdoor that receives commands via HTTP cookies to execute shell commands, transfer files, run SQL queries, retrieve stolen credentials, delete records, and return system and database information.

Read more
What this page doesn’t show

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 matching8

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping21

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.