Teams should look for unusual JSON-RPC egress, process behaviour that correlates with blockchain queries, and command retrieval patterns that do not match legitimate application use. The key is to monitor protocol behaviour and host execution together, because the malicious traffic can look identical to normal DeFi activity at the network layer.
Detecting Blockchain C2 Requires Correlating Network Semantics With Host Behaviour
Blockchain-based command and control is difficult to spot because the transport often blends into ordinary decentralised application traffic. Security teams should treat the problem as a correlation problem, not a simple blocklist problem: the same JSON-RPC methods, wallet-like access patterns, or chain queries may be legitimate in one context and malicious in another. The practical question is whether the host is making those requests for a defensible business purpose, or using them as a covert retrieval channel. For that reason, defenders need telemetry that ties protocol behaviour to the process, user, and application identity behind it. CIS Controls v8 is relevant here because the detection problem depends on logging, asset visibility, and monitoring the behaviour of endpoints that initiate those calls. In practice, many security teams first notice blockchain C2 only after a suspicious process begins speaking like a normal DeFi client.
What To Look For In Real Environments
The most useful detections combine network context with execution context. On the network side, watch for unusual JSON-RPC destinations, repeated requests to chain infrastructure from endpoints that do not normally interact with it, and request patterns that are narrow, repetitive, or time-linked to command polling. On the host side, correlate those calls with suspicious parent-child process chains, unsigned binaries, unexpected script interpreters, or application processes that should not be reaching out to blockchain endpoints at all. This matters because a malicious C2 channel can be indistinguishable from normal protocol use if you inspect only packet contents. Behavioural baselines are more valuable than signature matching when the payload is intentionally disguised as routine chain activity.
A practical detection stack should also account for legitimate edge cases. Development tools, trading applications, browser extensions, and wallet software can all produce blockchain-related traffic without any malicious intent. The difference is usually in scope, frequency, and control of the initiating process. If the same endpoint suddenly starts querying blockchain infrastructure outside its expected role, or if those queries are paired with staging activity, encoded payload retrieval, or odd periodicity, the likelihood of abuse rises. That is why the investigation workflow should start with endpoint ownership and application purpose before moving to protocol specifics.
- Baseline which hosts, services, and business units are expected to use blockchain APIs.
- Correlate DNS, proxy, and process telemetry so you can identify the initiating binary.
- Flag repetitive polling, low-entropy command retrieval, or request bursts tied to suspicious execution.
- Separate legitimate wallet, exchange, and DeFi tooling from servers that should never need chain access.
Where this guidance breaks down is in environments that lack process-level telemetry, because network logs alone rarely provide enough context to distinguish abuse from legitimate decentralised activity.
When Blockchain Traffic Is Legitimate And When It Is A Telltale
Tighter monitoring of blockchain-related egress can increase analyst workload, so organisations need a clear rule for what counts as normal rather than treating every chain query as suspicious. That distinction is especially important in finance, Web3 development, and browser-heavy environments where legitimate activity may be noisy. Consensus is limited on static signatures because adversaries can vary chains, methods, and timing faster than defenders can maintain reliable indicators. Behavioural review is therefore the better default.
One common mistake is to assume that encrypted or decentralised transport equals stealth by itself. The real signal comes from the mismatch between the traffic and the host role. A workstation used for general productivity that suddenly behaves like a blockchain client deserves more attention than a development node that has a documented dependency on chain APIs. Teams should also be cautious about overfitting detections to a single chain or protocol, because attackers can shift to other public ledgers or mimic normal application polling patterns without changing the underlying technique. If the organisation cannot explain why a process is talking to blockchain infrastructure, the event should be treated as a candidate intrusion even before payload analysis is complete.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK address the attack and risk surface, while CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1071.001 — Web Protocols | Blockchain C2 often hides command traffic inside ordinary application protocol patterns. |
| T1071 — Application Layer Protocol | The technique abuses application protocols to carry command and control traffic. | |
| Recommendation — Map abnormal chain polling to T1071.001 and hunt for process-linked command retrieval. Correlate protocol use with host context to distinguish normal app traffic from C2. | ||
| CIS Controls v8 | 8 — Audit Log Management | Detection depends on logging endpoint and network activity together. |
| 13 — Network Monitoring and Defense | Unusual blockchain egress is a network-monitoring problem as well as a host problem. | |
| Recommendation — Centralise logs so you can connect outbound chain activity to the initiating process. Flag unusual JSON-RPC destinations and repetitive polling from non-expected hosts. | ||
| NIST CSF 2.0 | DE.CM — Security Continuous Monitoring | Continuous monitoring is needed to spot abnormal blockchain C2 behaviour over time. |
| Recommendation — Continuously baseline protocol and process behaviour to surface suspicious deviations. | ||
Practitioner Guidance
What to prioritise: Prioritise correlation rules that bind outbound blockchain queries to a specific process, parent process, and asset role. A useful alert is one that answers both “what was contacted?” and “why would this host need it?”
What to verify: Verify whether the endpoint is in a population that legitimately uses DeFi, wallets, or chain APIs. If not, treat repeated JSON-RPC access, especially from scripts or unsigned binaries, as a higher-confidence indicator than the protocol alone would suggest.
Decision rule: If the traffic is plausible on its own but the host context is not, escalate for containment and memory or process review. If both the traffic and the initiating application are expected, tune the detection around abnormal frequency, destination change, or command retrieval behaviour instead of blocking outright.
Practitioner takeaway: The strongest detections do not ask whether blockchain traffic looks malicious in isolation; they ask whether the initiating process has a credible operational reason to behave that way at all.
Related resources from NHI Mgmt Group
- How do security teams detect post-exploitation tooling that avoids normal malware artefacts?
- How should security teams detect malware that is retrieved from a blockchain instead of a normal server?
- How should security teams block blockchain-based C2 on macOS endpoints without disrupting legitimate engineering workflows?
- How do security teams detect source-based malware reuse in developer extensions?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 6, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org