Sigma rule: RDP Sensitive Settings Changed to Zero
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-c6567344592d, updated 2022-11-26T00:00:00.000Z.
Rule
- Title
- RDP Sensitive Settings Changed to Zero
- Status
- test
- Level
- medium
- Author
- Samir Bousseaden, David ANDRE, Roberto Rodriguez @Cyb3rWard0g, Nasreddine Bencherchali
- Date
- 2022-09-29
- Modified
- 2022-11-26
- File
- rules/windows/registry/registry_set/registry_set_terminal_server_suspicious.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects tampering of RDP Terminal Service/Server sensitive settings.
Such as allowing unauthorized users access to a system via the 'fAllowUnsolicited' or enabling RDP via 'fDenyTSConnections', etc.
Log source
- product
- windows
- category
- registry_set
Detection
selection:
TargetObject|endswith:
- '\fDenyTSConnections' # Specifies whether Remote Desktop connections are enabled - When set to zero RDP is enabled
- '\fSingleSessionPerUser' # When changed to 0 it allows multiple RDP sessions
- '\UserAuthentication' # Specifies that Network-Level user authentication is not required before the remote desktop connection is established
Details: 'DWORD (0x00000000)'
condition: selectionFalse positives (as the rule lists them)
- Some of the keys mentioned here could be modified by an administrator while setting group policy (it should be investigated either way)
Tags
- attack.persistence
- attack.defense-impairment
- attack.t1112
MITRE ATT&CK ids this rule names
Related rules
References
- https://web.archive.org/web/20200929062532/https://blog.menasec.net/2019/02/threat-hunting-rdp-hijacking-via.html
- http://woshub.com/rds-shadow-how-to-connect-to-a-user-session-in-windows-server-2012-r2/
- https://twitter.com/SagieSec/status/1469001618863624194?t=HRf0eA0W1YYzkTSHb-Ky1A&s=03
- https://threathunterplaybook.com/hunts/windows/190407-RegModEnableRDPConnections/notebook.html
- https://bazaar.abuse.ch/sample/6f3aa9362d72e806490a8abce245331030d1ab5ac77e400dd475748236a6cc81/
- http://etutorials.org/Microsoft+Products/microsoft+windows+server+2003+terminal+services/Chapter+6+Registry/Registry+Keys+for+Terminal+Services/
- https://admx.help/HKLM/SOFTWARE/Policies/Microsoft/Windows%20NT/Terminal%20Services
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_set/registry_set_terminal_server_suspicious.yml
Sources and licences
SigmaHQ
"RDP Sensitive Settings Changed to Zero" by Samir Bousseaden, David ANDRE, Roberto Rodriguez @Cyb3rWard0g, Nasreddine Bencherchali (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_terminal_server_suspicious.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: RDP Sensitive Settings Changed to Zero",
entity page, dataset version ref-c6567344592d, updated 2022-11-26T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a2863fbc-d5cb-48d5-83fb-d976d4b1743b (accessed 2026-11-03).
Underlying source: SigmaHQ rule a2863fbc-d5cb-48d5-83fb-d976d4b1743b, 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.