Join our Newsletter — 33% off our NHI Course
Home› Glossary› Cyber Security› Stratum Mining Protocol
Cyber Security

Stratum Mining Protocol

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Cyber Security

The Stratum mining protocol is a communication pattern used between a cryptocurrency miner and a mining pool. It handles login, job distribution, and share submission, which creates a recognizable sequence of messages that defenders can inspect when they are validating suspicious mining-related network activity.

How Stratum mining traffic works

Stratum is a purpose-built message pattern for cryptocurrency mining, not a general-purpose application protocol. A miner typically authenticates to a pool, receives work assignments, and returns shares that prove it is contributing hash effort. That predictable sequence makes Stratum useful both for mining operations and for defenders who want to recognise mining-related activity on a network.

Because the protocol is narrow in purpose, its traffic often stands out from ordinary enterprise communications. Even when the payload is not inspected deeply, the pattern of connection setup, work distribution and repetitive share submission can be enough to identify a miner, especially where outbound connections to unfamiliar endpoints or unusual ports accompany the flow.

Why defenders care about Stratum

Stratum is valuable to defenders because it creates a visible behavioural fingerprint. In environments where cryptominers appear unexpectedly, analysts can use that fingerprint to separate mining traffic from other encrypted or long-lived sessions, and to distinguish active mining from dormant software that only looks suspicious by filename or process name.

That matters because mining activity is often discovered after resource abuse has already begun. If defenders can recognise Stratum early, they can confirm whether a host is participating in a pool, estimate the scope of the activity, and decide whether the issue is isolated misuse of a single endpoint or evidence of broader compromise.

Traffic review should be paired with host-side telemetry. A miner may tunnel through legitimate tooling, run inside a container, or live alongside other malware, so network recognition alone is rarely sufficient to understand how it arrived or what else it did.

Common visibility and investigation cues

Investigators usually look for repeatable request and response timing, long-lived sessions, and a steady exchange of small jobs and share acknowledgements. Those patterns can be especially noticeable when they originate from servers, containers, or workstations that should have no mining role.

Correlating Stratum-like flows with DNS lookups, process creation, container activity, and cloud control-plane events helps separate benign pool access from compromise. In practice, the strongest signal is often the combination of network pattern, workload context, and unexpected compute consumption rather than any single packet alone.

For analysts, the key question is not just whether Stratum is present, but why a system is speaking it at all. On managed infrastructure, the answer often points to misconfiguration, exposed credentials, or an execution path that allowed unauthorised software to start mining.

Containment and remediation priorities

Once Stratum traffic is linked to an unauthorised miner, containment should focus on stopping the session, isolating the affected asset, and removing the mechanism that allowed the miner to run. That may mean terminating processes, cordoning a container or node, revoking access used to deploy the miner, and checking whether the traffic resumes from another host.

Remediation is stronger when it addresses the path of entry as well as the workload itself. If the mining activity came from exposed cloud credentials, a weakly protected host, or an abused management interface, those conditions need to be corrected or the miner will likely return. In environments with shared infrastructure, the investigation should also consider whether the same trust path exists elsewhere.

Where response is still in progress, analysts often use a structured incident approach for cryptomining events, especially when the traffic pattern suggests container, Kubernetes, or cloud exposure. NHIMG’s Cryptojacking Incident Response Playbook is a practical reference for containment, evidence preservation, and post-removal recovery.

Stratum in the wider mining threat picture

Stratum is not itself malware, but it is often the communications layer for mining abuse. That makes it useful in threat hunting, where defenders can map observed pool traffic to a larger abuse pattern involving initial access, compute hijacking, persistence, and cost impact. The protocol becomes especially important when it is seen alongside exposed credentials or cloud misconfiguration that enabled the mining operation.

In cloud environments, mining campaigns frequently rely on insecure control surfaces rather than on sophisticated exploit chains. A good example is NHIMG’s Tesla Kubernetes cryptojacking 2018, which illustrates how exposed credentials and weakly protected container infrastructure can turn into cryptocurrency mining activity.

For protocol discovery and standards context, the protocol ecosystem is often organised through registry and standards bodies such as IANA and IETF. Those references help explain why defenders often rely on stable protocol behaviour, not only payload signatures, when they classify suspicious traffic.

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 CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1496 — Resource HijackingStratum is commonly used in cryptocurrency mining, a classic resource hijacking pattern.
Recommendation — Map mining traffic and host activity to T1496 and hunt for compute abuse across endpoints and cloud workloads.
CIS Controls v8CIS-13 — Network Monitoring and DefenseStratum is detected through recurring network-behaviour patterns and suspicious egress sessions.
Recommendation — Monitor outbound mining patterns and alert on unusual long-lived sessions to pool infrastructure.
NIST SP 800-53 Rev 5AU-12 — Audit Record GenerationInvestigating Stratum requires sufficient telemetry to reconstruct mining sessions and related activity.
SI-4 — System MonitoringStratum traffic is a detectable indicator of malicious or unauthorised compute use.
AC-2 — Account ManagementMining incidents often follow abused or exposed access paths that must be revoked or reviewed.
Recommendation — Generate and retain network and host audit records needed to reconstruct suspicious mining communications. Use system monitoring to detect mining-related behaviour and trigger containment when Stratum is observed. Review and revoke unnecessary access paths that enabled unauthorised mining activity.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

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