Sigma rule: Terminal Server Client Connection History Cleared - Registry
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-8bbd835e1f87, updated 2023-02-08T00:00:00.000Z.
Rule
- Title
- Terminal Server Client Connection History Cleared - Registry
- Status
- test
- Level
- high
- Author
- Christian Burkard (Nextron Systems)
- Date
- 2021-10-19
- Modified
- 2023-02-08
- File
- rules/windows/registry/registry_delete/registry_delete_mstsc_history_cleared.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the deletion of registry keys containing the MSTSC connection history
Log source
- product
- windows
- category
- registry_delete
Detection
selection1:
EventType: DeleteValue
TargetObject|contains: '\Microsoft\Terminal Server Client\Default\MRU'
selection2:
EventType: DeleteKey
TargetObject|contains: '\Microsoft\Terminal Server Client\Servers\'
condition: 1 of selection*False positives (as the rule lists them)
- Unknown
Tags
- attack.persistence
- attack.stealth
- attack.defense-impairment
- attack.t1070
- attack.t1112
MITRE ATT&CK ids this rule names
References
- https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/remove-entries-from-remote-desktop-connection-computer
- http://woshub.com/how-to-clear-rdp-connections-history/
- https://www.trendmicro.com/en_us/research/23/a/vice-society-ransomware-group-targets-manufacturing-companies.html
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_delete/registry_delete_mstsc_history_cleared.yml
Sources and licences
SigmaHQ
"Terminal Server Client Connection History Cleared - Registry" by Christian Burkard (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_delete/registry_delete_mstsc_history_cleared.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Terminal Server Client Connection History Cleared - Registry",
entity page, dataset version ref-8bbd835e1f87, updated 2023-02-08T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/07bdd2f5-9c58-4f38-aec8-e101bb79ef8d (accessed 2026-11-03).
Underlying source: SigmaHQ rule 07bdd2f5-9c58-4f38-aec8-e101bb79ef8d, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.