Source: CSO Online
Author: unknown
URL: https://www.csoonline.com/article/4223975/revoking-the-token-didnt-kill-the-backdoor.html
https://www.csoonline.com/article/4223975/revoking-the-token-didnt-kill-the-backdoor.html
ONE SENTENCE SUMMARY:
GraphWorm uses Microsoft Graph/OneDrive C2 and can remotely swap OAuth identities, making token revocation insufficient without endpoint isolation.
MAIN POINTS:
- Typical identity runbooks prioritize revoking tokens to end session-based compromise.
- GraphWorm communicates via Microsoft Graph, using OneDrive as a dead-drop C2.
- Tasking uses encrypted job/result folders plus heartbeat and fingerprint files.
- Network controls struggle because traffic looks like normal Microsoft 365 TLS activity.
- Implant stores client ID, client secret, tenant ID, and long refresh token in cleartext.
- Victim ID is hardware-derived, resisting containment via hostname, subnet, or egress changes.
- An
upgradecommand replaces all credentials and scopes from a single task. - Operator can recover immediately after token revocation by switching to a spare OneDrive identity.
- Effective detection relies on cloud telemetry: app ID, tenant anomalies, user-agent, file names.
- Containment must target the app registration and endpoint behavior, not just token artifacts.
TAKEAWAYS:
- Reframe token revocation as a delay when adversaries control application identities.
- Sequence response to block channel access while burning credentials, not afterward.
- File platform suspension requests early because third-party tenant action can be slow.
- Query sign-in telemetry for fixed malicious application IDs to confirm exposure quickly.
- Focus hunts on endpoint-resident code and repeatable behaviors attackers can’t cheaply replace.