H3XAOperational intelligence
Live analytical pictureEvidence before assessment
TypeTechnique
External ID—
First seen2026-08-14
Last seen2026-08-14

Confidence

—

Adversaries may abuse components of Terminal Services to enable persistent access to systems. Microsoft Terminal Services, renamed to Remote Desktop Services in some Windows Server OSs as of 2022, enable remote terminal connections to hosts. Terminal Services allows servers to transmit a full, interactive, graphical user interface to clients via RDP.(Citation: Microsoft Remote Desktop Services) [Windows Service](https://attack.mitre.org/techniques/T1543/003)s that are run as a "generic" process (ex: svchost.exe ) load the service's DLL file, the location of which is stored in a Registry entry named ServiceDll .(Citation: Microsoft System Services Fundamentals) The termsrv.dll file, typically stored in `%SystemRoot%\System32\`, is the default ServiceDll value for Terminal Services in `HKLM\System\CurrentControlSet\services\TermService\Parameters\`. Adversaries may modify and/or replace the Terminal Services DLL to enable persistent access to victimized hosts.(Citation: James TermServ DLL) Modifications to this DLL could be done to execute arbitrary payloads (while also potentially preserving normal termsrv.dll functionality) as well as to simply enable abusable features of Terminal Services. For example, an adversary may enable features such as concurrent [Remote Desktop Protocol](https://attack.mitre.org/techniques/T1021/001) sessions by either patching the termsrv.dll file or modifying the ServiceDll value to point to a DLL that provides increased RDP functionality.(Citation: Windows OS Hub RDP)(Citation: RDPWrap Github) On a non-server Windows OS this increased functionality may also enable an adversary to avoid Terminal Services prompts that warn/log out users of a system when a new RDP session is created.

6 recorded

Relationships

mapped-toTechnique
mapped-toTechnique
mitigates
from Audit
Mitigation
mitigatesMitigation
subtechnique-ofTechnique
6 external

References

mitre-attack
T1505.005
open
James TermServ DLL
https://x.com/james_inthe_box/status/1150495335812177920
open
Microsoft System Services Fundamentals
https://social.technet.microsoft.com/wiki/contents/articles/12229.windows-system-services-fundamentals.aspx
open
Microsoft Remote Desktop Services
https://docs.microsoft.com/windows/win32/termserv/about-terminal-services
open
RDPWrap Github
https://github.com/stascorp/rdpwrap
open
Windows OS Hub RDP
http://woshub.com/how-to-allow-multiple-rdp-sessions-in-windows-10/
open