Tiza Group

Home / Guides / Testing, commissioning and faults

Off-Hours Remote Access to a Relay: What to Check

Remote sessions on a relay at night or on weekends: tell a scheduled task, a drifted clock, on-call work or an intrusion apart. We set it up remotely.

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

Short answer

A remote session on a relay at an unusual hour almost always has a legitimate explanation: a scheduled task, a drifted clock, an on-call shift or a contractor in another time zone. Intrusion is the least frequent hypothesis, but the most costly one if it is dismissed without evidence. The way to settle it is to cross-check the relay log against the VPN log, the jump server and the work orders, and to review what the session actually did.

Symptom

When you review a relay’s access log, or the jump server’s, you find remote sessions you did not expect: in the early hours, on a weekend, on a holiday or simply at a time when nobody on the team was working. Sometimes it is a single session; sometimes it repeats every night at the same time. Sometimes it includes a settings change, and sometimes only a read.

Before concluding anything, separate two questions: was the access planned by someone, and does what it did match what was planned? The time of day, on its own, proves little. For the architecture that should have prevented the doubt, see Is remote relay configuration secure?.

Probable causes, from most to least likely

CauseHow to recognize it
Relay clock drifted or set to another time zoneThe event time does not match the jump server or the VPN for the same session
Automated task (oscillography collection, settings backup, status reads)Repeats at a fixed interval, with the same service account and read-only actions
On-call work or fault response outside working hoursThere is a notice or a work order for that date, even if issued afterwards
Contractor or vendor in another time zoneThe account belongs to a third party and the schedule matches their working day
Shared account or factory credential used by an unidentified personThe session cannot be assigned to a person; the password was never changed
Stolen credential or VPN without a second factorUnusual network origin, different geolocation, earlier failed attempts
Deliberate intrusionSettings changes, log deletion, access to other devices after the first

How to diagnose it

  1. Preserve the evidence first. Download the relay access log, the VPN log, the jump server log and the firewall log for the window of interest. Note the actual current time and the time shown by the relay clock; the difference is the drift.
  2. Correct the time. Subtract the drift and the time zone offset from each event before deciding whether it was “off hours”. A considerable share of alerts disappear at this step. The requirement to timestamp events reliably also appears in IEC 62443-3-3, under auditable events and time stamps.
  3. Identify the actor. Account used, source device, network address and access method. If it is a shared account, the session cannot be assigned: that finding is already a nonconformity with the user identification required by IEC 62443-3-3 (identification and authentication of human users).
  4. Look for the pattern. A session that repeats at a fixed interval is almost always a scheduled task. A single, long session with many different reads is a person.
  5. Review what it did. Distinguish a read, a log download, a settings change, an active group change, a restart, a firmware upload or a log deletion. A read-only record lowers the risk; a change requires verifying the settings against the authorized sheet, as explained in Relay that changes settings by itself.
  6. Ask for the work order or notice for that day, even a late one. If nobody recognizes the access, treat it as unauthorized until proven otherwise.
  7. Look at the rest of the network. If the same source touched other devices, the scope is larger than one relay; network detection is covered in Intrusion detection in substation networks.

What to do

  • Drifted clock: correct the relay’s time source and document the drift found. It is a minor finding, but it invalidates the value of earlier logs.
  • Automated task: document it with its service account, schedule and scope, and limit it to read access. An undocumented task looks like an intrusion the next time.
  • On-call work or contractor: formalize an access window by work order, with an expiry date, and one individual account per person.
  • Shared account or factory credential: create named accounts with the minimum necessary role, remove the shared ones and change the passwords. The role scheme is in Accounts and passwords on IEDs.
  • Suspected stolen credential: revoke the credential, change the relay passwords, require a second factor at the entry point and notify the security officer. This calls for staff with access to, and authority over, the network.
  • Unauthorized changes: compare the settings with the approved sheet and restore from a verified backup, following the procedure and tests that apply.
  • Permanent alert: send the relay’s login events to a central log with an alarm when they occur outside the approved window, as described in Event logging and SIEM in substations.

Field checklist

  • I downloaded the relay, VPN, jump server and firewall logs.
  • I recorded the difference between the relay time and the real time.
  • I corrected the time zone and drift on every event.
  • I identified the account, source and method of each session.
  • I checked whether the session repeats at a fixed interval.
  • I classified what it did: read, download, change, restart, firmware or deletion.
  • I asked for the work order or notice for that date.
  • I compared the current settings with the authorized sheet.

Illustrative example

Generic situation, with invented values. A relay’s log shows a 12-minute session at 02:10. On the jump server, the same session appears at 08:10. The difference is exactly 6 hours: the relay clock was left in the wrong time zone after a settings reload. Once corrected, the session falls in the working morning and matches a contractor’s work order. The actions were reads. The conclusion: there was no off-hours access, but there was a misconfigured clock and a contractor account that went through a jump server with no expiry. Both were corrected.

What not to do

  • Do not delete or reset the relay logs to “clear” the alert.
  • Do not power off the relay or disconnect it from the network without coordinating with operations: it may leave a bay unprotected or unsupervised.
  • Do not change passwords before preserving the logs if you suspect an active intrusion; do it with the security officer.
  • Do not accuse a person or a vendor without cross-checking the logs and correcting the times.
  • Do not restore settings from an unverified file.
  • Do not try credentials or scan the relay’s network to “find out” who it was: it can affect equipment in service.

When to call us

If you cannot explain an access, if settings were changed without authorization, or if you need to leave remote access with named accounts, work-order windows and centralized alarms, we do it with you and verify the settings against the sheet. We configure it remotely. Write to us.

Open it in Tiza Designer.

References

  • IEC 62443-3-3, Industrial communication networks – Network and system security – System security requirements and security levels (identification and authentication, auditable events, time stamps).
  • IEC 62351-8, Power systems management and associated information exchange – Data and communications security – Role-based access control for power system management.

Frequently asked questions

Is an access at 3 a.m. an intrusion?

Not necessarily. It may be an automated collection or backup task, an operations on-call session, a contractor in another time zone or a drifted relay clock. What makes it suspicious is the absence of a work order, the use of a shared account, or settings changes made during the session.

What should I preserve before doing anything?

Download the relay, VPN, jump server and firewall logs with their timestamps and store them unmodified. Record the relay time against the real time at that moment.

How do I keep it from happening again without anyone noticing?

With individual accounts, access windows authorized by work order, multi-factor authentication at the entry point and alarms whenever a session occurs outside the approved window.

WhatsApp