Learn / Attack archive / Lesson 27

Edge devices and mass exploitation

Why firewalls, VPNs and file-transfer servers are now the most attacked machines on the internet, why patching them is not the end, and how to shrink what faces the world.

Last updated: 2026-09-23

What it is

An edge device sits between a company and the internet: a VPN gateway, a firewall, a remote-access portal, a file-transfer server. It has to accept connections from anyone, so it is always reachable. Its whole job is to be trusted.

Mass exploitation is what happens when one of those products has a hole. Attackers do not pick a victim. They scan the entire internet, which takes minutes, and hit every unpatched box at once. The victims are whoever had not patched yet.

Why it is a rule

Why it keeps working

How to do it

1. Shrink what faces the internet

List every service reachable from outside. For each one, ask whether it has to be public. Admin panels, databases and management portals should not be. Put them behind a private network or an identity-aware proxy.

sh
# what the internet can see on your address
nmap -Pn --top-ports 1000 your.public.ip

2. Patch on a clock, not a calendar

When a flaw in an internet-facing product is on CISA's Known Exploited Vulnerabilities list, it is being used right now. Treat that as an incident: patch in hours or days, or turn the feature off until you can.

3. After patching, assume you were already hit

The Citrix Bleed and ToolShell victims who only patched were still compromised.

4. Retire what is no longer supported

A device past its end of life will never get a patch. CISA now tells US agencies to find and remove unsupported edge devices, and the same advice fits everyone.

5. Prefer fewer, simpler doors

One well-maintained entry point, kept current, is safer than five appliances from five vendors.

How we do it here

The site is one small web server behind a CDN. We do not run VPN gateways, file-transfer servers or other appliances of our own; the hosting platform patches the machines under us, and our own dependencies are kept current.

Benefits

Disadvantages

Checklist

Sources

Read this lesson as Markdown