Skip to main content
Mallory
← Back to News
privilege-escalation-methodpersistence-methoddefense-evasion-methodcommand-and-control-method

Linux Cryptomining Campaign Abuses PAM to Hide Memory-Resident XMRig

Attack Tradecraft · 4 sources · Updated 4mo ago · First seen Jul 30, 2026

Linux Cryptomining Campaign Abuses PAM to Hide Memory-Resident XMRig

Researchers reported a covert Linux cryptomining campaign that gained access through a trusted third-party connection, escalated privileges to root, and then abused Pluggable Authentication Modules (PAM) to move into low-privileged accounts without passwords. The operators reportedly used pam_rootok with su, disabled or suppressed logging, altered authentication records, and planted redundant cron-based persistence across less-monitored user accounts to preserve access and complicate remediation. Group-IB linked the activity to the V25 Generation 26 campaign family.

The payload was described as a heavily modified, self-unlinking XMRig 6.25.0 implant that ran from memory, used /tmp/.lock as a mutex, and spoofed process names such as ssh to evade detection. Researchers said the miner optimized execution with CPU-aware worker spawning, MSR interaction, and Huge Pages, while disguising Stratum mining traffic with a fake Java Agent user agent string to blend into normal network activity. Published indicators included the domain unable[.]download, campaign identifier My-V25-GEN-26, and multiple malware hashes tied to the implant.

Why it matters

Impact assessment

This campaign affects Linux server environments, especially organizations that permit trusted third-party access paths and rely on local host logging for forensic visibility. Impact is primarily operational and financial through unauthorized cryptomining, but the broader risk is sustained unauthorized access, weakened authentication integrity, and impaired incident response due to PAM abuse, log suppression, and persistence spread across multiple low-privileged accounts.

The exposure appears targeted at already-compromised Linux systems rather than indiscriminate mass exploitation, but the techniques are broadly reusable across Linux estates. Researchers reported active campaign activity in May 2026 and linked it to the V25 Generation 26 cluster, indicating real-world exploitation rather than a theoretical risk.

Affected entities and scope

  • Targeted systems: Linux servers
  • Likely affected populations: organizations with third-party administrative or trusted access relationships
  • Higher-risk environments: multi-user Linux systems with weak monitoring of PAM changes, cron persistence, and local log integrity
  • Campaign family: V25 Generation 26
  • Attribution/reporting entity: Group-IB

Business and operational consequences

  • Unauthorized CPU consumption from Monero mining can degrade server performance and increase infrastructure cost.
  • Root compromise followed by movement into standard accounts creates durable access that may survive partial remediation.
  • Stopped logging services and altered authentication records reduce forensic confidence and can delay containment.
  • Persistence distributed across low-visibility accounts increases cleanup complexity and raises the chance of reinfection.
  • Process masquerading and memory-resident execution reduce detection by conventional host controls.

Known in-the-wild activity

  • Group-IB identified the campaign in May 2026.
  • The story describes observed intrusions and malware deployment, not a lab-only proof of concept.
  • Initial access reportedly occurred through a trusted third-party connection.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · May 2026 – Jul 30, 2026
  1. Jul 30, 20264mo ago

    Group-IB links XMRig implant to V25 Generation 26 campaign

    Group-IB decoded obfuscated configuration data from the modified, memory-resident XMRig 6.25.0 implant and linked it to the V25 (Generation 26) campaign family. The analysis revealed identifiers and infrastructure including unable.download, My-V25-GEN-26, and the mutex file /tmp/.lock, along with published indicators and hashes.

    Linux Cryptomining Campaign Weaponizes PAM to Hide XMRig Botnet Activity
  2. May 2026

    Researchers identify Linux cryptomining campaign abusing PAM

    In May 2026, researchers identified a covert Monero cryptomining campaign targeting Linux systems via a trusted third-party access path, followed by privilege escalation to root. The operators abused PAM, specifically pam_rootok with su, to move into low-privileged accounts and establish redundant cron-based persistence while suppressing logs.

    Linux Cryptomining Campaign Weaponizes PAM to Hide XMRig Botnet Activity
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Observables

4 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.