On this page

OSSEC / HIDS Rule 18259

OSSEC / HIDS rule catalog

  • Rule family: OSSEC / HIDS
  • Rule ID: 18259
  • Definition status: Present in current source
  • Alert message / subject: Windows: TS Gateway user disconnected.
  • Rule level: 3
  • Definition checked: 2026-10-21

Interpretation and response

This event is recorded as “Windows: TS Gateway user disconnected.” Review the originating log and the affected host or service to determine whether the activity was expected.

An OSSEC/HIDS event records or correlates activity. Blocking depends on the originating application and any separately configured Active Response policy; an alert alone does not prove that an attack was blocked.

Documentation

The following guidance was migrated from the historical wiki and reviewed against the rule definition. Legacy ASL product names and interface instructions refer to the versions documented then. Use the current metadata above and your installed configuration when interpreting thresholds, notification settings and response behavior.

Description

Windows Terminal Server has indicated that a user has disconnected.

What you should do

This means that an active (not attempted) user connection to terminal services has disconnected. It can be an element of the Incident Response chain to identify when a malicious user ceased connectivity with the Terminal Server.

For some regulatory frameworks, logon and logoff data is expected to be tracked.

Troubleshooting

False Positives

A legitimate event may still trigger this rule. Review the surrounding activity before deciding whether it is malicious.

Tuning Guidance

There is no guidance for tuning this rule, this is a generic Windows event and the rule should not be disabled.

Additional Information

Support

If you are unsure about how to respond to this alert, please contact Atomicorp support. We’re here to help you!

Source and revision

Migrated from HIDS_18259, wiki page 753, revision 6113 (20201021). Documentation review: 2026-10-21. An archived wiki status of Active is not a current deployment status.

For assistance, provide the rule ID, installed product and rule version, and a sanitized event to Atomicorp support .