Credential abuse shows up in 39% of breaches. Make SSH key-only
On this page
- How many breaches start with stolen or guessed credentials?
- Credentials are less often first, but still everywhere
- Where do the stolen passwords come from?
- What does SSH brute force look like from the internet?
- What changed in OpenSSH’s defaults?
- What this means if you run a server
- Key-only SSH checklist
- How RemarkableCloud handles it
- Methodology
- Questions and answers
- Sources and references
Credential abuse, meaning logins with stolen or guessed passwords, appeared in 39% of the breaches in Verizon’s 2026 Data Breach Investigations Report, more than any other technique. It was the very first step in 13% of breaches, down from 22% a year earlier, now that exploited vulnerabilities (31%) lead as the way in. For a server, the practical answer is the same either way: make SSH accept keys only, so a leaked or guessed password opens nothing.
The pressure is constant. In a single week of September 2026, 72,256 distinct IP addresses hit APNIC’s SSH and Telnet honeypot, and 2,621 of the attacking addresses ran the same command after logging in over SSH: one that replaces the server’s authorized keys with their own.
Below: what Verizon, Have I Been Pwned and two honeypot studies measured, what changed in OpenSSH’s defaults, and a checklist with the commands to switch a server to key-only SSH without locking yourself out.
How many breaches start with stolen or guessed credentials?

| Initial access vector (2026 DBIR) | Share of breaches | 2025 DBIR |
|---|---|---|
| Exploited vulnerability | 31% | 20% |
| Phishing | 16% | 16% |
| Credential abuse | 13% | 22% |
| Pretexting | 6% | not tracked |
Verizon’s report is built from real incidents, not a survey. The 2026 edition covers more than 31,000 incidents and more than 22,000 confirmed breaches in 145 countries, from November 2024 to October 2025. For the first time, exploiting a vulnerability was the most common first step of a breach.
Credential abuse covers the use of stolen credentials and brute force, in Verizon’s own description. Its drop from 22% to 13% is partly bookkeeping: this year Verizon started tracking pretexting (a scammer talking someone into handing over access) as its own vector. Measured the 2025 way, credential abuse would have been 16%.
Credentials are less often first, but still everywhere

| Measure | Value |
|---|---|
| Credential abuse as first step, 2024 DBIR (as restated in 2025) | 31% |
| Credential abuse as first step, 2025 DBIR | 22% |
| Credential abuse as first step, 2026 DBIR | 13% (16% on the 2025 method) |
| Credential abuse at any stage of a breach, 2026 DBIR | 39% |
| Use of stolen credentials as a breach action, 2026 DBIR | 36% |
| System Intrusion breaches starting with stolen credentials, 2026 DBIR | 39% |
The first-step number is falling. The overall number is not. In Verizon’s words, “if you consider all instances of credential abuse at any point in the breach progression,” it “still sits on top at 39%.” Attackers who get in through a bug or a phishing email still use stolen logins to move around, and in the System Intrusion pattern (complex attacks, ransomware among them), stolen credentials and exploited vulnerabilities each opened 39% of breaches.
Web applications show the same thing. In the 2025 edition, about 88% of breaches in the Basic Web Application Attacks pattern involved stolen credentials. The 2026 edition counts 2,281 breaches in that pattern and says the use of stolen credentials continues its historic run there.
Where do the stolen passwords come from?

| Measure | Value | Source and date |
|---|---|---|
| Pwned accounts in Have I Been Pwned | 17,863,315,853, from 1,055 breached sites | haveibeenpwned.com, read November 29, 2026 |
| Unique email addresses in one credential stuffing collection | 1,957,476,021 | Synthient data, added November 6, 2025 |
| Unique passwords in that collection | 1.3 billion, 625 million never seen by Pwned Passwords | Troy Hunt, November 5, 2025 |
| Infostealer logs added in June 2026 | 56.3 million email addresses, 124 million unique passwords | HIBP, added June 15, 2026 |
| Passwords posted for sale in 2024 | more than 2.8 billion | Verizon DBIR 2025 |
| Ransomware victims with an infostealer or credential leak within the year | 73% (27% had none) | Verizon DBIR 2026 |
| Of those, leak within 95 days before the victim was named | 50% | Verizon DBIR 2026 |
Credential stuffing is the attack these lists feed: take email and password pairs from one breach and try them everywhere else, because people reuse passwords. Have I Been Pwned (HIBP), the breach notification service run by Troy Hunt, now indexes almost 17.9 billion breached accounts.
Infostealers are the other source: malware on a personal or work computer that copies saved passwords and session cookies. In the 2025 DBIR, 46% of the infected devices that held corporate logins were not company-managed, and 54% of ransomware victims had their domains in at least one infostealer log. In the 2026 edition, 73% of ransomware victims had an infostealer or credential leak during the year, and half of those had one in the 95 days before the attack became public.
So a server password can leak without the server ever being touched: from a laptop, a reused password or a contractor’s machine.
What does SSH brute force look like from the internet?

