A revisit of remote Spectre attacks on Cloudflare Workers
Cloudflare reviewed its defense against remote Spectre attacks after discovering newer techniques for stabilizing those attacks.
Overview
Cloudflare researchers retested a type of attack called Spectre against their Workers platform, which runs untrusted JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers code on shared hardware. They found that their previous defense, Dynamic Process Isolation, had a limitation that allowed an attacker to leak data at a rate of up to 12 bit1 binary digit, a 1 or a 0 (a switch that is on or off)/s with 99% accuracy. The platform hosts code from tens of thousands of different tenantsOne organization's dedicated, isolated slice of accounts and data inside a shared cloud service in the same operating system process, meaning a single vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend could expose data from one user to another. The researchers built an updated proof-of-conceptA working sample of code or steps that shows a reported security flaw can really be triggered to test the risk under real production conditions, including obstacles like interrupts and context switches. As a result, they improved their defenses by integrating the V8 SandboxAn isolated test environment where a program can run without touching the rest of the computer and an in-process isolation mechanism. No evidence of active exploitationA piece of code or technique that uses a software flaw to break into or crash a system was found over the last three years, and the specific attack described is now mitigated in the production system.
Terms in this story
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- bit
- 1 binary digit, a 1 or a 0 (a switch that is on or off). Every file, network packet, and cryptographic key in a computer is stored as a long sequence of bits, and key strength is measured by how many bits the key contains. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- tenants
- One organization's dedicated, isolated slice of accounts and data inside a shared cloud service. Even though many companies share the same cloud provider's hardware, each company manages its own users, policies, and storage inside its own cloud tenant.
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- proof-of-concept
- A working sample of code or steps that shows a reported security flaw can really be triggered. When researchers publish a proof-of-concept for a new bug, defenders can test their own systems, but criminals also watch for that code and adapt it for real attacks.
- Sandbox
- An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
- exploitation
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- production environment
- The live servers and databases that real customers actually use, as opposed to internal test machines. A bug or breach in a company's production environment directly affects live users and real customer records.
- workloads
- An application, service, or computing task running on a server, virtual machine, or cloud cluster. Cloud security platforms protect each workload by assigning it a dedicated identity and watching which network connections and files that specific task touches.
- disclosure
- The process of reporting and publishing details about a newly discovered security flaw in software or hardware. In security news, disclosure refers either to a researcher privately alerting a vendor about a bug or to a company publicly notifying customers about a breach.
- Runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cloudflare website. Cite the article, not this page.
Read the full article on Cloudflare (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
...we decided to internally reassess the remote Spectre... Found by reading the article; these words are close to its own - CYBR 101 week 8: networks, ports, DNS and packets
"A revisit of remote Spectre attacks on Cloudflare Workers..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Analyze identified malicious activity to determine weaknesses exploited, exploitation methods, effects on system and information.
"Our research uncovered a limitation in the implementation of DyPrIs..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role