Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› Why do attackers use a manager-and-stager architecture for…
Threats, Abuse & Incident Response

Why do attackers use a manager-and-stager architecture for cryptojacking on Linux servers?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 24, 2026 Domain: Threats, Abuse & Incident Response

Attackers use that architecture to improve resilience, modularity, and anti-analysis. The manager can coordinate stagers through IPC, refresh components over time, and keep execution organized across multiple implants. That reduces the chance that one removed file ends the campaign. It also forces defenders to understand the full chain rather than treating each artifact as an isolated sample.

Why manager-and-stager designs help cryptojacking operators stay alive

A manager-and-stager layout gives attackers a cleaner control plane than a single monolithic miner. The manager can coordinate multiple stagers, rotate payloads, and recover after partial cleanup, which makes the campaign harder to suppress with one-file removal. It also helps keep the attack modular, so different components can change without reworking the entire operation.

That structure matters on Linux servers because defenders often see only one process, one script, or one dropped file at a time. In reality, the visible artifact may be only the delivery layer, while the manager retains orchestration logic and can repopulate miners, persistence hooks, or reconnection logic after disruption.

Manager-and-stager architecture also helps with operational compartmentalization. A stager can be short-lived and disposable, while the manager stays focused on tasking, update logic, and campaign state. If one stager is detected, removed, or sandboxes poorly, the remaining chain can still keep the campaign viable.

How this architecture improves resilience and anti-analysis

The main advantage is resilience through separation of duties. The manager does not need to expose every function in one binary, and the stager does not need to carry the full feature set. That makes the payloads easier to update independently and reduces the chance that static detection on a single artifact breaks the whole campaign.

It also improves anti-analysis. A short stager may only bootstrap the next stage, delaying visible mining activity until the manager decides the environment is worth using. That can complicate sandboxing, since analysts may capture only partial behavior unless they trace process relationships, IPC, file writes, and follow-on execution paths.

For Linux environments, that separation is especially useful when attackers want to survive process restarts, node rebuilds, or selective cleanup. The manager can reissue instructions, rehydrate components, or swap out workers without changing the operator's control logic.

What defenders should look for in the full chain

Defenders need to treat the stager, manager, and miner as one campaign, not as isolated samples. A stager may look low-risk on its own, but the real question is what it launches, what it contacts, and whether it can re-establish the manager after the initial process is killed.

Useful investigation points include parent-child process trees, repeated command-and-control beacons, writable temp or cron paths, and scripts that fetch or unpack a second stage. The most important indicator is not just the presence of mining software, but evidence of orchestration, replenishment, and persistent reinfection across hosts.

That is why incident response often needs to go beyond removal and into scoping. If the manager survives, a single eradication step may only suppress one worker while the rest of the campaign remains ready to restart. For a broader pattern of how attackers preserve access and reuse components across non-human assets, see The 52 NHI Breaches Report.

Risk and Threat Considerations

Manager-and-stager designs increase the chance of partial cleanup failures because the attacker can separate delivery, control, and execution into different components. That means defenders may remove the miner while leaving the manager, or kill one stager while the campaign simply respawns through another path.

Failure mechanism: The architecture hides the real control point behind short-lived or disposable stages, so detection that focuses on a single file, hash, or process misses the orchestration layer that keeps reinfection and redeployment working.

Impact: Cryptojacking can persist longer, consume more CPU over time, and spread across more hosts before defenders identify the full chain and remove the manager, not just the visible miner.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK addresses the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1105 — Ingress Tool TransferStagers often fetch the next stage before mining begins.
T1059 — Command and Scripting InterpreterLinux stagers commonly rely on shell or script execution to chain components.
T1027 — Obfuscated Files or InformationAnti-analysis and staged payload delivery often depend on hiding the real payload.
Recommendation — Hunt for staged downloads and block the transfer path. Inspect script execution and constrain interpreter abuse. Detect obfuscation and detonate suspicious payloads in a controlled environment.
NIST CSF 2.0DE.CM-01 — Networks and systems are monitored to detect potential cybersecurity eventsCryptojacking chains are best caught by monitoring repeated staging and reinfection behavior.
Recommendation — Monitor process trees, outbound beacons, and repeated stage loading.
NIST SP 800-53 Rev 5SI-4 — System MonitoringOrchestration across manager and stagers requires monitoring of process and file activity.
Recommendation — Correlate process, file, and network telemetry to expose the full chain.
CIS Controls v8CIS-10 — Malware DefensesThe architecture is a malware delivery and persistence pattern that needs layered detection.
Recommendation — Use layered malware defenses to identify and block staged payloads.

Practitioner Guidance

What to verify: Confirm whether the observed binary is a true miner or only a launcher. Check for outbound beacons, child process spawning, script retrieval, and any repeated staging behavior after termination.

What practitioners underestimate: The cleanup problem is usually architectural, not just forensic. If the manager is still present, reinfection and replacement can continue even when the initial sample has been deleted.

Practitioner takeaway: Treat the control relationship as the real compromise surface, because cryptojacking campaigns are most durable when the visible artifact is only the disposable layer.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 24, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org