RDP connection history
The Terminal Server Client key in each user's NTUSER.DAT records the Remote Desktop servers the user connected to from this machine, often with a username hint. It is the outbound side of RDP lateral movement.
What TerminalServerClient is
Network and remote-access artifacts record connections, remote sessions and remote-access tools: RDP, SSH, VPN clients and remote-administration software.
Forensic value
What TerminalServerClient can tell an investigator:
- Which hosts a user (or an attacker using the account) connected to over RDP.
- Usernames used for those connections.
What it does not prove
- It shows outbound connections from this host; the inbound side is in the target's logon and RDP session logs.
Where it is stored
Arcsentry looks for TerminalServerClient at these locations inside a collection, disk image or mounted volume:
**/Users/*/NTUSER.DAT
**/Windows/ServiceProfiles/*/NTUSER.DAT
**/Windows/System32/config/systemprofile/NTUSER.DAT What Arcsentry records
Each TerminalServerClient record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
username_hint | VARCHAR | MRU username hint |
network_history_profile_last_connected | TIMESTAMP | Network profile last connected timestamp |
server | VARCHAR | VPN server address (from config) |
registry_hive_replay | VARCHAR | Why the registry hive this record was read from lacks its transaction-log changes: failed when replay failed at staging, disabled when replay was turned off |
Time
Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.
Collecting TerminalServerClient with Arcsentry Collector
Arcsentry Collector gathers TerminalServerClient in these triage profiles: windows::profile::triage::priority, windows::profile::triage::offline, windows::profile::triage::timeline, windows::profile::triage::full. It is read straight from the file system, on a live host or inside a disk image, without mounting.
The collection targets that pick it up: windows::accounts_identity::roaming_profile, windows::registry::registry_hives_system, windows::registry::registry_hives_user.
.\arcsentry-collect.exe collect --local -t windows::profile::triage::priority `
-o E:\IR -f host.arcx --password-file E:\IR\pw.txt Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.
Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so TerminalServerClient can come from the tools you already use.
Analysing TerminalServerClient in Arcsentry
Ask in plain English, for example "show TerminalServerClient records from the incident window, newest first", and Arcsentry shows the query before it runs.
Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads TerminalServerClient records with the same tools and cites them by event ID.
Corroborate with
No single artifact settles a question on its own. Check TerminalServerClient against:
- Windows event log: Parses Windows Event Log (.evtx) files.
- LNK files: Parses Windows shortcut (.lnk) files for file access evidence.
- Jump Lists: Parses Windows Jump List files for recent document access.
Frequently asked
How do you trace RDP lateral movement on Windows?
On the source host, check the Terminal Server Client key and the RDP client log. On the target, check logon type 10 (4624), and the RemoteDesktopServices and LocalSessionManager logs.
Does Arcsentry parse TerminalServerClient?
Yes. Arcsentry's TerminalServerClient parser (terminal_server) reads it from Windows evidence and records 4 fields per record, with provenance back to the source file.
How do I collect TerminalServerClient?
Arcsentry Collector gathers it with the priority triage profile (windows::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.
Parse TerminalServerClient on your own evidence.
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial