Tiza Group

Home / Guides / Testing, commissioning and faults

Substation Remote Access Drops Without Warning

What to check if the remote session to the substation drops by itself: idle timers, firewall, certificates, clock and link. We configure it remotely.

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

Short answer

When remote access drops without warning, the cause is almost always one of five: an idle timer that closes the session, a firewall rule or connection state, an expired credential or certificate, a drifting clock or an unstable communications link. The logs at both ends, with the exact time of the drop, say which one. It is fixed at the end that closes the session, without widening permissions.

Symptom

The session to the substation (remote desktop, relay engineering access, private network tunnel, hop to a station server) works for a while and drops. It may drop always after the same time, at the same time of day, after a set number of idle minutes, or apparently at random. Nobody gets a warning: the window freezes, the connection returns a generic error or the tunnel simply stops responding. Meanwhile, SCADA and protection keep operating, because engineering access is a different channel.

A remote access that drops is not a protection fault, but it does interrupt work in progress: a half-finished settings upload, a log read or a maintenance operation. For the design of the access, its zones and its controls, see the parent guide on remote access design.

Likely causes, from most to least likely

#CauseHow to recognize it
1Idle or maximum session duration timer on the jump server, the firewall or the target deviceThe drop happens after a fixed lapse since the last action, or at a fixed time from the start, always the same
2The firewall forgets the connection: the state entry expires or the connection table fillsIt drops when the session moves no data; with active work it does not drop; the firewall log shows the connection discarded
3Expired or renewed credential, certificate or session keyThe drop coincides with the renewal or the expiry; the log mentions authentication or certificate
4Drifting clock at one endThe drop comes with time errors; log times do not agree between devices
5Unstable communications link (cellular, satellite, radio, fibre with attenuation)Packet loss and variable latency; other services on the same link also fail
6Route or address change: the link switches to its backup and the session does not surviveThe drop coincides with a link switchover; the visible source address changes
7Security policy that closes the session on an event: intrusion detection, geographic rules, time windowsThe security system log shows the action and its reason

How to diagnose it

  1. Note the exact time and the pattern. Start time, drop time, last activity. With three drops you can already see whether it is a fixed time, inactivity or chance.
  2. Tell who closes it. Look in the log of the target device, the jump server and the firewall for the close event. A close with an explicit reason identifies the one responsible; no event in any of them points to transport loss.
  3. Check the clocks. Compare the time of each device on the path with the site’s time source. A difference of minutes or more already explains authentication failures and makes the logs useless for correlation; see how to synchronize clocks.
  4. Check expiry dates. Date of the tunnel certificates, service accounts and session keys; if they coincide with the drop, that is the cause.
  5. Test the transport with the session idle. A continuous ping and a latency log over a long period show whether the link loses packets when there is no activity. If the link is stable and the session drops, the problem is configuration.
  6. Repeat with controlled keep-alive traffic (a short periodic read) to see whether the drop disappears. If it does, the idle timer or the firewall state is the culprit.
  7. Compare with the change window: a recent rule adjustment, a patch or a change of link provider.

Field checklist

  • Start time, last-activity time and drop time noted for at least three events.
  • Logs of the target, jump server and firewall saved with the same time window.
  • Clocks of the devices on the path compared with the time source.
  • Expiry of certificates and service accounts checked.
  • Idle and maximum duration timers noted for each device.
  • Continuous latency and loss test on the link over a long period.
  • Link switchovers or address changes checked at the time of the drop.
  • Recent rule changes, patches or provider changes reviewed.
  • Test with controlled keep-alive traffic, approved by the security officer.
  • Adjustment documented and test repeated after the change.

Illustrative example

A generic situation with invented figures. An engineer connects through a tunnel to a jump server and from there opens the settings tool for a relay. Each time, the session drops 15 minutes after they stop using the tool while analyzing a record. With three events the pattern is clear: always 15 minutes after the last action.

The firewall log shows the tunnel connection alive, but the jump server log says “session disconnected due to inactivity” at 15 minutes. The cause is the jump server timer, not the network. The policy requires closing idle sessions, so the timer is not raised to hours: a value suited to analysis work is agreed with the security officer, and staff are told that the session reopens, without data loss, if they save their work first. The decision and the value are recorded.

What to do

  • If the idle timer closes it: adjust it at the end that closes, to the minimum the task needs, with authorization; or use a tool that keeps the work saved and reconnects.
  • If it is the firewall state: review the lifetime of connection entries for that service and the table size; coordinate with whoever administers the firewall. It is a security change: it is not done without change control.
  • If it is a credential or certificate: renew and reinstall; schedule the expiry warning well in advance.
  • If it is the clock: correct the device’s time source, not just set the time by hand.
  • If it is the link: document the packet loss and latency, and escalate to the provider with that data; consider a backup link with a switchover that preserves the session.
  • If a security policy closes it: do not disable it; understand the reason and, if it is a false positive, ask the administrator of that tool for the adjustment.
  • Leave traceability: what was changed, who authorized it and the repeat test.
  • Needs a specialist: any adjustment to the firewall, segmentation or tunnel; for the basics, see the industrial firewall.

What not to do

  • Do not raise all the timers to “no limit” so it does not drop: it leaves forgotten open sessions on an operations network.
  • Do not open ports or create a broad firewall rule to test.
  • Do not use an unauthorized parallel access (a personal modem, a phone hotspot) to get around the drop.
  • Do not upload settings to a relay over an unstable session without verification: an interrupted upload can leave the device with incomplete settings.
  • Do not ignore random drops: they may be the symptom of a link that also affects telecontrol.
  • Do not change security rules without change control and a backup of the previous configuration.

When to call us

If the logs do not show who closes the session, if the drop also affects telecontrol, or if the fix requires touching firewall rules, segmentation or the tunnel, a specialist is advisable. We configure it remotely: we review the logs at both ends, adjust timers and access under change control and leave the evidence. Request it here.

References

  • 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 (remote access and segmentation).
  • IEC 62351-3, Power systems management and associated information exchange – Data and communications security – Part 3: Communication network and system security – Profiles including TCP/IP.
  • RFC 5280, Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile.

Frequently asked questions

Why does the remote session drop right when I stop typing?

Almost always an idle timer in one of the devices on the path: the jump server, the firewall or the IED itself. Measure how long the drop takes from the last action and compare with the configured timers; if it matches one, that one is responsible.

Does raising all the timeouts solve the problem?

It should not be done without judgment. Long unused sessions are a security risk. The right approach is to identify which end closes the session and set that timer to what the task needs, or send controlled keep-alive traffic, and leave the rest as it is.

How do I tell a security cut from a link fault?

Look at the logs at both ends at the time of the drop. An orderly close with a stated reason (inactivity, credential, policy) is a configuration or security matter. Packet loss with no orderly close, with other services on the same link also affected, points to the communications link.

WhatsApp