TL;DR: Remote Key Attestation can relay attestation requests through a remote device, letting attackers spoof Android device trust signals and weaken deterministic checks built around Key Attestation, according to Guardsquare’s analysis. The real issue is not attestation alone but backend verification, key provenance, and relay detection across device identity flows.
At a glance
What this is: This is an analysis of how Remote Key Attestation can bypass Android Key Attestation by relaying requests to another device and spoofing trust signals.
Why it matters: It matters because mobile app teams, IAM practitioners, and fraud leaders need server-side controls that can detect reused or relayed device identity signals before trust decisions are made.
👉 Read Guardsquare's analysis of Remote Key Attestation abuse and Android trust bypass
Context
Remote device attestation is meant to prove that a mobile device and its runtime environment are trustworthy before an app grants access or accepts a sensitive request. In practice, that trust can be weakened when attackers move attestation off-device, reuse valid-looking signals, or manipulate the device state that the app assumes is genuine.
For identity and access teams, the key lesson is that device trust behaves like an identity control, not just a mobile security feature. When the attestation signal can be relayed, the control boundary shifts to backend validation, signal correlation, and lifecycle oversight of the keys and devices that produce the proof.
Key questions
Q: How should mobile security teams handle attestation when devices can relay trust signals?
A: Treat attestation as one evidence source, not proof of device integrity. Combine it with device fingerprinting, key provenance, request context, and server-side anomaly detection so a valid response cannot pass unchecked when it originates from a relayed or reused trust path.
Q: Why do long-lived attestation keys create more governance risk than short-lived keys?
A: Long-lived keys expand the time attackers have to reuse leaked material before revocation catches up. Short-lived keys reduce that exposure, but only if backend controls can still detect replay, relay, and cross-device reuse as those keys circulate.
Q: What breaks when mobile apps trust attestation responses without backend correlation?
A: The app loses the ability to tell whether the response came from the requesting device or from a proxy device. That makes spoofed trust states look legitimate, which can undermine fraud controls, access decisions, and compliance checks.
Q: How do security teams reduce the risk of relayed device identity in mobile authentication flows?
A: Use attestation as a signal to score, not a gate to trust blindly. Enforce backend validation, compare device behaviour over time, and remove legacy trust anchors that can be copied, replayed, or hidden behind relay infrastructure.
Technical breakdown
How Remote Key Attestation relays the trust signal
Remote Key Attestation works by intercepting the attestation request on the client device, collecting the nonce and app context, and forwarding those details to a separate host device that generates the response. The host can use leaked key material or a compromised boot chain to produce a valid-looking attestation without the requesting device ever proving its own state. That breaks the assumption that attestation is inherently bound to one physical device and one execution path.
Practical implication: backend systems must treat attestation as a signal to validate, not a verdict to trust.
Why long-lived keyboxes create a revocation problem
The older keybox model relies on static private key material embedded in or extracted from device firmware. Once those keys leak, they can be shared through modules, forums, and modified OS builds, then revoked only after they have already been used at scale. That creates a lag between compromise, discovery, and revocation, which attackers exploit by cycling through new keys faster than vendors can blacklist them.
Practical implication: revocation processes need to be tied to usage monitoring, not just certificate lists.
How remote provisioning changes the abuse model
Remote Key Provisioning replaces fused long-lived secrets with short-lived key material issued after device authentication. That reduces the value of leaked keyboxes, but it does not eliminate relay attacks where a compromised or exploited device acts as a proxy for another. The result is a narrower but still real abuse surface, especially where applications assume attestation alone is enough to establish device integrity.
Practical implication: teams should pair RKP-era attestation with device fingerprinting and server-side anomaly detection.
Threat narrative
Attacker objective: The attacker wants to make an untrusted device appear compliant so it can pass app trust checks and reach protected backend functions.
- Entry occurs when attackers intercept the Android Key Attestation request or exploit a boot-chain weakness to create a trusted host device for relay.
- Credential access or trust abuse follows when the host device generates or relays a valid-looking attestation response using leaked key material or a compromised secure boot state.
- Impact occurs when backend systems accept a spoofed device posture and grant access, allowing compromised or non-compliant devices to pass trust gates.
NHI Mgmt Group analysis
Remote attestation is now an identity signal, not just a device-health check. Once the attestation response can be relayed, the control is no longer proving locality of the device but only proving that some trusted material was available somewhere. That is a governance problem as much as a technical one, because identity decisions are being made on evidence that may not belong to the presenting device. Practitioners should treat attestation as one input into a broader trust model, not as a standalone access decision.
Long-lived attestation secrets create a lifecycle gap that attackers can outpace. The keybox model turns device trust into a revocation race, where leaked material can circulate faster than revocation lists can catch up. This is the same structural issue that appears across NHI governance: if the secret outlives its true trust context, the environment eventually learns to distrust the wrong thing too late. The practical conclusion is that lifecycle design matters as much as cryptographic strength.
Remote Key Provisioning narrows the abuse window but does not remove the relay problem. Short-lived keys reduce the payoff from leaked static material, yet a compromised host device can still proxy trust for another client. That means the underlying failure mode is not simply secret exposure, but delegated trust without sufficient context binding. Teams should re-evaluate whether their mobile trust architecture can distinguish a valid attestation from a valid attestation produced on the wrong device.
Backend monitoring is the missing governance layer in mobile trust decisions. Guardsquare’s analysis reinforces that server-side correlation, device fingerprinting, and behavioural baselining are what make attestation operationally useful. Without those layers, even strong hardware-backed signals can become misleading when reused across devices or replayed through relay infrastructure. Practitioners should move the control boundary to the backend and measure trust over time, not once per request.
What this signals
Remote attestation only works as a trust control when the backend can verify context, not just cryptographic validity. Mobile teams should expect more attacks that preserve the appearance of legitimacy while moving the trust anchor off-device. That means device identity, request provenance, and policy enforcement must be evaluated together, especially where mobile apps front regulated or fraud-sensitive workflows.
Keybox-style trust anchors are becoming legacy risk, which shifts the programme question from proof to provenance. The important control is no longer whether a device can produce a signature, but whether the signature is still bound to the right device, at the right time, for the right request. Teams that already monitor NHI lifecycles will recognise the pattern: a secret without lifecycle enforcement becomes an access shortcut rather than a trust signal.
For practitioners
- Correlate attestation with device context Track nonce, app identity, hardware lineage, and environment signals together so a valid response is not accepted in isolation. A single attestation result should never be enough to establish trust on its own.
- Flag reused or cross-device key patterns Build rules that detect when the same attestation key, key serial, or device fingerprint appears across unrelated devices or vendors. That pattern is a strong indicator of relay abuse or leaked key material.
- Shorten the lifetime of trust assumptions Prefer short-lived, remotely provisioned trust material where available and remove reliance on legacy fused keyboxes as soon as the platform allows it. Legacy trust anchors should be treated as temporary migration risk, not steady state.
- Move enforcement to the backend Use server-side policy to score attestation quality, device consistency, and request anomalies before access is granted. This makes detection and response possible even when the client device is already modified.
Key takeaways
- Remote Key Attestation exposes the weakness of treating device trust as a single cryptographic proof.
- Long-lived attestation material creates a revocation race that attackers can exploit faster than static controls can respond.
- Backend correlation, device fingerprinting, and lifecycle-aware trust policies are the controls that turn attestation into a usable security decision.
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 Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | TA0006 , Credential Access; TA0004 , Privilege Escalation | The attack abuses trusted material and privilege to bypass device integrity checks. |
| NIST CSF 2.0 | PR.AC-1 | Attestation is an access control input that must be validated before authorization decisions. |
| NIST SP 800-53 Rev 5 | IA-5 | The article centres on key material lifecycle and the risks of long-lived attestation secrets. |
| NIST Zero Trust (SP 800-207) | Device trust should be one signal in a broader zero-trust decision model. | |
| OWASP Non-Human Identity Top 10 | NHI-03 | The lifecycle risk around leaked key material aligns with NHI secret management failures. |
Map relayed attestation abuse to credential access and privilege escalation detections in mobile trust workflows.
Key terms
- Key Attestation: Key attestation is a validation process that lets an app check whether a key is genuinely hardware-backed and whether the device’s trust chain is intact. It is important when the security decision depends on proving both the key origin and the integrity of the device boot state.
- Remote Attestation: Remote attestation is the process of proving, with cryptographic evidence, that a workload is running inside a specific trusted environment. It matters in AI governance because it replaces a verbal trust claim with checkable proof that the inference session used the intended protected boundary.
- Remote Key Provisioning: A model in which devices obtain short-lived attestation key material from a remote provisioning service after authenticating themselves. It reduces the value of leaked static keyboxes, but it still requires backend controls to detect relay, replay, and cross-device misuse.
- Keybox: A file or package containing private attestation keys and associated certificates used to generate device trust responses. When exposed, it becomes reusable trust material that can be shared, revoked, and abused across multiple devices until the ecosystem stops accepting it.
What's in the full article
Guardsquare's full analysis covers the operational detail this post intentionally leaves for the source:
- Step-by-step examples of how keyboxes are relayed from one device to another in real attack setups
- Technical comparison of legacy fused keys versus remote provisioning in the Android attestation model
- Backend monitoring patterns for spotting key reuse, device drift, and suspicious attestation spikes
- Practical guidance on when app attestation should complement Key Attestation in production workflows
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It gives identity and security practitioners a practical foundation for controlling trust, lifecycle, and access across modern digital systems.
Published by the NHIMG editorial team on August 19, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org