Tiza Group

Home / Guides / Testing, commissioning and faults

Engineering Account Locked After Failed Attempts

What to do when an IED engineering account is locked by failed login attempts: causes and how to unlock it without losing control.

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

Short answer

An engineering account gets locked because something tried to log in with a password that is no longer valid: a recent rotation, engineering software with the old password saved, a central service that is down or, less often, unauthorized access. Before unlocking, find out who it was, because unlocking without removing the cause locks the account again within minutes.

Symptom

You try to log in to a relay or IED with your engineering account and the device answers “account locked”, “too many attempts” or simply rejects a password you know is correct. Sometimes the lockout lifts by itself after a while and sometimes another administrator has to release it. In other cases the problem shows up in the engineering tool, which reports an authentication failure when reading settings or downloading records, and the lockout appears without anyone having typed anything.

The lockout is a security measure, not a fault. The real problem is that access was cut off when it was needed, perhaps during a fault or a commissioning, and that nobody knows who used up the attempts. To see where this measure fits in the security of the system, see the parent guide IEC 62351: communications security.

Likely causes, from most to least likely

  1. Rotated password and outdated software. The password was changed on the device and some tool (engineering software, scheduled record download, backup copy) keeps trying the old one. You recognize it because the lockout repeats at regular intervals and coincides with automatic tasks.
  2. Several people sharing the same account. Each one types their own version of the password or changes it without telling anyone. You recognize it because the failed attempts come from several sources.
  3. Central authentication service down or unreachable. The device queries a central server and, if it does not answer, applies another rule or retries. You recognize it because the lockout affects many devices at once.
  4. Forgotten session or connection. A session left open on another machine or a connected engineering port retries in the background.
  5. Threshold or lockout time too strict for the real way of working (for example, few chances and several people working).
  6. Unauthorized access attempt. You recognize it by unknown sources, unusual hours or many different user names being tried.

How to diagnose it

  1. Read the device security log, not just the alarm. What matters is the time, the account name, the source (IP address or physical port) and the number of attempts. With that you can tell an internal cause from an external one.
  2. Compare with the change calendar. Were passwords rotated recently? Are there scheduled tasks? A match between the time of the first failed attempt and the scheduled task points to cause 1.
  3. Identify the source by IP address and confirm which person or machine it belongs to. If the address is not in the inventory, treat it as possible unauthorized access and notify whoever is responsible for security. See the guide on remote access that nobody authorized.
  4. Check the central service, if there is one: if other devices also reject logins, the problem is not in this device.
  5. Find out how the lockout is lifted according to the device manual: by time, by another administrator or with a local emergency account. Do not discover it during the emergency.
  6. Remove the cause before unlocking. Update the password in the software, stop the task or disconnect the session. Otherwise the account will lock again within minutes.

Field checklist

  • Time and source of the failed attempts read from the security log.
  • Recent password or account changes reviewed.
  • Automatic tasks and engineering software with the old password identified and stopped.
  • Central authentication service checked, if used.
  • Unlock procedure for that model located and authorized.
  • Emergency account (if there is one) tested and kept in the company password vault.
  • Configuration backup taken before touching accounts or settings.

Illustrative example

An engineering account is locked every morning at 7:00. The log shows five failed attempts at that time, always from the same IP address, which belongs to a backup server. Three days earlier the passwords of the relay fleet were rotated and the nightly backup task was left with the old one. The task credential is updated, the account is unlocked and it does not happen again. If instead the five attempts came from an unknown address, the same log would point to unauthorized access and the response would be different. The example is illustrative.

What to do

  • Unlock through the intended route: wait for the lockout time, unlock by an administrator or by a local emergency account, depending on the device. Record who did it and why.
  • Fix the cause: update credentials in software and automatic tasks. Use one account per person, as explained in account and password management in IEDs, and minimum roles as in role-based access control IEC 62351-8.
  • Adjust the threshold only with documented criteria. If several people work at once, one account per person is better than raising the number of attempts.
  • Prepare emergency access before the next fault: a tested, safeguarded local backup account and a written procedure.
  • If it was an unauthorized attempt, change the credentials, review other accounts and follow your organization’s incident procedure.

What not to do

  • Do not reset the device to factory defaults to regain access without a configuration backup and an authorization: you can lose protection settings and leave default credentials active (see default credential still active on the device).
  • Do not disable the attempt lockout to avoid the nuisance.
  • Do not share the emergency account or leave it written on the panel.
  • Do not keep trying passwords: each attempt can extend the lockout or alert a monitoring system.
  • Do not unlock and walk away: without removing the cause, it locks again.

When to call us

If the lockout repeats with no identified cause, affects many devices, or you need to put the accounts, roles and passwords of your relay fleet in order, we set it up remotely, with the credentials in your vault and a record of each change. We configure it remotely. Write to us.

References

  • IEC 62351-8, Power systems management and associated information exchange – Data and communications security – Part 8: Role-based access control for power system management.
  • IEEE 1686, IEEE Standard for Intelligent Electronic Devices Cybersecurity Capabilities.
  • NERC CIP-007, Cyber Security – Systems Security Management (authentication requirement: limit failed attempts or generate alerts after a threshold, where technically feasible).

Frequently asked questions

Why is the account locked if I typed the password correctly?

Because the counter adds up all failed attempts against that account, not only yours: engineering software with the old password saved, a monitoring poll or a session left open on another machine can use up the attempts before you arrive. The device security log shows the source of each attempt.

Can I reset the device to factory defaults to regain access?

Not as a first option. A reset usually wipes settings and can leave default credentials active. First use the unlock by an administrator, the emergency account or the lockout timer. A reset is kept for an authorized procedure, with a backup of the configuration.

Should I remove the lockout to keep this from happening?

No. It is a security measure that cybersecurity guidelines and requirements expect to exist or to raise an alert. What you adjust is the cause of the failed attempts and, if needed, the threshold and the lockout time, in a documented way.

WhatsApp