Tiza Group

Home / Guides / Testing, commissioning and faults

Default passwords still active on gateways

Gateway in service with its factory password: how to inventory its accounts, change them without losing the link and keep evidence. Remote support.

By Shadai García, CEO and protection engineer at Tiza Group.

Short answer

A gateway that still accepts its factory password can be administered by anyone who reaches its port. The way out is to inventory every access on the device, not only the web page, change each known password with a backup and a way back, check that the old one no longer works and watch that it does not return after a replacement or a restore.

Symptom

Someone opens the administration page of the substation or plant gateway with the user name and password printed in the manual, and it works. Sometimes it comes up in an audit or a vulnerability review; other times a new technician guesses it on the first try, or the logs show a session of the factory account that nobody recognizes.

The gateway is a sensitive point: it concentrates data from relays and meters, forwards commands and usually has one leg on the station network and another towards the outside. Whoever administers it can change the point list, redirect the link, stop services or use it as a step towards field devices. The threats and controls on the receiving side are covered in cybersecurity of a SCADA/EMS control center; this page only deals with finding and closing factory passwords on the boundary device.

Probable causes, from most to least likely

CauseHow to recognize itWhat confirms or rules it out
Never changed at commissioningThe test record says nothing about accounts or passwordsHandover record with no owner or date for the change
Web password changed, but not the othersThe page rejects the factory password and another service accepts itCheck of each enabled service: serial console, remote command line, file transfer, network management
Device replaced or reset to factoryThe problem appears after a failure or an upgradeWork order and a serial number different from the inventoried one
Old backup restoredAccounts that had been removed are backRestored file dated before the password change
Integrator keeps an account of its ownA user that nobody on the owner side recognizesAccount list compared with the authorized people
Password kept because tools need itAn engineering program or a script connects with itReview of tool settings and scheduled tasks
Device cannot change itThe menu offers no optionManual and release notes of the installed firmware

How to diagnose it

Everything below is done on your own equipment or with written authorization from the owner. Trying passwords on someone else’s system is unauthorized access.

  1. Inventory the devices. Gateways, RTUs, serial converters, routers and modems in the same cabinet, with serial number, firmware, address and owner. A factory password rarely survives on only one device.
  2. List the services on each one. Note what is enabled: web page, local console, remote command line, file transfer, network management and engineering tool access. Each service may have its own user base.
  3. Read the account list. Note user, level, last login if recorded and the person who uses it. Accounts with no assigned person are the first suspects.
  4. Compare with the manual. The vendor document says which accounts ship from the factory, maintenance ones included. Check every one, not only the administrator.
  5. Test in a controlled way. One attempt per account and service. Many devices lock the account after a few failures, and a lockout during operation is a new problem.
  6. Check network management strings. Older versions of the management protocol use a community string that often ships with a known value and travels unencrypted.
  7. Review the logs. Look for logins of factory accounts, with time and source address. A login nobody can explain turns the finding into an incident: see what to do about an unauthorized remote access.
  8. Check who can reach it. Confirm in the firewall rules which networks reach the management ports. This sets the urgency: a factory password reachable from an external network cannot wait for the next maintenance window.

What to do

  • Back up before touching anything. Export the configuration, store it with restricted access and confirm you know the recovery procedure.
  • Change one account at a time and verify. Open a second session with the new password before closing the first, so a typing error or a character restriction does not lock you out.
  • A different password per device. Long, generated and stored in the owner’s password manager, with a defined emergency path. One shared password turns a single leak into a total loss.
  • Move to per-person accounts. Where the device allows it, assign individual users with the least role needed. Joiners, leavers and rotation are covered in IED accounts and passwords: roles and rotation.
  • Turn off what is not used. A disabled service needs no password. If a protocol is not encrypted, replace it with its secure version or restrict the source.
  • Update the tools. Scripts, automatic backups and engineering software that used the old password need the new one, or they will fail silently.
  • Save a new backup. The previous one contains the old passwords; label it so nobody restores it by mistake.
  • Keep evidence. Device, account, date, person and proof that the factory password no longer works. Do not write passwords on that sheet.

As a reference, NERC CIP-007, in requirement R5.4 of version 6, asks the entities it covers to change known default passwords according to device capability. IEC 62443-4-2 deals with authenticator management of components, initial authenticators included, in requirement CR 1.5. Even where neither is mandatory for your site, they help to write the internal rule.

Illustrative example

Generic situation with invented figures. An owner has 4 gateways and each offers 3 accesses: web, command line and file transfer. That is 12 doors. At commissioning the web password was changed on all 4, so the report said “passwords changed”. The review shows that the command line of 3 devices and the file transfer of 2 still use the factory one: 5 of 12 doors open. They are fixed one by one, file transfer is disabled where unused and the test is repeated on all 12.

Field checklist

  • Written authorization and a window agreed with operations.
  • Inventory of gateways and communication devices, with serial and firmware.
  • Enabled services noted per device.
  • Accounts listed, each with a responsible person.
  • Factory accounts from the manual checked one by one without causing lockouts.
  • Configuration backup taken before the change.
  • New password tested in a second session before closing the first.
  • Control center link and IED polling checked afterwards.
  • New backup stored and old one labeled.
  • Check included in the device replacement procedure.

What not to do

  • Do not change passwords on a live device without a backup and a recovery path: losing administration access may force a factory reset and leave the substation without telecontrol.
  • Do not run password lists against a device in service: you may lock accounts or disturb devices with little capacity.
  • Do not write passwords on a cabinet label, in the point list or in an email.
  • Do not delete logs if you found an unexplained login: they are the evidence to investigate it.
  • Do not close the matter just because the web page now asks for another password.
  • Do not work on wiring or cabinet equipment without qualified personnel when energized or trip circuits are nearby.

When to call us

If there are several models and you do not know which accounts each one carries, if the change may affect telecontrol, if a device does not allow changing an account or if access was lost, we review the inventory, plan the change with its way back and test the link afterwards. We configure it remotely. Write to us.

Open it in Tiza Designer: Roles and permissions per IEC 62351-8.

References

  • NERC CIP-007-6, Cyber Security – System Security Management, requirement R5.
  • IEC 62443-4-2, Security for industrial automation and control systems – Part 4-2: Technical security requirements for IACS components.
  • IEEE 1686, Standard for Intelligent Electronic Devices Cybersecurity Capabilities.
  • IEC 62351-8, Role-based access control.

Frequently asked questions

Does changing the administration password drop the link to the control center?

The administration password is usually independent of the telecontrol sessions, but do not assume it: some devices use the same account for internal services, file transfers or engineering tools, and some restart when saving. Check the manual, make the change in a window agreed with operations and verify the link before and after.

If the gateway sits on an isolated network, do I still need to change it?

Yes. Isolation limits who can get there, not what someone who gets there can do. A contractor laptop, a compromised engineering workstation or a free port in the cabinet can reach a network that was considered closed, and the factory password is often in the public manual.

What if the device does not let me change one of its accounts?

Record it as an exception: which account it is, what it can do and why it cannot be changed. Compensate by restricting at network level who reaches that service, disable it if possible, monitor login attempts and ask the vendor for firmware that corrects it.

WhatsApp