Cloudflare Thanksgiving Intrusion - Four Okta-Leaked Credentials Left Unrotated → Service Token Through the Gateway → Look-Alike Atlassian Account → Sliver via ScriptRunner → 76 Repositories Archived → Caught on an Admin-Group Change
At 16:00 UTC on Thanksgiving Day, November 23, 2023, an automated alert told Cloudflare's security team that a Smartsheet service account had just been added to an administrator group. The change came from an intruder on Cloudflare's self-hosted Atlassian server who had been reading Jira and Confluence since November 15, after a day of probing. Cloudflare says the intruder first got into its systems with four credentials leaked in the October 2023 Okta compromise, which this site covers as the Okta support system kill chain: a Moveworks service token that gave remote access into the Atlassian system, the Smartsheet service account, which held administrative access to Jira, a Bitbucket service account, and a fourth for an AWS environment with no access to the global network and no customer or sensitive data. Cloudflare says every credential leaked in that compromise was meant to be rotated, and that it failed to rotate these four, out of thousands, because "mistakenly it was believed they were unused." Over about eight days the intruder read 202 wiki pages and 36 Jira tickets, created an Atlassian account that looked like an ordinary Cloudflare user, installed the Sliver C2 framework on the Atlassian server through the ScriptRunner for Jira plugin, tried and failed to reach a console server in a São Paulo data center that was not yet in production, viewed 120 Bitbucket repositories and downloaded 76 of them to the Atlassian server. Cloudflare could not confirm whether those 76 left its network and treats them as exfiltrated. It says no Cloudflare customer data or systems were impacted. Based on its collaboration with colleagues in industry and government, it believes the attacker was a nation-state, "likely a nation-state" in the post's conclusion, and it names no country.
The lesson sits in step 01, and on this page's reading it is about how accurate a credential inventory is. Cloudflare's own words are about a belief: all the leaked credentials were meant to be rotated, and these four, out of thousands, were not, because it was mistakenly believed they were unused. That one belief decided which credentials stayed valid. A credential marked unused still works for whoever holds it until it is revoked, and the actor began probing for ways to use these 27 days after Cloudflare detected the Okta-related intrusion (this page's arithmetic). Rotation after a breach has to cover every exposed credential. A credential exempted because it looks unused has to be shown to be unused from its last-used data, and then revoked rather than left valid. An accurate entry also records what the credential reaches: one of the four "unused" credentials held administrator rights in Jira. Cloudflare does not say why the four were believed unused; it says only that the belief was wrong.
Detection came from the attacker's own privilege change, and the response went far wider than four credentials. The alert fired on the Smartsheet account joining an administrator group at 15:58. Cloudflare's SOC deactivated that account 35 minutes after the alert and the look-alike account 48 minutes after that; firewall rules blocked the actor's known addresses at 21:31, the last known activity was at 10:44 on November 24, and Sliver was removed at 11:59 that day. Cloudflare brought in CrowdStrike on November 26, and from November 27 to January 5 it ran a company-wide effort it called Code Red: it rotated every production credential, more than 5,000 of them, physically segmented its test and staging systems, carried out forensic triage on 4,893 systems, and reimaged and rebooted every machine in its global network. Cloudflare says CrowdStrike's independent assessment found no activity that Cloudflare had missed; this page found no public statement from CrowdStrike itself.
Slides: download the PDF or make your own editable copy (copying needs a Google account). The slides are licensed CC BY-NC 4.0.
Cloudflare dates the start of the attack to October 18, 2023, when, for the second time, a compromise of Okta's systems reached Cloudflare and gave a threat actor a set of Cloudflare credentials. The Okta support system kill chain covers that compromise: an attacker inside Okta's customer support system took session tokens from files that customers had uploaded. Cloudflare's October post says that, it appears, the actor hijacked a session token from a support ticket a Cloudflare employee had created. Using that token as an open Okta session with administrative privileges, the actor got into Cloudflare's own Okta instance and compromised two Cloudflare employee accounts there. Cloudflare detected that intrusion on October 18 and wrote at the time that it had contained it before the actor could establish persistence. Neither post says how the four credentials in this chain were obtained, whether from files in Okta's support system or during the October session, and this page does not guess.
The February post says all of the leaked credentials were meant to be rotated, and that Cloudflare failed to rotate one service token and three service accounts out of thousands. The four were a Moveworks service token that granted remote access into Cloudflare's Atlassian system; a service account used by the SaaS application Smartsheet, with administrative access to Cloudflare's Jira; a Bitbucket service account used to reach its source code management system; and a service account for an AWS environment that, Cloudflare says, had no access to the global network and held no customer or sensitive data. Cloudflare says they were skipped because it mistakenly believed they were unused, that the belief was wrong, and that these credentials were how the actor first got into its systems and kept access to its Atlassian products. It does not say why they were believed unused, and it calls the failure its own, not an error by Atlassian, AWS, Moveworks or Smartsheet. Okta says it notified customers and shared guidance to rotate credentials on October 19 (TechRadar).
ATT&CK has no technique for a rotation that left four entries valid. This page maps the supplier path, a compromise at Cloudflare's identity provider that exposed Cloudflare's credentials, to Trusted Relationship. The failure underneath is one of inventory accuracy. All the leaked credentials were meant to be rotated, and these four were not because it was believed that nothing used them; that belief was wrong, and it decided whether they stayed valid. Two of them reached a long way: one gave remote access into the Atlassian system, and another held administrator rights in Jira.
Leaked set: thousands of credentials, all meant to be rotated (Cloudflare)
Not rotated: Moveworks service token; Smartsheet, Bitbucket and AWS service accounts
Reason given: "mistakenly it was believed they were unused"
How the four were obtained: not stated by Cloudflare
Why it worked: an exemption from rotation rested on a belief about usage that was wrong
Defence gap: credentials believed unused were left valid rather than revoked
Cloudflare's logs show the actor probing its systems and doing reconnaissance from November 14, looking for ways to use the credentials and for systems they could reach. It tried to log in to Cloudflare's Okta instance and was denied, and tried the Cloudflare Dashboard and was denied. One attempt worked: the actor accessed an AWS environment used to power the Cloudflare Apps marketplace. Cloudflare says that environment was segmented, with no access to the global network or customer data, that the service account for it was revoked, and that it validated the environment's integrity. It does not say what the actor did there, or when the account was revoked. Nor does it say in one sentence that this account was the fourth unrotated credential. Its list of the four ends with an AWS environment that "had no access to the global network and no customer or sensitive data", and it says this one "was segmented with no access to global network or customer data"; this page reads the two descriptions as the same environment.
Cloudflare's timeline lists no alert on these attempts; the first alert it describes came nine days later, in step 09. A refused login with a credential known to have leaked, or the first use in weeks of a credential believed unused, is a high-confidence signal, and probing like this is where one would show up (this page's suggestion). Cloudflare's published indicators name 193.142.58[.]126, at M247 Europe SRL in Bucharest, as the actor's primary infrastructure, without tying it to particular steps.
Refused: Cloudflare's Okta instance; the Cloudflare Dashboard
Reached: the AWS environment behind the Cloudflare Apps marketplace, segmented from the global network and customer data (Cloudflare)
Primary actor infrastructure (IOC): 193.142.58[.]126, M247 Europe SRL, Bucharest
Why it worked: the account for this environment had not been rotated after the Okta compromise; Cloudflare's matching descriptions make it the fourth unrotated credential (this page's reading)
Detect: treat any authentication with a credential on the exposed list as an incident, whether it succeeds or fails; alert on the first use of a dormant non-human credential (this page's suggestion)
Cloudflare says the actor reached Jira and Confluence on November 15 by authenticating through its gateway with the Moveworks service token, and then used the Smartsheet service account to get into the Atlassian suite. Both credentials belonged to integrations, Moveworks and the SaaS application Smartsheet, rather than to people, and both still worked almost a month after the Okta compromise. The Smartsheet account held administrative access to Jira. The actor used the account in steps 05 and 06, and added it to an administrator group in step 09.
Cloudflare credits its access controls, firewall rules and hardware security keys, enforced through its own Zero Trust tools, for the actor's failure to reach many other systems during the intrusion. Hardware keys protect people. A service token is presented by software, so no hardware key is involved when it is used; what limits a token is where it is accepted from, what it can reach and how long it stays valid (this page's reading; Cloudflare does not discuss it). Cloudflare does not say what restrictions applied to this token. Whatever they were, it was accepted from the actor's connection, it reached the Atlassian system, and it was still valid.
The Smartsheet account was an account on Cloudflare's self-hosted Atlassian server rather than in a cloud provider, so this page maps it to the parent Valid Accounts technique rather than choosing between its Cloud Accounts and Local Accounts sub-techniques.
First credential: Moveworks service token, used to authenticate through Cloudflare's gateway
Second credential: Smartsheet service account, with administrative access to Jira
Reached: Jira and Confluence on the self-hosted Atlassian server
Why it worked: both integration credentials were still valid, and a credential presented by software involves no person's hardware key
Detect: an integration's credential used from outside that integration's own network, or used to browse; where the gateway allows it, accept each service token only from its integration's source addresses (this page's suggestion)
Once inside, the actor searched Cloudflare's wiki for terms including remote access, secret, client-secret, openconnect, cloudflared and token. It read 202 of the wiki's 194,100 pages and 36 of the 2,059,357 tickets in Jira, Cloudflare's bug database. The tickets covered vulnerability management, secret rotation, MFA bypass, network access and Cloudflare's response to the Okta incident itself. On the day after first access the actor turned to the configuration and management of Cloudflare's global network, and, Cloudflare says, its wiki searches and the pages it read suggest interest in every aspect of access to Cloudflare's systems: password resets, remote access, configuration and Cloudflare's use of Salt. Cloudflare says it did not target customer data or customer configurations.
Cloudflare reads this as an actor studying the architecture, security and management of its global network in order to get a deeper foothold. The searches look for secrets, but Cloudflare does not say any credential was found in what the actor read, so this page does not map Unsecured Credentials. During Code Red Cloudflare searched Jira tickets and source code for secrets, and examined and deleted every HAR file that had been uploaded to its wiki in case it held tokens. (The first version of the post gave the wiki's total as 14,099 pages; the current text, which this page follows, says 194,100. The Internet Archive holds both.) Jira has no sub-technique of its own in ATT&CK, so its tickets map to the parent technique.
Read: 202 of 194,100 wiki pages; 36 of 2,059,357 Jira tickets
Ticket topics: vulnerability management, secret rotation, MFA bypass, network access, the Okta response
Not targeted: customer data or customer configurations (Cloudflare)
Why it worked: the Smartsheet service account gave access to the Atlassian suite, where the actor read Confluence and Jira
Detect: a service account searching a wiki at all, and searches for secret-like terms by any account (this page's suggestion)
Cloudflare says the new account was made to look like an ordinary Cloudflare user and was added to several Atlassian groups, so that the actor would keep access to the Atlassian environment if the Smartsheet service account were removed. It was a second way in, prepared in case the first was found. On November 23 both were found: the Smartsheet account was deactivated at 16:35, and the actor's account at 17:23, 48 minutes later.
From 14:33:52 UTC on November 17 to 09:26:53 on November 20 the actor stayed away, apart from what Cloudflare says were apparently brief tests that its access still worked, and came back just before Thanksgiving. (The post's summary places that further access on November 20 and 21.) Atlassian ran on Cloudflare's own server, so this page maps the parent Create Account technique rather than its Cloud Account sub-technique.
Created by: the Smartsheet service account
Account: named to look like a normal Cloudflare user; added to a number of Atlassian groups
Purpose, per Cloudflare: access that would survive removal of the Smartsheet account
Quiet period: November 17, 14:33:52 to November 20, 09:26:53, with what appeared to be brief access tests
Detect: an Atlassian account created anywhere but the identity provider's provisioning; any account created by a service account (this page's suggestion)
Cloudflare connects the two facts directly: because the Smartsheet service account had administrative access to Jira, the actor could install the Sliver Adversary Emulation Framework, and it did so with the ScriptRunner for Jira plugin. Sliver is a framework red teams and attackers both use for command and control (ATT&CK software S0633). It gave the actor continuous access to the Atlassian server itself. Cloudflare's indicators name the payload, a file called jvm-agent, the domain that served it, idowall[.]com, and the Sliver C2 server, 198.244.174[.]214 at OVH SAS in London.
This is the step where an application permission became control of a host. An integration account that was a Jira administrator, on a server where a scripting plugin was installed, could run code on the machine that hosted Jira. Cloudflare does not say whether ScriptRunner was already installed, what script the actor ran, which protocol Sliver used for C2, or how it would have survived a restart. This page maps the parent Command and Scripting Interpreter technique for that reason, and does not map a C2 protocol.
Rights used: the Smartsheet service account's administrative access to Jira
Mechanism: ScriptRunner for Jira plugin
Payload: jvm-agent, SHA256 bdd1a085d651082ad567b03e5186d1d46d822bb7794157ab8cce95d850a3caaf
Served from: idowall[.]com
C2: 198.244.174[.]214, OVH SAS, London
Why it worked: Jira administrator plus a scripting plugin meant code execution on the server, and an integration account held Jira administrator
Detect: log and alert on every ScriptRunner script run; alert on new outbound destinations from the Atlassian server (this page's suggestion)
Cloudflare says the actor used its access to the Atlassian server to attempt lateral movement, including an attempt on a non-production console server in its São Paulo, Brazil data center, which the post attributes to an ACL that was not enforced. The data center was new and not yet in production. The access was denied, and the actor reached none of the global network. Cloudflare's logs also show attempts on its internal metrics, network configuration, build system, alerting systems and release management system, none of them successful by its review. The post does not say which control denied the console server attempt or what protocol was tried, so this page maps the parent Remote Services technique as an attempt.
Cloudflare still sent the Brazil equipment back to its manufacturers, whose forensic teams examined it for access or persistence. They found nothing, and Cloudflare replaced the hardware anyway.
Path: Cloudflare ties the attempt to a non-enforced ACL
Result: denied; no access to the global network
Also tried, all unsuccessful: internal metrics, network configuration, build system, alerting systems, release management
Why the other attempts failed, per Cloudflare: access controls, firewall rules and hardware security keys enforced through its Zero Trust tools (a general statement; the post does not say what denied the console server attempt)
Detect: connection attempts from an application server to out-of-band management; treat an ACL that exists but is not enforced as a finding before a site goes live (this page's suggestion)
Of the 120 repositories the actor viewed in Bitbucket, it used the git archive feature on 76 to download them to the Atlassian server. Cloudflare could not confirm whether they were exfiltrated, and decided to treat them as exfiltrated. It says the 76 were almost all about how backups work, how the global network is configured and managed, how identity works at Cloudflare, remote access, and its use of Terraform and Kubernetes. A small number held encrypted secrets, which were rotated immediately although they were strongly encrypted.
The leaked Bitbucket service account is one of the four, but the post does not say it was used here. Bitbucket access appears in the timeline only after Sliver was on the Atlassian server, and Cloudflare does not say which path reached it. Because Cloudflare did not confirm that data left its network, this page maps the archiving to the Atlassian server as staging and maps no exfiltration technique. Cloudflare says that, as a SaaS company, it considers its source code less precious than that of companies that distribute software to end users, and that it has open-sourced much of it anyway, so its focus was on embedded secrets and vulnerabilities rather than on someone having the code. During Code Red it reviewed all 76 repositories for both and rotated the secrets it found in code.
Archived: 76, with Bitbucket's git archive feature, written to the Atlassian server
Contents: backups, global network configuration and management, identity, remote access, Terraform and Kubernetes
Exfiltration: not confirmed; Cloudflare treats the 76 as exfiltrated
Secrets: a small number of repositories held encrypted secrets, rotated immediately
Detect: one identity archiving dozens of repositories in a day; archives written to a server that is not a build host (this page's suggestion)
The alert that worked fired on a privilege change. Cloudflare's timeline shows no earlier alert, whether on the account created on November 16, the Sliver install on November 22 or the archiving of 76 repositories, and the post does not say whether rules for those events existed. The last known activity, at 10:44 on November 24, came after both accounts had been deactivated and the known addresses blocked, and Sliver was removed at 11:59. On this page's reading of the timeline, disabling the accounts did not by itself end access while the implant was still on the server.
Cloudflare's own team began investigating on November 23 and brought in CrowdStrike's forensic team on November 26. Code Red ran from November 27 to January 5. Beyond rotating every production credential, segmenting test and staging, triaging 4,893 systems and reimaging every machine in the global network and all its Atlassian products, Cloudflare looked for software packages that had not been updated, user accounts that might have been created, and unused active employee accounts. Cloudflare says CrowdStrike's assessment found no activity it had missed and confirmed 10:44 on November 24 as the last evidence of the actor; Reuters reported that CrowdStrike did not immediately respond to a request for comment.
16:00: automated alert to the security team
16:12: Cloudflare SOC starts investigating
16:35: Smartsheet service account deactivated
17:23: the actor's Atlassian account found and deactivated
17:43: internal incident declared
21:31: firewall rules block the actor's known IP addresses
November 24, 10:44: last known actor activity (confirmed by CrowdStrike)
November 24, 11:59: Sliver removed
🛡 How to Defend Against This Chain
aws iam get-access-key-last-used give last-used dates for access keys; for gateway service tokens and SaaS integration accounts, the gateway's and the application's authentication logs answer the same question. NHI Mgmt Group's case page on this incident makes both points: rotate every exposed credential without exempting the ones thought to be unused, and keep last-used data in the credential inventory. OWASP's Non-Human Identities Top 10 makes a related point under Vulnerable Third-Party NHI: keep a playbook for a suspected breach with a process to revoke and reissue every connected OAuth token.