Cloudflare Security Brief: 2023 Insights
Cloudflare Security Brief: 2023 Insights
Security Brief
Threats against people, apps, and infrastructure
Table of contents
Table of contents
DDoS attacks grew in size Organizations must prepare Phishing attacks show no
and complexity for rapid weaponization signs of slowing down
In 2023 Cloudflare detected multiple Cloudflare observed attempted After nearly 30 years of attacks, phishing
record-breaking DDoS campaigns, with exploitation of a new vulnerability just remains a top threat. 48% of phishing
hyper-volumetric attacks peaking at 201 22 minutes after a proof-of-concept was attacks try to get users to click on a
million requests per second. published.1 deceptive link.2
Organizations have
larger API attack surfaces Generative AI investments VPN replacement is frequent
than they think create new attack targets in Zero Trust adoption
APIs are a prime target for attackers Custom large language models (LLMs) 75% of cyber security & IT professionals
targeting data. Cloudflare found 33% more are a veritable goldmine for attackers. implementing Zero Trust report that they
API endpoints through machine learning Organizations that invest in LLMs must have replaced or plan to move away from
than what customers self-reported, on understand the three types of LLMs and VPNs for all employees.4
median.3 the risks they create.
Distributed denial of service (DDoS) attacks are evolving. No longer a low-level HTTP/2 vulnerabilities continue to be discovered, such as the April 2024 discovery
annoyance, Cloudflare observes DDoS used as a tool for external threat actors of CONTINUATION Flood, which has the potential to crash a web server with a
to interfere with government functions and business continuity. For example, single TCP connection. Cloudflare expects that threat actors will continue to exploit
in November 2023, OpenAI’s ChatGPT faced outages due to DDoS attacks, vulnerabilities in Internet protocols to scale DDoS attacks and wreak havoc.
impacting millions of users.5
DDoS remains a top attack method for threat actors, and in 2023 those attacks
reached new heights. In Q3 2023, Cloudflare discovered a persistent and
Largest HTTP DDoS attacks
deliberately engineered campaign of thousands of hyper-volumetric DDoS attacks.
Our systems detected and mitigated the largest attack we’ve ever seen — 201
2019 3M rps
million requests per second (rps) — which was almost eight times larger than our
previous record in 2022 of 26 million rps.
The attacks exploited a vulnerability in HTTP/2 protocol called Rapid Reset 2020 8M rps
which leverages HTTP/2’s stream cancellation feature by sending a request
and immediately canceling it over and over. It is likely that the threat actors
Year
2021 17M rps
deliberately tested the exploit against Cloudflare’s network because of its size –
very few organizations can absorb DDoS attacks at this scale.
One crucial thing to note is that this technique dispels the myth that a large 2022 26M rps
number of bots are necessary to participate in an attack. It used a modestly-sized
botnet, consisting of roughly 20,000 hosts. Cloudflare regularly detects botnets 201M rps
2023
that are orders of magnitude larger than this.
0M rps 50M rps 100M rps 150M rps 200M rps 250M rps
Segmenting application-layer DDoS attacks by industry, we see the five most targeted
industries were gaming/gambling, IT/Internet, cryptocurrency, computer software, and
marketing/advertising. Gaming/gambling frequently tops our list for most attacked industry
due people seeking to gain a competitive advantage in gaming.
However, DDoS attacks are widespread – these are not the only industries that should
prioritize mitigations. Normalizing DDoS attacks by an industry’s total volume of traffic
allows us to identify which industries have outsized targeting relative to their smaller size.
Biotechnology, transportation, cryptocurrency, events service, and chemicals are the most
attacked industries relative to their total traffic volume.
Application-layer DDoS attacks by top industries Application-layer DDoS attacks by top industries
Divided by volume of worldwide DDoS traffic Divided by traffic of each industry
Asia
Europe
NAMER
Gaming and
Gaming and Middle East
Gambling
Gambling
Marketing and
Advertising
IT and Internet
Africa
Oceania
Farming
Telecom
Deceptive Link
Phishing is an attempt to get a user to take an action such as downloading
malware, clicking links to harvest credentials, or transferring money. Phishing Domain Age
has plagued organizations for decades and shows no signs of slowing down. In Extortion
fact, 9 out of 10 successful cyber attacks start with phishing. Identity Deception
Over a 12-month period, Cloudflare processed more than 15 billion emails, Credential Harvester
providing visibility into popular phishing tactics and trends. Brand Impersonation
Threat
ASN Reputation
Deceptive links were the #1 phishing tactic, included in 48% of all malicious
emails. Links remain popular because of the various ways in which links can be Attachment
masked to retain authenticity, including link shorteners for deferred attacks or Account Compromise
QR codes that pivot users to a less secure mobile experience. Scam
9 out of 10 Recently, AI has been much hyped as an offensive boon to increase personalization and
speed in phishing emails. While Cloudflare’s email security analysts observed an increase
in LLM-written phishing emails, AI’s impact on successful phishing attempts against
successful cyber attacks enterprises is relatively minimal.
start with phishing
Advancements in machine learning and artificial intelligence help defenders too. Employing
a range of analytic techniques across technical email structure, text sentiment, and historic
communication patterns can reliably stop LLM-generated phishing attacks.
APIs help organizations integrate and operate their Unfortunately, many organizations lack accurate API
environments to fuel competitive advantages — with greater inventories. Cloudflare found 33% more API endpoints
business intelligence, swifter cloud deployments, and more. through machine learning-based discovery, compared to
And they’re heavily used: today, APIs outpace other Internet what organizations self-reported.
traffic, comprising more than half (58%) of the dynamic
APIs that have not been managed or secured by the
Internet traffic processed by Cloudflare last year.9
organization using it — also known as ‘Shadow’ APIs, are
However, as the API economy grows, so do the problems often introduced by developers or individual users to run
of loss of control and complexity with API development, specific business functions.
management, and security.
While they are not inherently malicious, shadow APIs are
APIs are increasingly complex to manage and protect unprotected attack surfaces that introduce new risks.
against abuse. Unprotected APIs can lead to data exposure,
Organizations cannot properly defend what they cannot see.
unpatched vulnerabilities, data compliance violations, lateral
And those that implement API security without an accurate
movement, and other threats.
picture of their API landscape can also unintentionally block
APIs are also a cornerstone of AI implementations, as legitimate traffic
the primary mechanism for interacting with generative AI
models. Protecting AI models will require a strong handle
on the existence, permissions, and usage of APIs across an
organization.
Cloudflare found
33% more API endpoints
than what organizations self-reported
Public LLMs
LLM accessed outside the boundaries of a corporation, often for free.
Examples: GPT from OpenAI or Claude from Anthropic.
Key risk: sensitive data leakage
Recommendations
Deploy threat intelligence and in-line, Manual scrubbing centers do not scale with modern, high-volume attacks. Use multiple detection techniques to optimize
automated DDoS mitigation solutions security posture:
1. Dynamic stateless fingerprinting
2. Machine learning-based classification
3. Anomalous traffic detection
4. Traffic profiling and stateful mitigation
5. Threat intelligence on current DDoS activity and trends
Build a disaster recovery scenario for a Start by identifying critical infrastructure vulnerable to DDoS attacks and the impact of their downtime. Be sure to include
continuous, long-lasting DDoS attack commonly forgotten, but still vital aspects of network stacks, such as DNS servers and VPN endpoints.
Update network, DNS and application Ensure your DDoS mitigation capacity is large enough to handle twice the largest attacks on record and twice the max rates of
infrastructure to be more resilient for your legitimate traffic. Ensure your security vendor can mitigate the latest network and application layer protocol vulnerabilities.
your traffic profile Offload DNS traffic to compliant and secured cloud platforms with traffic routed through edge networks closest to the user.
Improve network and application Leverage a digital waiting room to ensure real users and visitors are gracefully informed of the waiting period without
performance to avoid bottlenecks overwhelming application servers. Optimize caching, manage loads better with a content delivery network (CDN) and cloud
based loading balancing solutions.
Use a positive security model: Ensure Keep business critical protocols, IPs, ASNs, ports and user-agents open to clean traffic. Use schema validation and an API
that desired traffic gets in reliably gateway for API traffic.
Patching is often the best method to mitigate vulnerability risk, but it can’t be the
only method. Organizations must develop strategies to address both the window
of exposure before a patch becomes available, as well as the time it takes to fully
vet and deploy a patch into production systems.
The best place to start is attack surface reduction. Ensuring assets are
properly protected, with network segmentation using Zero Trust principles, can
dramatically reduce what threat actors can discover and compromise.
A web application firewall (WAF) that stops threats based on up-to-date threat
intelligence is essential for protecting Internet-facing assets that can’t live behind
the network firewall. And in the case of major vulnerabilities with no patch or
patching resources, creating (or using vendor-provided) rules to stop targeted
exploitation is an effective mitigation until a patch can be applied.
Finally, given limited resources, and thousands of vulnerabilities disclosed each
month, organizations must prioritize patching based on active exploitation. There
are over 20,000 vulnerabilities disclosed each year, but most are never exploited.
Focusing on known exploitation is the best way to quickly reduce the risk of
compromise. A good start point is CISA’s Known Exploited Vulnerabilities Catalog.
The most comprehensive approach for protecting APIs is Phase API visibility
to implement a holistic web application and API protection
(WAAP) platform. However, an organization that is just Companies must first track and formally manage all their API endpoints, including any shadow APIs. However,
when they do find APIs, it is difficult to accurately build a unique schema for each of potentially hundreds of
beginning to acknowledge their API exposure may not find API endpoints. With an API visibility service, organizations can both automatically discover API endpoints and
this feasible overnight. Progress needs to start somewhere. identify who owns that API and how that API should be used.
Cloudflare recommends implementing API protection in
three phases. Phase General web attack protection
Web applications and APIs often work together (for example, an ecommerce website using an API to process
payments). However, the global nature of the Internet exposes websites and other applications to attacks from
many locations, at various levels of scale and complexity. The following are ‘table stakes’ services to directly
protect web applications and the APIs behind them from DoS and DDoS attacks, credential stuffing, zero-day
vulnerabilities, and other threat types:
• DDoS mitigation services sit between a server and the public Internet to prevent surges of malicious traffic
from overwhelming the server
• A Web Application Firewall (WAF) filters out traffic known (or suspected) to be taking advantage of web
application vulnerabilities
• Encryption certification management helps manage key elements of the SSL/TLS encryption process
• Rate limiting protects endpoints from DoS attacks, brute-force login attempts, and other API traffic surges —
without penalizing legitimate users.
Advanced API security, using unsupervised machine learning, is capable of developing separate baselines for
each API, and predicting the intent of API requests (whether legitimate or malicious) as they are made.
Time and time again have proven that perimeter-based security models do not work Speed of implementation — contractors, in particular, have limited remote
for the modern threat landscape. Increasingly, organizations are turning towards Zero access needs that can often be fulfilled without installing end-user software, which
Trust security best practices. The premise of never trust, always verify, is simple, and can simplify a project rollout and provide a “quick win” for strengthening security
the benefits are clear — improved security outcomes, reduced breach costs, higher
operational efficiency, and improved user experience — but successfully deploying Zero
Trust is much easier said than done.
Flexibility and openness to change — for example, the security team
might be the best first customer if a pilot project can be tightly scoped and done in
Typically, Zero Trust adoption is broken out into several phases. Implementations tandem with existing infrastructure
consistently start with a smaller use case or targeted set of users, prove out the value,
and then expand from there. The plan will invariably evolve along the implementation Users/roles/apps that are at greater risk for attacks — developers
path, but having a plan is essential to success. who have access to valuable intellectual property, security/risk professionals,
executives may be prime targets, or sensitive internal apps housing customer or
There is no perfect answer for how to choose a starting point, but frequently-cited
financial data
internal decision factors include:
Cloudflare
All services with one control plane on one programmable global cloud network
Phishing definitions
Account compromise — When an attacker takes control of a impersonated brand but with a different top level domain (TLD). higher score. Domains with low reputation scores are often used in
user’s email account. This is also referred to as Email Account These techniques can be leveraged throughout all sections of an attacks.
Compromise (EAC), which is a close relative of Business Email email, including the sender display name, email address (including
Compromise (BEC). Attackers use a wide array of techniques such the sender domain name), subject line, body content (HTML and Extortion — This tactic is commonly used to force a person or
as dictionary brute forcing, credential harvesting attacks, and plaintext), hypertext for links, and hyperlinks themselves (i.e., the organization to perform a set of actions they would not otherwise
credential theft. The essential details are that a user’s email account actual URLs). normally perform. This is typically done under duress; for example,
credentials become compromised through malicious actions. asking the intended victim to pay a ransom during a DDoS attack.
Subsequently, the attacker uses that account to send malicious Business email compromise (BEC) — An increasingly common, The level of extortion can lead to a wide range of compromise
content to new targets. effective, and costly targeted email attack designed to trick depending on the attacker’s intentions and resources. Identity
recipients into transferring funds, typically through forged invoices, deception — This occurs when an attacker or someone with
ASN reputation — The overall score assigned to an Autonomous to scammer accounts. BEC falls into various categories based on its malicious intent sends an email claiming to be someone else. The
System Number (ASN) based on behavior. For example, ASNs from sophistication, ranging from using a spoofed email to compromising mechanisms and tactics of this vary widely. Some tactics include
which high volumes of spam or malicious emails originate, will tend a vendor in a supply chain attack. registering domains that look similar (aka domain impersonation),
to have poorer reputations and thus lower scores. ASNs with low are spoofed, or utilize display name tricks to appear to be sourced
reputation scores are often used in attacks. Credential harvesters — Sites set up by an attacker to deceive from a trusted domain. Other variations include sending email using
users into providing their login credentials. This particular attack domain fronting and high-reputation web services platforms.
Attachment — Any file attached to an email that, when opened or presents the user with a page that imitates an email or other
executed in the context of an attack, includes a call-to-action (e.g., account login page. Unwitting users may enter their credentials, Scam — A broad category of phishing fraud. The foundation is to
lures target to click a link) or performs a series of actions set by ultimately providing attackers with access to their accounts. entice a victim to provide money under a promise of a product,
an attacker. If the intended victim opens an attachment or clicks Because people often reuse passwords for multiple accounts, a service, good, or even significant sum of money in return. The
a malicious attachment link, they may ultimately install a piece of member of your organization providing credentials to a harvester common theme is the transfer of money in a method that is atypical
malware that could lead to ransomware or follow-on operations may give an attacker access to many accounts. for the sender. Changes in common payment practices or sudden
through backdoors and RATs. demands to pay sums via wire transfer can also be indicators.
Deceptive link — When clicked, a deceptive link will open the user’s
Brand impersonation — A form of identity deception where default web browser and render the data referenced in the link, Voice phishing — Also called “vishing,” this usually refers to the
an attacker sends a phishing message that impersonates a or open an application directly (e.g. a PDF). Since the display text practice of leaving fake voice messages in hopes that victims
recognizable company or brand. Brand impersonation is conducted for a link (i.e., hypertext) in HTML can be arbitrarily set, attackers will call back to provide personal information (such as) bank and
using a wide range of techniques. A common one is display name can make a URL appear as if it links to a benign site when, in fact, credit card details), which will be used in other attacks. In our
spoofing, where the sender display name in the visible email it is actually malicious. Malicious links can lead to arbitrary code email security detections, we have observed attackers combining
headers includes a legitimate brand. In addition, attackers might execution or Remote Code Execution (RCE), credential harvesting, email and voice vectors by sending emails with attachments of
use domain impersonation. In this case, the attacker registers a click fraud, unwanted installs, and other compromises. a voicemail recording, media file or a link to a file. We have also
domain that looks similar to the impersonated brand’s domain, and observed attackers sending emails that had no malicious payloads,
uses it to send phishing messages. Domain age (related to domain reputation) — The overall score just a phone number
assigned to a domain. For example, domains that send out a large
Attackers often use various forms of obfuscation, such as number of new emails immediately after domain registration will
homograph spoofing, in brand impersonation attacks. They might tend to have a poorer reputation, and thus a lower score. Whereas
also register the exact same domain name as that used by the older, known domains tend to have a positive reputation, and thus a
Endnotes
1. Jetbrains disclosed CVE-2024-27198 on March 4th, 2024 6. Source: CVE Details
at 14:59. Rapid7 published a proof-of-concept analysis
7. Source: Edgescan, 2024 Vulnerability Statistics Report
of CVE-2024-2178 several hours later at 19:23 UTC. At
19:45 UTC, Cloudflare observed attempted exploitation 8. Source: Google, We’re All in this Together A Year in
of the vulnerability. Review of Zero-Days Exploited In-the-Wild in 2023
2. Based on a sample of threat indicators (“categories”) 9. Between April 1, 2023 - March 31, 2024, API traffic with
detected by the Cloudflare email security service successful responses (200 status code) represented
between April 1, 2023 - March 31, 2024,. These a median 58% of Cloudflare’s dynamic HTTP traffic.
indicators lead to email dispositions of malicious, BEC, Dynamic content is content that changes based on
spoof, or spam. Individual messages may contain factors specific to the user, such as time of visit, location,
multiple threat categories such as “Identity Deception”, and device.
“Brand Impersonation”, “Link”, and others that are
10. Source: IDC Forecasts Spending on GenAI Solutions Will
described in the appendix.
Reach $143 Billion in 2027 with a Five-Year Compound
3. For REST API endpoints, Cloudflare’s API Discovery Annual Growth Rate of 73.3%
found on median 33% more endpoints through machine
11. Source: Oligo, ShellTorch: Multiple Critical Vulnerabilities
learning than we discovered via customer-provided in PyTorch TorchServe Threatens Countless AI Users
session identifiers across all customers’ domains/zones,
per account, over the time period April 1, 2023 - March
31, 2024