Cybersecurity news

Jessica Doner

Back to the list

When scanners miss the attack: how Cloudflare Client-Side Security protects storefronts

Cloudflare,

Cloudflare's machine learning model detects malicious JavaScript that siphons revenue and hijacks clicks while storefronts appear healthy.

Overview

Cloudflare reports that its Client-Side Security machine learningBuilding software models that learn patterns from example data instead of following only hand-written rules model detected eight malicious JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers payloads in live traffic that standard security scanning tools missed. These scriptsA short program written in an interpreted language to automate tasks in a browser, shell, or application operated on online storefronts to steal affiliate revenue, hijack user clicks, and tamper with analytics without breaking the site's visible functionality. The detection was automated, with humans verifying the findings only after the system flagged them. Seven of the eight payloads were absent from VirusTotal, and URLScan returned no malicious verdict for any of them. One specific payload version remained unclassified by URLScan for nearly two and a half years before the model identified it. The scripts used varied techniques, such as staying dormant until specific conditions were met or hiding requests in invisible iframesAn HTML element that embeds one web page inside a frame on another web page.

Terms in this story

machine learning
Building software models that learn patterns from example data instead of following only hand-written rules. Many spam filters and endpoint security tools use machine learning to spot unfamiliar malware, while attackers probe those models to find inputs that slip past detection.
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.
script
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.
iframe
An HTML element that embeds one web page inside a frame on another web page. Online services use an iframe to embed videos or payment forms, and attackers sometimes hide an invisible iframe on a compromised site to load exploit kits or phish clicks.
scanners
Using automated tools to probe computers, networks, or code for known security flaws and missing patches. Both defenders and attackers run vulnerability scanning across internet-facing servers to find out which machines are still running outdated software versions. Security+ objective 4.3 lists the term
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
malicious payloads
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
bytes
A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
hash
A short, fixed-length fingerprint of data, made by a hash algorithm with no key. Security reports list file hashes so defenders can check whether a suspicious program on their network matches known malware, and servers store password hashes instead of plain passwords. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
signature
A known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin. In security news, a signature means either a pattern that scanners use to recognize known malware or a cryptographic signature that proves a software update was not altered.
npm packages
A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term

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.

How a story is connected to the course, and every objective, week and job role

Related