Tiza Group

Home / Guides / Testing, commissioning and faults

Default Credential Still Active on the Device

How to find factory accounts and passwords still valid on relays, switches and gateways, and change them without losing access. We configure it remotely.

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

Short answer

An active default credential is a documented open door: the factory user and password are in public manuals. It is found by inventorying the accounts on each device and testing access with an authorized account, not by guessing passwords. It is fixed by creating named accounts, removing the factory one and saving a settings backup before the change, without losing local access.

Symptom

Someone finds, in an audit, an acceptance test or through a warning from the device, that a relay, a switch, a gateway or a clock in the substation still accepts the user and password it shipped with. Sometimes the device announces it: a message on the display, a “default password in use” event in the log or an alert from the network management system. Other times it is only discovered because the user list shows an account with no password change since commissioning, or because the same login opens several devices from the same batch.

The problem is not an operating fault: the substation keeps working. It is an exposure. Anyone who reaches the station network, through an unused port, a maintenance laptop or a poorly closed remote access, gets in with details that are in public manuals. A device like this allows protection settings to be changed, functions to be disabled or foreign firmware to be loaded. To understand what else is closed on a device besides accounts, see the parent guide on fully hardening a device.

Likely causes, from most to least likely

#CauseHow to recognize it
1Commissioning left the factory account in place “so as not to lose access”Same password on every device in the batch; the account shows no password change since the installation date
2A replacement or repaired device came back with factory settingsThe factory account reappears right after a device swap or a reset to defaults
3There is an undocumented service or “manufacturer” account that is not in the normal user listThe manual or security sheet lists additional accounts; the device accepts them through a specific port or service
4A management service (SNMP, web server, engineering access) keeps its own factory credential, different from the console’sThe console already has a new password, but the web port or the SNMP community still answer with default values
5The password was changed, but to a trivial value or one shared by allThe device’s password audit flags it as weak or repeated; several devices share the same text
6The settings management system stores the factory credential and uses it on every connectionThe device accepts it because the server sends it; if it is changed, the connection fails

Cause 6 matters for the order of work: before changing a password you must know who uses it.

How to diagnose it

The diagnosis is done with authorized access and without guessing passwords.

  1. Make the inventory. A table with device, firmware version, existing accounts, which one is the factory account, date of last change and what each account is used for. Without this table you do not know what to close or what will break.
  2. Read the user list with a valid administrator account, through the local port. If the device shows the factory account as active with the original password, the finding is confirmed without testing anything from the network.
  3. Check every service, not just the console. Web server, SNMP, file transfer, manufacturer engineering access, serial console. Each one may have its own user and its own default password.
  4. Read the authentication log. Look for logins with the factory account, their source (IP address) and frequency. A known IP of the gateway or the settings server indicates legitimate use that must be migrated; an unknown IP is an incident, not just a finding.
  5. Test, only with written permission and an agreed window, whether the device still accepts the factory details from the network. Have the settings backup at hand and know whether the device locks the account after several failed attempts: a lockout on a relay in service means losing access at the worst moment.
  6. Compare against the account management plan: who should have access, with what role and how the password is handed over. The difference between what exists and what the plan says is the work list.

Field checklist

  • Inventory of devices with the date accounts were last set up.
  • Settings backup of each device, stored away from the device itself.
  • Local access through the console or front port tested with a named account.
  • User list read on each device, with factory accounts flagged.
  • Secondary services reviewed (web, SNMP, file transfer).
  • Authentication log reviewed to see who uses the factory account.
  • Maintenance window agreed with operations for each change.
  • Named accounts with the minimum necessary role created and tested.
  • Factory account with a new password and disabled, or removed if the device allows it.
  • Gateway, settings server and scripts updated with the new credential.
  • Evidence saved: user list before and after, and date of the change.

Illustrative example

A generic situation, with invented figures to show the order of work. A substation has 12 relays and 3 switches. The inventory shows that all 12 relays keep the factory administrator account, that the switches have a changed password but the same on every one, and that the settings server connects to the relays with the factory account.

If the password of all 12 relays were changed at once, the settings server would lose its connection to all of them and event reading would stop. So the work goes bay by bay: on each relay, first create a named engineering account and an operations account with a limited role, test local and network access, move the settings server to its own account, and only then change the factory password and disable it. When bay 1 is finished, verify that SCADA still receives data and move on to the next. With twelve relays, each isolated in its own window, a configuration error affects one bay and not the whole station.

What to do

  • Create named accounts per person or per function, with the minimum role: read-only, operation, engineering, administration. That way the log says who did what.
  • Change the factory password to a long one, unique per device or per defined group, and store it in the company password manager, never in email or a shared file. You can see how to organize roles in Account and password management in IEDs.
  • Disable or remove the factory account. If the device does not allow removal, change its password and disable it; record the device’s limitation.
  • Close the services that are not used and protect the remaining ones with their own password; each service’s credentials are changed separately.
  • Migrate automatic connections (gateway, settings server, scripts) to service accounts with limited permissions.
  • Keep a tested emergency access, with its custody procedure, before removing the factory one: the rule is never to remove an access without having another one tested.
  • Record the change in the inventory and in configuration control, with date, device and person responsible.
  • Needs a specialist: any device that locks access after the change, that does not allow named accounts, or whose firmware requires a prior update; see also Patches and firmware in relays and IEDs.

What not to do

  • Do not try manual passwords against another company’s devices or without authorization: it is an intrusion, even if the device is yours on the network.
  • Do not change the password of a protection relay in service without a settings backup or an agreed window with operations.
  • Do not put the same new password on every device: it replaces a public secret with a shared one.
  • Do not write passwords on labels stuck to the panel, open spreadsheets or chats.
  • Do not disable device authentication “while working” and then forget to turn it back on.
  • Do not remove the factory account before confirming that a named account logs in through the console and the network.
  • Do not consider the finding resolved without repeating the user read and the log check after the change.

When to call us

If the inventory shows dozens of devices with factory accounts, if you do not know who uses a credential, or if a device was left without access after the change, it is best done by someone with a defined procedure. We configure it remotely: we prepare the inventory, the accounts by role, the migration order by bay and the evidence for audit. Request it here.

References

  • IEC 62443-4-2, Security for industrial automation and control systems – Technical security requirements for IACS components (authenticator management, including default values).
  • IEC 62443-3-3, Industrial communication networks – Network and system security – System security requirements and security levels.
  • NIST SP 800-82 Rev. 3, Guide to Operational Technology (OT) Security.
  • Security documentation from each device manufacturer: default accounts, services and reset procedure.

Frequently asked questions

How do I know whether a device still has the factory password?

With an authorized account, open the device's user list and check whether the factory account exists and how long ago its password last changed. Trying manual passwords on networked devices is done only with the owner's written permission, in an agreed window and with the settings backup at hand, because lockouts after failed attempts can leave the device without access.

Can I delete the factory account without risk?

Only after confirming that another account with administrator privilege logs in through the local port and through the network, and after saving the settings file. Some devices do not allow the factory account to be deleted and require changing its password and disabling it. That limitation is recorded as residual risk.

Does changing the password disconnect the device from SCADA?

It can, if the gateway, the settings management system or a script uses that account to read data or upload files. Before changing it, look in the device log for who authenticates with it and update those connections in the same maintenance window.

WhatsApp