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.
- Internet
- Open port
- Login without second factor
- VPN only
What eam.ch checks (active only)
| Check | Examples | Severity |
|---|---|---|
| Database reachable | MySQL/MariaDB 3306, PostgreSQL 5432, MSSQL 1433, MongoDB 27017, Redis 6379, Elasticsearch 9200 | critical |
| Remote maintenance | RDP 3389, VNC 5900, Telnet 23, SMB 445 | high |
| Unencrypted service | FTP 21, POP3 110, IMAP 143 | medium |
| Admin panel | Plesk 8443/8880, cPanel 2083, Webmin 10000, /wp-login.php, /phpmyadmin/ | medium |
| SSH | 22 | low |
The port check is a simple TCP connection (connect scan) to a fixed list of ports, throttled and only on addresses belonging to the verified domain (no CDN, no third-party CNAME targets). Admin paths are checked with “soft 404” detection.
Measures
- Firewall on a “deny by default” basis; open only the ports needed.
- Administration: access via IP allow list or VPN; otherwise enforce 2FA and enable Fail2Ban or lockout after failed attempts.
- SSH: keys only (
PasswordAuthentication no), no root login, Fail2Ban. - WordPress: login with 2FA, disable XML-RPC, restrict access to
/wp-adminwhere possible. - Switch off FTP, use SFTP.
Note on your own infrastructure
If the scanner runs on the same server as the target, connections go through the loopback interface and bypass the firewall – the result would be wrong. eam.ch therefore does not port-check such addresses. To check from outside on Windows: Test-NetConnection 192.0.2.10 -Port 3306; on Linux: nc -vz 192.0.2.10 3306.
Reference: Swiss ICT minimum standard PR.AC-3 and PR.AC-5, ISO/IEC 27001:2022 A 8.20 and A 8.22, CIS Controls 4 and 12.
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.
Check it yourself
Commands to verify on Linux or macOS. Replace ihre-domain.ch with your domain and only check your own systems.
nc -vz -w 3 ihre-domain.ch 3389
nc -vz -w 3 ihre-domain.ch 3306