They collapse malicious traffic into a service that already looks normal in developer environments. Instead of blocking an attacker-owned domain, defenders see HTTPS to a legitimate content-hosting service, often with encrypted payloads. That means the durable signal is the process behaviour and tasking pattern, not a single bad destination.
Why JSON-bin relays are harder to block than attacker-owned infrastructure
Public JSON-bin relays make blocking harder because the network destination is no longer the real indicator of malicious intent. The relay is a legitimate, commonly allowed service, so defenders often see normal HTTPS to a trusted-looking host while the useful signal is hidden in payload content, request timing, and repeated tasking patterns. That shifts detection away from simple destination blocking and toward behaviour, context, and control of the host or process making the call.
What changes when the malware uses a relay instead of a direct C2 server
A direct command-and-control server gives defenders a clear domain, IP, or hosting pattern to block. A JSON-bin relay removes that obvious choke point by interposing a benign service that may already be present in development workflows or browser trust lists. The malware can poll the relay, fetch instructions, and sometimes post results without exposing the operator’s infrastructure.
That matters because the relay can be swapped quickly, while the defender’s view stays anchored on the same reputable platform category. If the payload is encrypted or blended into ordinary API-style traffic, content inspection may add little unless the organisation can decrypt, parse, and score the session in context. The practical problem is not that the service is magical, but that the network policy now has less to discriminate on.
Which signals still work when the destination looks legitimate
When destination reputation stops being decisive, defenders need to lean on the host, process, and transaction pattern. A suspicious binary, script interpreter, or unusual child process repeatedly reaching a JSON-bin service at a fixed cadence is more informative than the host name alone. So is a process that never normally talks to developer tooling suddenly making outbound HTTPS requests to paste-like or relay-like services.
Behavioural correlation is especially important when malware uses standard web infrastructure for staging, configuration, or exfiltration. In that case, you are looking for mismatches between the process purpose and the network destination, not just blocklists. The strongest detections usually combine process lineage, request frequency, response parsing, and data volume anomalies rather than relying on a single bad domain.
Risk and Threat Considerations
Public relays raise the attacker’s cost of being blocked because they exploit normal trust in shared services and hide malicious exchange inside permitted web traffic. That creates a recurring detection gap where defenders may allow the transport but miss the intent.
Failure mechanism: Security controls that depend on destination reputation, static domain blocks, or simple URL filtering fail when the malware uses a legitimate content-hosting or paste-like service as its rendezvous layer. The attacker keeps rotating content, paths, or payloads while the underlying platform remains broadly acceptable.
Impact: The organisation may lose visibility into tasking, staging, and exfiltration even though the traffic appears ordinary at the network edge. That can delay containment, increase dwell time, and let the same relay pattern propagate across multiple hosts before anyone correlates the process behaviour.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK and OWASP API Security Top 10 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 |
|---|---|---|
| CIS Controls v8 | CIS-8 — Audit Log Management | Logging and correlation help spot relay polling patterns. |
| CIS-10 — Malware Defenses | Malware hiding behind benign services is a malware-defence problem. | |
| Recommendation — Correlate process and network logs to detect abnormal relay-style tasking. Tune malware defenses to flag suspicious outbound behaviour, not only bad domains. | ||
| MITRE ATT&CK | T1105 — Ingress Tool Transfer | Relays often move instructions or payloads through allowed web channels. |
| Recommendation — Map relay traffic to T1105 and hunt for staged retrieval over trusted services. | ||
| NIST CSF 2.0 | DE.CM-01 — Networks and network services are monitored to find anomalous events | This subject depends on detecting anomalous web-behaviour over trusted destinations. |
| Recommendation — Monitor outbound web activity for anomalies in cadence, process lineage, and volume. | ||
| OWASP API Security Top 10 | API8 — Security Misconfiguration | Leaning on a trusted hosted relay can create exposure when controls are overly permissive. |
| Recommendation — Review outbound trust rules and tighten egress handling for web-like relays. | ||
Practitioner Guidance
What to prioritise: Prioritise host telemetry that ties outbound requests to the originating process, command line, and parent-child chain. If a trusted workstation process starts polling a relay service on a fixed cadence, that pattern is often more actionable than the destination itself.
What to verify: Verify whether the calling process normally needs internet access, whether the request timing is periodic or event-driven, and whether the response is being parsed for commands or configuration. If the answer is no to those questions, treat the traffic as a behaviour problem first and a destination problem second.
Practitioner takeaway: The blocking decision should move from “is this domain bad?” to “does this process have a justified reason to talk to this service in this way?”. That shift is what makes relay-based malware visible again.
Related resources from NHI Mgmt Group
- Why do compromised websites make malware delivery harder to block than ordinary phishing?
- Why do legitimate SaaS relays make malware harder to stop?
- Why do malware loaders that stage payloads from public cloud infrastructure make detection harder for defenders?
- Why do trusted chatbot domains make malware delivery harder to block?
Deepen Your Knowledge
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.
Reviewed and updated by the NHIMG editorial team on October 12, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org