---
id: blog/en/compromised-connector-revocation-investigation
type: blog
language: en
title: "Compromised connectors: revoke access and investigate usage"
description: Separate access tokens, refresh tokens, sessions and secondary secrets when responding to a connector compromise and preserving evidence.
summary: Separate access tokens, refresh tokens, sessions and secondary secrets when responding to a connector compromise and preserving evidence.
url: https://rootzero.eu/en/research/compromised-connector-revocation-investigation/
markdown_url: https://rootzero.eu/en/research/compromised-connector-revocation-investigation/index.md
author: rootzero
published: 2026-11-17T00:00:00.000Z
updated: null
tags:
  - IA
  - Sécurité
  - OAuth
topics:
  - id: ai-methods
    name: AI and methodology
    url: https://rootzero.eu/en/research/topics/ai-methods/
translations:
  en: https://rootzero.eu/en/research/compromised-connector-revocation-investigation/
  fr: https://rootzero.eu/research/connecteur-compromis-revocation-investigation/
reading_minutes: 2
content_origin: methodology
research_reference: null
research_status: null
vulnerabilities: []
references:
  - label: GTIG’s Salesloft Drift account
    url: https://cloud.google.com/blog/topics/threat-intelligence/data-theft-salesforce-instances-via-salesloft-drift
  - label: RFC 7009
    url: https://www.rfc-editor.org/rfc/rfc7009
sections:
  - title: Draw the branches before rotation
    level: 2
    url: https://rootzero.eu/en/research/compromised-connector-revocation-investigation/#draw-the-branches-before-rotation
  - title: Preserve evidence without copying secrets
    level: 2
    url: https://rootzero.eu/en/research/compromised-connector-revocation-investigation/#preserve-evidence-without-copying-secrets
  - title: Organize containment
    level: 2
    url: https://rootzero.eu/en/research/compromised-connector-revocation-investigation/#organize-containment
  - title: Reconnect with reduced capability
    level: 2
    url: https://rootzero.eu/en/research/compromised-connector-revocation-investigation/#reconnect-with-reduced-capability
---

# Compromised connectors: revoke access and investigate usage

> Separate access tokens, refresh tokens, sessions and secondary secrets when responding to a connector compromise and preserving evidence.

A compromised connector can leave several capabilities active: access token, refresh token, application session and a secret discovered in retrieved data. Revocation must address them separately and verify the resulting effect.

This proposed method starts from [GTIG’s Salesloft Drift account](https://cloud.google.com/blog/topics/threat-intelligence/data-theft-salesforce-instances-via-salesloft-drift). Example names and identifiers are fictional. It assumes neither identical revocation behavior across services nor password changes covering every branch.

![Initial access opens three branches to examine: refresh tokens, issued sessions and secondary secrets. Each branch needs its own decision and denial evidence.](https://rootzero.eu/_astro/a24-en.BU11_u_O_10L7v1.webp)

_Each branch needs its own decision and denial evidence._

## Draw the branches before rotation

A refresh token can obtain access tokens under authorization-server policy. An existing session may follow a different lifetime. A key extracted from a document is another authorization.

```text
application-A grant -> refresh token -> access token -> service-B read
                                                 -> found secret -> service-C access
```

Revoking only the first visible key can leave other branches usable. Conversely, an access-token request failing does not establish that refresh is impossible.

[RFC 7009](https://www.rfc-editor.org/rfc/rfc7009) defines OAuth token revocation and possible relationships between tokens. It does not replace implementation documentation or resource-side propagation measurement.

## Preserve evidence without copying secrets

Record a token reference, family, issuance time and associated resources without retaining its secret value.

```json
{
  "credential_ref": "token-fixture-17",
  "client_id": "application-A",
  "grant_ref": "grant-4",
  "resource": "service-B",
  "revocation_requested_at": "2026-11-15T10:00:00Z",
  "resource_denial_observed_at": null
}
```

The last field stays empty until denial is observed. Revocation-endpoint acknowledgment and resource-API rejection are different observations.

Retain HTTP status, request identifier and operation type. A 403 may indicate missing scope; a 401 may concern a token that expired before intervention. Interpretation requires a known control and timeline.

## Organize containment

Real containment should not wait for exhaustive collection. Preserve available references while promptly interrupting identified access, then investigate using retained logs.

| Action | Expected verification |
| --- | --- |
| Revoke grant | Associated refresh fails under service policy |
| Revoke sessions | An earlier test session can no longer read the protected object |
| Replace secondary secret | The old value no longer permits the selected operation |
| Reduce rights | Useful work succeeds and excluded reads fail |

Use test accounts and objects where production verification could cause effects or expose real data. Do not extrapolate results to unexamined token families.

## Reconnect with reduced capability

Rotation can fail if the new value is reinjected into the compromised environment. Examine the workstation, service or provider that stored it before reconnecting.

Then grant only required access and identify who can remove it. Retain post-revocation usage evidence to distinguish propagation, independent sessions and renewed compromise. Missing logs do not resolve that distinction.
