Worth knowing

Four seconds: why you shouldn't port forward to your NAS

← All articles
A Raspberry Pi on a living room shelf glowing red, connected by a network cable to a home router, with a night-time world map in the window behind

On 11 February 2026, a security researcher published a second-by-second account of something most of us never get to see: what happens when a small home computer answers the internet with a password login switched on.

It took four seconds.

What happened

Johnathan Husch, a student on the SANS Institute's security degree programme, runs a sensor: a small computer connected to the internet with its SSH port open, doing nothing but recording who knocks. It doesn't have to wait long. Attempts on port 22 are so constant that sensors like his log them all day, every day. His write-up, published by the SANS Internet Storm Center, picks out one of those attempts and follows it from start to finish:

08:24:13 A machine in Germany connects to the sensor's SSH port, the door used to log in to a Linux computer remotely.

08:24:14 It logs in as pi, the standard user name on a Raspberry Pi, with a password it already had on its list.

08:24:15 It uploads a small program.

08:24:16 The program starts, and sets itself up to start again every time the device restarts.

08:24:17 The attacker disconnects. The job is done.

"This entire attack chain took under 4 seconds and began scanning for other vulnerable devices immediately after." SANS Internet Storm Center, February 2026

What the program did next

It didn't steal anything straight away, and it didn't announce itself. It quietly checked in with its controller and waited for orders. Then it went hunting: it installed scanning tools, picked 100,000 random internet addresses, looked for any that answered on the SSH port, and tried the same two passwords on each one. The researcher expected the next order to be to install software that mines cryptocurrency, using the owner's electricity.

That's why the knocking never stops. Every device taken over becomes another scanner, trying 100,000 more addresses, and every one it gets into does the same. The Internet Storm Center publishes a live list of the busiest port 22 scanners. On the day we wrote this, a single address at the top of that list had been reported more than 18,000 times.

Why this matters if you have a NAS at home

Nobody chose that sensor. Nobody chooses you either. Programs like this try every address on the internet, all day, every day. The only question is whether your device answers.

At home, behind your router, your NAS doesn't answer. Your router doesn't let strangers in. Port forwarding is how you change that. It's a router setting that says "send anything that arrives on this door straight through to that device". It's tempting, because it's the quickest way to reach your files from outside, and plenty of online guides suggest it. The two doors people forward most often are the riskiest:

To be fair

Port forwarding isn't wicked. It's a standard router feature, and people who know exactly what they're exposing, keep it patched and lock down the logins can use it carefully. But a NAS holds the things you'd least like to lose or have read: family photos, documents, years of your life. It's the wrong thing to put on the front doorstep.

The question worth asking yourself

Have you, or has an app, opened a port on your router? Most routers list their rules on a page called Port Forwarding, Virtual Server or NAT. If you see ports 22 or 80 pointing at your NAS and don't need them, remove them. While you're there, check whether UPnP is on. It lets devices open ports for themselves without asking you.

Remote access without opening your router

myUSBdrive's remote access doesn't use port forwarding at all. Your Pi makes an outgoing connection to Cloudflare, so there's no open port on your router and nothing for a scan to find. You reach your drive at your own web address over an encrypted HTTPS connection, with your login and two-factor authentication for extra security away from home. Security updates for the Pi install automatically, and when a new version of myUSBdrive is ready, with its security fixes, you get a notification to update.

See how remote access works

Sources: The attack timeline and quote are from "Four Seconds to Botnet", SANS Internet Storm Center, 11 February 2026. Live port 22 scanning figures: SANS Internet Storm Center. How Cloudflare Tunnel connects outward only: Cloudflare documentation.

← All articles