| APNIC honeypot (September 21 to 27, 2026) | Distinct source IPs | Events |
|---|---|---|
| Cowrie (SSH and Telnet) | 72,256 | 121.1 million |
| Dionaea (Windows and database services) | 21,210 | 12.9 million |
| OpenCanary (RDP, VNC, databases) | 14,393 | 34.5 million |
| Fortinet SSL-VPN | 1,876 | 4.4 million |
| ADBHoney (Android debug port) | 1,841 | 23,000 |
| Webpot (web applications) | 1,723 | 32,000 |
| All honeypots | 98,958 | 173.0 million |
APNIC, the internet registry for the Asia Pacific region, ran six honeypots (decoy servers built to be attacked) for one week. “Nearly three-quarters of attackers targeted SSH or Telnet,” and the SSH and Telnet decoy logged 121.1 million of the 173.0 million events. The top SSH usernames were root (from 5,275 IPs), admin, support and ubuntu; the top password was 123456 (2,868 IPs).
The useful detail is what came next. 2,621 IPs ran the same one-liner after logging in over SSH: it deletes the existing ~/.ssh folder, writes a single attacker key into authorized_keys and locks the permissions. APNIC, citing Kaspersky, links the key to the Outlaw cryptomining botnet. As APNIC puts it, “Once the key is installed, the attacker no longer needs the password.” Changing the password afterwards does not remove them.
Two SANS Internet Storm Center studies show the speed and the volume:
- Volume: one DShield honeypot on a Raspberry Pi 4 logged more than 20 million SSH brute-force attempts between February 17 and May 26, 2026. In the first week it saw 200 to 400 attempts a day; on March 8 it saw more than 300,000. Most attempts targeted root.
- Speed: on another honeypot, an automated attacker logged in as root with a weak password at 01:06:43 UTC on May 23, 2026. Within 22 seconds it had injected a backdoor SSH key, changed the root password, cleared
/etc/hosts.denyand started reconnaissance. Nobody watching a dashboard reacts in 22 seconds.
What changed in OpenSSH’s defaults?
| OpenSSH release | Date | Change that matters here |
|---|---|---|
| 7.0 | August 11, 2015 | PermitRootLogin default changed from yes to prohibit-password: no password logins for root |
| 9.8 | July 1, 2024 | PerSourcePenalties on by default; sshd split into a listener and sshd-session; DSA disabled at compile time; fix for a race condition in 8.5p1 to 9.7p1 that could allow code execution as root |
| 9.9 | September 19, 2024 | Hybrid post-quantum key exchange mlkem768x25519-sha256 available by default; new refuseconnection penalty |
| 10.0 | April 9, 2025 | DSA support removed; authentication code moved into a separate sshd-auth binary; mlkem768x25519-sha256 the default key exchange |
One default has not changed: upstream, PasswordAuthentication is still yes. Unless your distribution or your provider set it otherwise, a fresh server may accept passwords for every user except root.
PerSourcePenalties is the most useful newer feature for this topic. When an address fails to log in, connects without authenticating or crashes sshd, sshd refuses further connections from it for a while, and repeat offenses get longer penalties. The defaults are 5 seconds per failed authentication, 1 second for connecting without authenticating, 90 seconds for a crash, and at most 10 minutes. That slows brute force down. It does not stop a password that is already on a list.
What this means if you run a server
- A strong password is not the fix. A password that leaks from a laptop or another site works on the first try, and no lockout catches it.
- Keys remove the target. With key-only SSH there is nothing to guess or reuse; the SANS write-up says it makes this class of attack ineffective.
- Check for keys you did not add. If an attacker’s key is there, the server is compromised, whatever the password is now.
- SSH is one door. Panels, WordPress and your hosting account take passwords too. In the 2025 DBIR, ways around multi-factor authentication showed up in only 4% of breaches, so 2FA is worth turning on everywhere.
Key-only SSH checklist
Keep your current SSH session open until the last step passes. Commands assume a Debian, Ubuntu or RHEL-family server and a user with sudo.
1. See who is knocking. Count failed password logins in the last day, then list the top source addresses.
sudo journalctl -u ssh -u sshd --since "24 hours ago" | grep -c "Failed password"
sudo journalctl -u ssh -u sshd --since "24 hours ago" | grep -oE "Failed password for .* from [0-9.]+" | awk '{print $NF}' | sort | uniq -c | sort -rn | head
On servers that log to files, use /var/log/auth.log (Debian, Ubuntu) or /var/log/secure (RHEL family) instead.
2. Look for keys you did not add. Check every authorized_keys file, and search for the comment APNIC found on the Outlaw key.
sudo find / -xdev -name authorized_keys -path '*/.ssh/*' -exec ls -l {} \; -exec cat {} \;
sudo grep -rl "mdrfckr" /root/.ssh /home/*/.ssh 2>/dev/null
3. Create an ed25519 key on your own computer and copy it to the server. Protect it with a passphrase when asked.
ssh-keygen -t ed25519 -C "you@laptop"
ssh-copy-id -i ~/.ssh/id_ed25519.pub deploy@your-server
ssh -o PasswordAuthentication=no deploy@your-server
The last command must log you in without a password prompt. If it doesn’t, stop here.
4. See the settings sshd is actually using. sshd -T prints the effective configuration after every included file.
sudo sshd -T | grep -Ei '^(passwordauthentication|kbdinteractiveauthentication|permitrootlogin|pubkeyauthentication|allowusers|maxauthtries|persourcepenalties)'
5. Turn off passwords. sshd keeps the first value it reads for each keyword, and files in an included folder are read in lexical order. Check whether your sshd_config includes a folder:
grep -i '^Include' /etc/ssh/sshd_config
If it includes /etc/ssh/sshd_config.d/*.conf, create /etc/ssh/sshd_config.d/00-key-only.conf so it is read first. If not, put these lines near the top of sshd_config.
PubkeyAuthentication yes
PasswordAuthentication no
KbdInteractiveAuthentication no
PermitRootLogin prohibit-password
AllowUsers deploy
Replace deploy with your own login users, separated by spaces. Only users on the AllowUsers line can log in at all, so add root if you still log in as root with a key, or set PermitRootLogin no if you don’t.
6. Validate, then reload. sshd -t checks the syntax and prints nothing when the file is fine.
sudo sshd -t && sudo systemctl reload ssh # Debian, Ubuntu
sudo sshd -t && sudo systemctl reload sshd # RHEL family
7. Test in a second session before you close the first. From a new terminal on your computer, the first command must fail with “Permission denied (publickey)” and the second must log you in.
ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password,keyboard-interactive deploy@your-server
ssh deploy@your-server
Then run step 4 again and confirm passwordauthentication no and kbdinteractiveauthentication no.
8. Slow down the rest. On OpenSSH 9.8 or newer, PerSourcePenalties is already on (PerSourcePenaltyExemptList can exempt your own fixed address). On older versions, fail2ban blocks addresses after repeated failures.
ssh -V
sudo sshd -T | grep -i persourcepenalties
sudo fail2ban-client status sshd
9. Close the other doors. Turn on two-factor authentication for your control panel, your hosting and registrar accounts, and every WordPress administrator. Keep OpenSSH patched with the rest of the system.
How RemarkableCloud handles it
Every server we sell is fully managed at no extra cost. Logs are collected centrally, and the firewall and intrusion detection system on each server are managed by us and fed by centralized log analysis and live threat data.
Patching is part of the same service: our agents detect newly reported vulnerabilities and measure which servers are exposed, we apply preventive measures before a patch exists, and patches are tested on a dev box and canary servers before they are deployed. Every server gets an automatic daily snapshot, and extra snapshots are free, so you can take one before an SSH change.
We configure and support everything we install on your server. If you want your SSH access switched to keys, or want someone to check your authorized_keys files, open a ticket and our 24/7 team will go through it with you.
See what a fully managed VPS includes, compare it with running an unmanaged droplet yourself, or read how fast attackers exploit new flaws, the other half of the 2026 DBIR story.
Methodology
- Verizon DBIR 2026: more than 31,000 incidents and more than 22,000 confirmed breaches in 145 countries, with data from November 1, 2024 to October 31, 2025. The 13% credential abuse figure includes the effect of tracking pretexting separately for the first time; Verizon gives 16% as the figure comparable with the 2025 edition. The 73% of ransomware victims with a leak is our arithmetic from Verizon’s statement that 27% had none; that analysis used an expanded set of ransomware victims from the two previous years.
- Verizon DBIR 2025: 22,052 incidents and 12,195 confirmed breaches, November 1, 2023 to October 31, 2024. The 2024 credential figure (31%) is the 2025 edition’s restatement of the prior year under its new method. The 2025 edition put phishing at about 15%; our table uses the 2026 edition’s “remained at 16%”.
- Have I Been Pwned: the account and site counts are from the HIBP home page, read November 29, 2026. Breach details are from HIBP’s breach pages and Troy Hunt’s November 5, 2025 post. HIBP counts unique email addresses, not people.
- APNIC honeynet: six honeypots run by APNIC from September 21 to 27, 2026, published October 26, 2026. Cowrie covers both SSH and Telnet, so 72,256 is a combined count. APNIC reports 9,669 IPs attempting SSH logins and the same number for Telnet, which may be an editing error, so we do not use either figure. Honeypots accept logins by design, so the 2,621 IPs show what attackers do after a successful login, not how often real servers are breached.
- SANS Internet Storm Center: two guest diaries by SANS.edu students on single honeypots: June 17, 2026 (DShield sensor, February 17 to May 26, 2026) and August 6, 2026 (Cowrie sensor, compromise on May 23, 2026). Single-sensor numbers show patterns, not internet-wide totals.
- OpenSSH: release announcements for 7.0, 9.8 and 10.0, the 9.9 release notes, and the sshd_config(5) manual page for defaults and PerSourcePenalties durations. Linux distributions can ship different defaults.
Questions and answers
How many breaches start with stolen credentials?
In Verizon's 2026 Data Breach Investigations Report, credential abuse was the first step in 13% of breaches, down from 22% a year earlier, partly because Verizon now counts pretexting separately. Counted at any stage of a breach, credential abuse appeared in 39%, more than any other technique.
How often do attackers try to log in to SSH?
Constantly. In one week of September 2026, 72,256 distinct IP addresses hit APNIC's SSH and Telnet honeypot, and a single SANS DShield honeypot on a Raspberry Pi logged more than 20 million SSH brute-force attempts in 100 days.
What do attackers do after guessing an SSH password?
They plant their own key so they no longer need the password. In APNIC's honeypot, 2,621 IP addresses ran the same command after logging in, replacing the authorized_keys file with an attacker key, and a SANS honeypot saw a key planted and the root password changed within 22 seconds of login.
Is PasswordAuthentication disabled by default in OpenSSH?
No. The upstream default for PasswordAuthentication is still yes. The root account has been limited to key logins by default since OpenSSH 7.0 (prohibit-password), and OpenSSH 9.8 added PerSourcePenalties, which slows down repeated failed logins by default.
How do I make SSH key-only without locking myself out?
Add your ed25519 key first, set PasswordAuthentication no and KbdInteractiveAuthentication no, check the result with sshd -T, and test a new login in a second session before you close the one you are working in.
Sources and references
- Verizon, 2026 Data Breach Investigations Report · verizon.com
- Verizon, 2025 Data Breach Investigations Report · verizon.com
- Have I Been Pwned · haveibeenpwned.com
- Have I Been Pwned, Synthient Credential Stuffing Threat Data · haveibeenpwned.com
- Have I Been Pwned, June 2026 Stealer Logs · haveibeenpwned.com
- Troy Hunt, 2 billion email addresses were exposed and we indexed them all · troyhunt.com
- APNIC Blog, One week on the APNIC honeynet · blog.apnic.net
- SANS ISC, The behavior of coordinated SSH brute force attacks · isc.sans.edu
- SANS ISC, 22 seconds to compromise · isc.sans.edu
- OpenSSH 7.0 release announcement · lists.mindrot.org
- OpenSSH 9.8 release announcement · openwall.com
- OpenSSH 9.9 release notes · openssh.org
- OpenSSH 10.0 release announcement · openwall.com
- OpenBSD manual, sshd_config(5) · man.openbsd.org