{"incident":{"slug":"cloudflare-aug-2025-salesloft-drift-cases","caseId":"BI-2025-006","organization":"Cloudflare","title":"Cloudflare: GRUB1 used a stolen Drift OAuth token to bulk-export support cases in three minutes","shortSummary":"Using Salesloft Drift OAuth credentials, GRUB1 mapped Cloudflare’s Salesforce tenant over four days, exported support case text in three minutes, and deleted the API job to hide its tracks.","lede":"Between August 12 and August 17, 2025, the attacker tracked as GRUB1 (UNC6395) logged into Cloudflare’s Salesforce tenant using a stolen Salesloft Drift OAuth token. After methodical schema and API-limit reconnaissance from an AWS IP, the attacker switched to a DigitalOcean host on August 17, ran a Bulk API 2.0 export of support case text in just over three minutes, and deleted the job 24 seconds later. Cloudflare proactively rotated 104 API tokens found in ticket text; its global edge network and customer configurations were untouched.","incidentDate":"Aug 9–17, 2025","incidentDateIso":"2025-08-12","incidentEndIso":"2025-08-17","disclosedDate":"Sep 2, 2025","sourceUrl":"https://blog.cloudflare.com/response-to-salesloft-drift-incident/","sourceAuthor":"Cloudflare Security Postmortem (Cloudforce One)","vectorFilter":"Third-party vendor","timeToDetect":"11 days from Aug 12 login (vendor notification Aug 23, 2025)","detectedBy":"Salesforce and Salesloft notification (Aug 23, 2025)","initialAccess":{"label":"Stolen Salesloft Drift OAuth token","detail":"GRUB1 authenticated to Cloudflare’s Salesforce tenant using Drift chatbot OAuth credentials","evidence":"confirmed"},"blastRadius":"Support case text exported; 104 API tokens rotated","whatItReachedShort":"Salesforce Case subjects, freeform ticket correspondence, and requester contact info; 104 Cloudflare API tokens found in text and proactively rotated with zero misuse observed","whatHeldShort":"Case attachments/files, Cloudflare global edge network, proxy services, customer configurations, and all core product infrastructure","revisions":[{"id":"Rev A","date":"Sep 2, 2025","note":"Published from Cloudflare’s September 2, 2025 postmortem, including its second-by-second UTC event timeline and published GRUB1 IOCs."}],"bodyMarkdown":"## How they got in\n\nCloudflare published one of the cleanest second-by-second SaaS breach timelines in recent memory. The first hint arrived on August 9, 2025 at 11:51 UTC, when GRUB1 sent a `TruffleHog` User-Agent verification probe (`client/v4/user/tokens/verify`) against a Cloudflare API token from `44.215.108.109` and got a 404.\n\nThree days later, at 22:14 UTC on August 12, the same IP authenticated cleanly into Cloudflare's Salesforce tenant using the stolen OAuth token belonging to Salesloft's Drift website chatbot. Over the next four days, GRUB1 methodically mapped `/sobjects/`, described the `Case` schema, counted accounts, contacts, and users, fingerprinted the `Organization` record to confirm production, and read `/limits/` so its upcoming dump would not trigger rate-limit alarms.\n\n## What it reached\n\nAfter going quiet for nearly 48 hours, GRUB1 ran a dry-run `SELECT COUNT() FROM Case` on August 16. On August 17 at 11:11:23 UTC, it switched to a fresh DigitalOcean IP (`208.68.36.90`), launched a Salesforce Bulk API 2.0 query job at 11:11:56 UTC, pulled the freeform text of Cloudflare's support cases in three minutes and 22 seconds, and deleted the Bulk API job at 11:15:42 UTC to erase its tracks.\n\nResidual Salesforce logs still gave Cloudforce One the full picture after Salesforce and Salesloft notified Cloudflare on August 23. Cloudflare disconnected every third-party Salesforce app, purged all Salesloft software and browser extensions, and ran custom regex and entropy scans over the exported ticket text. That scan uncovered 104 Cloudflare API tokens customers had pasted into support conversations; Cloudflare rotated all 104 proactively and found no signs any had been abused.\n\n## What held\n\nThe exposure stayed strictly inside Salesforce `Case` text fields. Case file attachments were not included in the Bulk API text dump, and Cloudflare's global edge network, proxy services, customer configurations, and product infrastructure were never touched.\n\n> **Why this matters for defenders**\n>\n> Support tickets are an accidental secret vault because customers inevitably paste logs, headers, and API keys while debugging. If a third-party chatbot token can run Bulk API 2.0 queries against your `Case` table and silently delete the job afterwards, you need both tighter OAuth object scopes and automated ticket secret-redaction.","narrative":{"howTheyGotIn":["Cloudflare published one of the cleanest second-by-second SaaS breach timelines in recent memory. The first hint arrived on August 9, 2025 at 11:51 UTC, when GRUB1 sent a `TruffleHog` User-Agent verification probe (`client/v4/user/tokens/verify`) against a Cloudflare API token from `44.215.108.109` and got a 404.","Three days later, at 22:14 UTC on August 12, the same IP authenticated cleanly into Cloudflare's Salesforce tenant using the stolen OAuth token belonging to Salesloft's Drift website chatbot. Over the next four days, GRUB1 methodically mapped `/sobjects/`, described the `Case` schema, counted accounts, contacts, and users, fingerprinted the `Organization` record to confirm production, and read `/limits/` so its upcoming dump would not trigger rate-limit alarms."],"whatItReached":["After going quiet for nearly 48 hours, GRUB1 ran a dry-run `SELECT COUNT() FROM Case` on August 16. On August 17 at 11:11:23 UTC, it switched to a fresh DigitalOcean IP (`208.68.36.90`), launched a Salesforce Bulk API 2.0 query job at 11:11:56 UTC, pulled the freeform text of Cloudflare's support cases in three minutes and 22 seconds, and deleted the Bulk API job at 11:15:42 UTC to erase its tracks.","Residual Salesforce logs still gave Cloudforce One the full picture after Salesforce and Salesloft notified Cloudflare on August 23. Cloudflare disconnected every third-party Salesforce app, purged all Salesloft software and browser extensions, and ran custom regex and entropy scans over the exported ticket text. That scan uncovered 104 Cloudflare API tokens customers had pasted into support conversations; Cloudflare rotated all 104 proactively and found no signs any had been abused."],"whatHeld":["The exposure stayed strictly inside Salesforce `Case` text fields. Case file attachments were not included in the Bulk API text dump, and Cloudflare's global edge network, proxy services, customer configurations, and product infrastructure were never touched."],"sideNoteTitle":"Why this matters for defenders","sideNoteParagraphs":["Support tickets are an accidental secret vault because customers inevitably paste logs, headers, and API keys while debugging. If a third-party chatbot token can run Bulk API 2.0 queries against your `Case` table and silently delete the job afterwards, you need both tighter OAuth object scopes and automated ticket secret-redaction."]},"claims":[{"group":"How they got in","claim":"GRUB1 authenticated to Cloudflare’s Salesforce tenant on August 12, 2025 at 22:14 UTC from 44.215.108.109 using a stolen Salesloft Drift OAuth credential","evidence":"confirmed","source":"Cloudflare Postmortem, Sep 2, 2025"},{"group":"What it reached","claim":"Between 11:11:56 and 11:15:18 UTC on August 17, 2025, GRUB1 exported Salesforce Case text (subject, body, contact details) from 208.68.36.90 and deleted the job at 11:15:42 UTC","evidence":"confirmed","source":"Cloudflare Postmortem UTC timeline, Sep 2, 2025"},{"group":"What it reached","claim":"Cloudflare scanned the exposed ticket text, identified 104 Cloudflare API tokens shared by customers, and proactively rotated all 104 with no suspicious use detected","evidence":"confirmed","source":"Cloudflare Postmortem, Sep 2, 2025"},{"group":"What held","claim":"Support case file attachments, Cloudflare’s global network, proxy services, and customer product infrastructure were not compromised","evidence":"confirmed","source":"Cloudflare Postmortem, Sep 2, 2025"}],"cascade":{"id":"salesloft-drift-2025","title":"Salesloft Drift, 2025","shortLabel":"Salesloft Drift cascade","summary":"Downstream impact on Cloudflare’s Salesforce support instance from the Salesloft Drift OAuth compromise."},"relations":[{"targetSlug":"salesloft-drift-aug-2025-oauth-cascade","organization":"Salesloft Drift","direction":"upstream","fromWave":"sl-w2","edgeLabel":"Drift OAuth token","mechanism":"Stolen Drift-to-Salesforce OAuth credentials let GRUB1 query and bulk-export Cloudflare’s Salesforce support cases.","date":"Aug 12–17, 2025","dateIso":"2025-08-12","evidence":"confirmed","linkEvidence":"confirmed","sourceLabel":"Cloudflare Postmortem, Sep 2, 2025","sourceUrl":"https://blog.cloudflare.com/response-to-salesloft-drift-incident/"}],"diagram":{"label":"How GRUB1 enumerated Cloudflare’s Salesforce tenant and bulk-exported support cases with a stolen Drift token","zones":[{"id":"ext","label":"GRUB1 / Salesloft Drift","kind":"boundary","lane":0},{"id":"sf","label":"Cloudflare Salesforce","kind":"boundary","lane":1},{"id":"resp","label":"Impact & rotation","kind":"boundary","lane":2},{"id":"safe","label":"Cloudflare core network","kind":"isolated","lane":2}],"nodes":[{"id":"cf-tok","zone":"ext","name":"Stolen Drift OAuth","detail":"From Salesloft breach","kind":"attacker","ev":"confirmed","at":0,"when":"Aug 9–12, 2025","steps":[1],"linkedSlug":"salesloft-drift-aug-2025-oauth-cascade","linkedOrg":"Salesloft Drift","story":"GRUB1 obtained Cloudflare’s Drift-to-Salesforce OAuth token from the upstream Salesloft breach after first probing a Cloudflare token endpoint with TruffleHog on Aug 9."},{"id":"cf-recon","zone":"sf","name":"Schema & limit recon","detail":"44.215.108.109 (AWS)","kind":"compromised","ev":"confirmed","at":1,"when":"Aug 12–16, 2025","steps":[1,2],"ctl":["cf-k1"],"story":"From AWS IP 44.215.108.109, GRUB1 enumerated /sobjects/, /sobjects/Case/describe/, CaseTeamMemberHistory, Organization, and /limits/ before running SELECT COUNT() FROM Case."},{"id":"cf-bulk","zone":"sf","name":"Bulk API 2.0 export","detail":"208.68.36.90 (3 min)","kind":"compromised","ev":"confirmed","at":2,"when":"Aug 17, 11:11 UTC","steps":[2,3],"ctl":["cf-k2"],"story":"Switching to DigitalOcean IP 208.68.36.90 on Aug 17, GRUB1 exported Case text between 11:11:56 and 11:15:18 UTC, then deleted the Bulk API job at 11:15:42 UTC."},{"id":"cf-cases","zone":"resp","name":"Support case text","detail":"104 tokens rotated","kind":"compromised","ev":"confirmed","at":3,"when":"Aug 26–29, 2025","steps":[3],"ctl":["cf-k3"],"story":"Cloudflare scanned all exported case text with custom regex and entropy detectors, found 104 Cloudflare API tokens customers had pasted into tickets, and rotated every one proactively."},{"id":"cf-safe","zone":"safe","name":"Edge network & files","detail":"Attachments untouched","kind":"isolated","ev":"confirmed","at":0,"when":"Not reached","story":"Case file attachments, Cloudflare’s global edge network, proxy services, and customer product configurations were never accessed."}],"edges":[{"id":"cfe1","from":"cf-tok","to":"cf-recon","kind":"attack","step":1},{"id":"cfe2","from":"cf-recon","to":"cf-bulk","kind":"attack","step":2},{"id":"cfe3","from":"cf-bulk","to":"cf-cases","kind":"attack","step":3}],"steps":[{"n":1,"time":"Aug 12–16, 2025","short":"Aug 12–16","text":"GRUB1 logs in with Drift OAuth and maps Case schema and API limits","say":"From AWS IP 44.215.108.109, GRUB1 enumerates Salesforce objects, Case fields, active users, and API quotas, finishing with a dry-run SELECT COUNT() FROM Case on Aug 16."},{"n":2,"time":"Aug 17, 11:11–11:15 UTC","short":"Aug 17","text":"Attacker switches IP, runs a 3-minute Bulk API 2.0 Case export, and deletes the job","say":"Logging in from DigitalOcean IP 208.68.36.90, GRUB1 runs a Bulk API 2.0 job to pull Case subject and body text in 3 minutes 22 seconds, then deletes the job 24 seconds later."},{"n":3,"time":"Aug 23–Sep 2, 2025","short":"Aug 23–Sep 2","text":"Cloudflare purges Salesloft, rotates all SaaS secrets, and rotates 104 customer tokens","say":"After Aug 23 vendor notice, Cloudflare disconnects all Salesforce third-party apps, purges Salesloft extensions, scans exported tickets, rotates 104 API tokens, and notifies users."}],"controls":[{"id":"cf-k1","step":1,"kind":"control","nodeId":"cf-recon","name":"Deny Case object scope","tag":"Stops step 1","long":"Remove Salesforce Case read permissions from marketing chatbot integration profiles so a compromised lead-capture app cannot enumerate or query support tickets."},{"id":"cf-k2","step":2,"kind":"detection","nodeId":"cf-bulk","name":"Alert Bulk API & deletes","tag":"Catches step 2","long":"Page security operations immediately whenever a Connected App initiates a Bulk API 2.0 query against Case objects or deletes a Bulk API job right after completion."},{"id":"cf-k3","step":3,"kind":"control","nodeId":"cf-cases","name":"Auto-redact ticket keys","tag":"Limits step 3","long":"Run inline secret scanning on customer support portals to strip or automatically revoke API tokens the moment a customer pastes one into a freeform ticket."}],"detectedAt":{"time":"Aug 23, 2025 (vendor notification)","short":"Aug 23, 2025","text":"Salesforce and Salesloft notified Cloudflare on August 23, 2025; residual logs let Cloudforce One reconstruct every query despite GRUB1 deleting the Bulk API job."}},"plate":{"W":806,"H":380,"label":"How GRUB1 enumerated Cloudflare’s Salesforce tenant and bulk-exported support cases with a stolen Drift token","zones":[{"id":"ext","label":"GRUB1 / Salesloft Drift","kind":"boundary","x":8,"y":16,"w":268,"h":110},{"id":"sf","label":"Cloudflare Salesforce","kind":"boundary","x":314,"y":16,"w":223,"h":212},{"id":"resp","label":"Impact & rotation","kind":"boundary","x":575,"y":16,"w":223,"h":110},{"id":"safe","label":"Cloudflare core network","kind":"isolated","x":575,"y":146,"w":223,"h":110}],"nodes":[{"id":"cf-tok","name":"Stolen Drift OAuth","detail":"From Salesloft breach","kind":"attacker","ev":"confirmed","x":20,"y":52,"w":244,"at":0,"story":"GRUB1 obtained Cloudflare’s Drift-to-Salesforce OAuth token from the upstream Salesloft breach after first probing a Cloudflare token endpoint with TruffleHog on Aug 9.","when":"Aug 9–12, 2025","steps":[1],"linkedSlug":"salesloft-drift-aug-2025-oauth-cascade","linkedOrg":"Salesloft Drift"},{"id":"cf-recon","name":"Schema & limit recon","detail":"44.215.108.109 (AWS)","kind":"compromised","ev":"confirmed","x":326,"y":52,"w":199,"at":1,"story":"From AWS IP 44.215.108.109, GRUB1 enumerated /sobjects/, /sobjects/Case/describe/, CaseTeamMemberHistory, Organization, and /limits/ before running SELECT COUNT() FROM Case.","when":"Aug 12–16, 2025","steps":[1,2],"ctl":["cf-k1"]},{"id":"cf-bulk","name":"Bulk API 2.0 export","detail":"208.68.36.90 (3 min)","kind":"compromised","ev":"confirmed","x":326,"y":154,"w":199,"at":2,"story":"Switching to DigitalOcean IP 208.68.36.90 on Aug 17, GRUB1 exported Case text between 11:11:56 and 11:15:18 UTC, then deleted the Bulk API job at 11:15:42 UTC.","when":"Aug 17, 11:11 UTC","steps":[2,3],"ctl":["cf-k2"]},{"id":"cf-cases","name":"Support case text","detail":"104 tokens rotated","kind":"compromised","ev":"confirmed","x":598,"y":52,"w":176,"at":3,"story":"Cloudflare scanned all exported case text with custom regex and entropy detectors, found 104 Cloudflare API tokens customers had pasted into tickets, and rotated every one proactively.","when":"Aug 26–29, 2025","steps":[3],"ctl":["cf-k3"]},{"id":"cf-safe","name":"Edge network & files","detail":"Attachments untouched","kind":"isolated","ev":"confirmed","x":587,"y":182,"w":199,"at":0,"story":"Case file attachments, Cloudflare’s global edge network, proxy services, and customer product configurations were never accessed.","when":"Not reached"}],"edges":[{"id":"cfe1","kind":"attack","step":1,"pts":[[264,81],[326,81]]},{"id":"cfe2","kind":"attack","step":2,"pts":[[426,110],[426,154]]},{"id":"cfe3","kind":"attack","step":3,"pts":[[525,183],[562,183],[562,81],[598,81]]}],"balloons":{"1":[295,81],"2":[426,132],"3":[562,132]},"noroute":[{"x1":537,"x2":575,"y":188,"label":"No route"}],"bps":[{"id":"cf-k1","step":1,"kind":"control","at":[295,81],"name":"Deny Case object scope","tag":"Stops step 1","lead":[[295,70],[295,53],[307,53]],"lx":313,"ly":57,"anchor":"start","long":"Remove Salesforce Case read permissions from marketing chatbot integration profiles so a compromised lead-capture app cannot enumerate or query support tickets.","nodeId":"cf-recon"},{"id":"cf-k2","step":2,"kind":"detection","at":[426,132],"name":"Alert Bulk API & deletes","tag":"Catches step 2","lead":[[426,143],[426,154],[438,154]],"lx":444,"ly":158,"anchor":"start","long":"Page security operations immediately whenever a Connected App initiates a Bulk API 2.0 query against Case objects or deletes a Bulk API job right after completion.","nodeId":"cf-bulk"},{"id":"cf-k3","step":3,"kind":"control","at":[562,132],"name":"Auto-redact ticket keys","tag":"Limits step 3","lead":[[562,121],[562,104],[550,104]],"lx":544,"ly":108,"anchor":"end","long":"Run inline secret scanning on customer support portals to strip or automatically revoke API tokens the moment a customer pastes one into a freeform ticket.","nodeId":"cf-cases"}],"steps":[{"n":1,"time":"Aug 12–16, 2025","short":"Aug 12–16","text":"GRUB1 logs in with Drift OAuth and maps Case schema and API limits","say":"From AWS IP 44.215.108.109, GRUB1 enumerates Salesforce objects, Case fields, active users, and API quotas, finishing with a dry-run SELECT COUNT() FROM Case on Aug 16."},{"n":2,"time":"Aug 17, 11:11–11:15 UTC","short":"Aug 17","text":"Attacker switches IP, runs a 3-minute Bulk API 2.0 Case export, and deletes the job","say":"Logging in from DigitalOcean IP 208.68.36.90, GRUB1 runs a Bulk API 2.0 job to pull Case subject and body text in 3 minutes 22 seconds, then deletes the job 24 seconds later."},{"n":3,"time":"Aug 23–Sep 2, 2025","short":"Aug 23–Sep 2","text":"Cloudflare purges Salesloft, rotates all SaaS secrets, and rotates 104 customer tokens","say":"After Aug 23 vendor notice, Cloudflare disconnects all Salesforce third-party apps, purges Salesloft extensions, scans exported tickets, rotates 104 API tokens, and notifies users."}],"stripRows":[{"id":"sr-cf-tok","nodeId":"cf-tok","lineStyle":"solid"},{"id":"sr-step-1","nodeId":"cf-recon","step":1,"lineStyle":"solid","bpIds":["cf-k1"]},{"id":"sr-step-2","nodeId":"cf-bulk","step":2,"lineStyle":"solid","bpIds":["cf-k2"]},{"id":"sr-step-3","nodeId":"cf-cases","step":3,"lineStyle":"none","bpIds":["cf-k3"]}],"detectedAt":{"time":"Aug 23, 2025 (vendor notification)","short":"Aug 23, 2025","text":"Salesforce and Salesloft notified Cloudflare on August 23, 2025; residual logs let Cloudforce One reconstruct every query despite GRUB1 deleting the Bulk API job."}},"codeArtifacts":[{"id":"cf-sf-ioc-hunt","filename":"hunt-grub1-salesforce.py","language":"python","description":"Scan exported Salesforce EventLogFile CSVs for GRUB1 IPs, Bulk API deletes, and suspicious user agents.","code":"import csv, sys\n\nBAD_IPS = {\"44.215.108.109\", \"208.68.36.90\"}\nBAD_UAS = (\"TruffleHog\", \"Salesforce-Multi-Org-Fetcher/1.0\", \"python-requests/2.32.4\")\n\nfor row in csv.DictReader(open(sys.argv[1], encoding=\"utf-8\")):\n    ip = row.get(\"CLIENT_IP\", \"\")\n    ua = row.get(\"USER_AGENT\", \"\")\n    uri = row.get(\"URI\", \"\")\n    if ip in BAD_IPS or any(b in ua for b in BAD_UAS) or (\"/jobs/query\" in uri and row.get(\"METHOD\") == \"DELETE\"):\n        print(row.get(\"TIMESTAMP\"), ip, row.get(\"METHOD\"), uri, ua)\n"}],"reproductionLab":{"title":"Salesforce log hunt for GRUB1 indicators","summary":"Search exported Salesforce EventLogFile logs for Bulk API 2.0 Case exports, immediate job deletions, and the IPs and user agents Cloudflare published.","bundleMeta":"Python log scanner, MIT license","safetyNote":"Read-only inspection of exported audit CSVs.","commands":"python3 hunt-grub1-salesforce.py EventLogFile_RestApi.csv\n"},"iocs":[{"type":"IPv4","value":"44.215.108.109","note":"AWS host used Aug 9–16 for TruffleHog probe and Salesforce schema/limit recon","evidence":"confirmed"},{"type":"IPv4","value":"208.68.36.90","note":"DigitalOcean host used Aug 17 (11:11–11:15 UTC) for Bulk API 2.0 export and job deletion","evidence":"confirmed"},{"type":"User-Agent","value":"Salesforce-Multi-Org-Fetcher/1.0","note":"Malicious Salesforce extraction user agent observed by Cloudforce One","evidence":"confirmed"},{"type":"User-Agent","value":"Python/3.11 aiohttp/3.12.15","note":"Async Python user agent used for parallel API enumeration","evidence":"confirmed"}],"publishedAt":"2025-09-02T16:00:00Z","origin":"editorial"}}