easm.chUnderstanding your external attack surface

Open services and admin panels

Databases, remote maintenance, FTP and login pages on the internet: which doors may be open and which should be closed.

1 min read · in plain words and for experts

Diagram
  1. Internet
  2. Open port
  3. Login without second factor
  4. VPN only

Doors and windows

A server has many “doors”, called ports. Everyone should come in through the main door (the website). Other doors are for staff only: website administration, remote maintenance, the database. These doors do not belong on the street.

What is dangerous

  • Databases on the internet are like an open archive in the shop window. They always belong behind the firewall.
  • Remote maintenance (e.g. Remote Desktop) is one of the most common entry points for ransomware attacks.
  • Unencrypted services such as FTP transmit passwords in readable form.
  • Login pages of admin panels are constantly attacked with guessed passwords.
A door with a good lock is better than one without. A door that does not lead to the street at all is best.

What you can do

  • Switch off services that are not needed or block them in the firewall.
  • Allow administration and remote maintenance only via VPN or for specific addresses.
  • Where that is not possible: two-factor login and blocking after failed attempts.
  • Replace FTP with SFTP.

If a door has to stay open, for example your hosting provider's admin panel, you can knowingly accept the risk – with a reason and protective measures.

In short

  • Every open port is a door to the server.
  • Databases and remote maintenance never belong directly on the internet.
  • Admin panels only with VPN, IP allow list or 2FA.
  • Replace unencrypted services such as FTP with SFTP.

Learn more: FTP and its successors (ftp.eam.ch) – From FTP to SFTP and FTPS: why unencrypted FTP is a risk today.