{"id":2435,"date":"2025-03-07T10:01:52","date_gmt":"2025-03-07T10:01:52","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2025\/03\/07\/enabling-incognito-mode-in-rdp-to-hide-all-the-traces\/"},"modified":"2025-03-07T10:01:52","modified_gmt":"2025-03-07T10:01:52","slug":"enabling-incognito-mode-in-rdp-to-hide-all-the-traces","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2025\/03\/07\/enabling-incognito-mode-in-rdp-to-hide-all-the-traces\/","title":{"rendered":"Enabling Incognito Mode in RDP to Hide All the Traces"},"content":{"rendered":"<p>    Enabling Incognito Mode in RDP to Hide All the Traces<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>Microsoft\u2019s <a href=\"https:\/\/cybersecuritynews.com\/hackers-exploit-rdp-protocol-to-gain-windows-access\/\" target=\"_blank\" rel=\"noreferrer noopener\">Remote Desktop Protocol (RDP)<\/a> has introduced a lesser-known but critical security feature colloquially referred to as \u201cincognito mode\u201d through its \/public command-line parameter.\u00a0<\/p>\n<p>This functionality, formally called public mode, prevents the client from storing sensitive session artifacts\u2014a development with significant implications for cybersecurity, digital forensics, and enterprise IT management.<\/p>\n<p>According to Devolutions, public mode activates when launching mstsc.exe (Microsoft Terminal Services Client) with the \/public flag, disabling key data retention mechanisms:<\/p>\n<p><strong>Connection Settings:<\/strong> Normally stored in the hidden %USERPROFILE%DocumentsDefault.rdp file, public mode blocks updates to this configuration repository:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcUbR7EO7BTt9ZgcXy8sgm4-kJkH8nprS5zDg4GrVTDkdYbmCkRt-DxsxQ7a2QXWPuMo3p_7pHm_u7vQ-wZ78ZJR49Tet25dm1Yp362BEP2guX8S3EgMuSfrsSRXV0fcadcghofmQ?key=BLhfHQhoU4HGZGuFOsO9fH1Y\" alt=\"\"><\/figure>\n<\/div>\n<p>Administrators can manually edit it via notepad \u201c~DocumentsDefault.rdp\u201d, but session-specific changes evaporate post-disconnection.<\/p>\n<p><strong>Credential Caching: <\/strong>The Windows Credential Manager typically stores RDP credentials under TERMSRV\/ entries. Public mode disables both retrieval and storage, forcing manual authentication each time. <a href=\"https:\/\/cybersecuritynews.com\/free-forensic-investigation-tools\/\" target=\"_blank\" rel=\"noreferrer noopener\">Forensic analysts<\/a> often query these using:<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcTgHgutIzLrMoTduwbEouvXtddGNa7aQqSzPmKmLwO4xZrkqc3wL2o90s1_f_7oPxweFnlITf32j3qvcY7bqPZeQe6SZsJPf34kwM2i5lXC5dS-g4syN25Hgz7oXM4XmRoJXUGKg?key=BLhfHQhoU4HGZGuFOsO9fH1Y\" alt=\"\"><\/figure>\n<\/div>\n<p>This command becomes obsolete in public sessions as no new credentials persist, reads the <a href=\"https:\/\/blog.devolutions.net\/2025\/03\/using-rdp-without-leaving-traces-the-mstsc-public-mode\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">report<\/a>.<\/p>\n<p><strong>Persistent Bitmap Cache: <\/strong>RDP optimizes performance by caching screen fragments in %LOCALAPPDATA%MicrosoftTerminal Server ClientCache.\u00a0<\/p>\n<p>Public mode deactivates this, though administrators can independently disable it via BitmapCachePersistEnable:i:0 in RDP files.\u00a0<\/p>\n<p><a href=\"https:\/\/cybersecuritynews.com\/free-forensic-investigation-tools\/\" target=\"_blank\" rel=\"noreferrer noopener\">Forensic tools<\/a> like BMC-Tools (<a href=\"https:\/\/cybersecuritynews.com\/north-korean-it-workers-using-github\/\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a>\/ANSSI-FR) extract bitmap artifacts from these caches, which public mode renders inert.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Implications and Countermeasures<\/strong><\/h2>\n<p>Public mode alters registry interactions critical to incident investigations:<\/p>\n<p><strong>MRU Server List: <\/strong>The 10 most-recently-used servers, stored in HKEY_CURRENT_USERSoftwareMicrosoftTerminal Server ClientDefault, cease updating. Attackers leveraging compromised systems leave no new IP\/DNS trails.<\/p>\n<p><strong>Username Hints:<\/strong> Registry keys like HKEY_CURRENT_USERSoftwareMicrosoftTerminal Server ClientServers&lt;IP&gt;UsernameHint typically reveal account names. Public mode blanks this field post-session.<\/p>\n<p><strong>Certificate Exceptions: <\/strong>TLS trust overrides for invalid certificates, usually recorded in CertHash values under HKEY_CURRENT_USERSoftwareMicrosoftTerminal Server ClientServers, are blocked.<\/p>\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/lh7-rt.googleusercontent.com\/docsz\/AD_4nXcO0_pDjYi18OvuNHI2sb3MPK9jtUyxLZRpljsuxaqOiuxpUSB2C8vc5je9AhA-jy21ba2j7pLrR5yVz9tsIOToVsUhA43zFErCm0cCM9Yuu8XMi0_8dhBQHe9StBTU8PEqZ8Xgrw?key=BLhfHQhoU4HGZGuFOsO9fH1Y\" alt=\"\"><\/figure>\n<\/div>\n<p>This erases credentials, bitmap caches, and registry entries.<\/p>\n<h2 class=\"wp-block-heading\"><strong>Recommendations<\/strong><\/h2>\n<p>Public mode introduces usability trade-offs:<\/p>\n<ul class=\"wp-block-list\">\n<li>Repeated credential entry slows workflows<\/li>\n<li>Loss of MRU server lists hampers quick reconnections<\/li>\n<li>Bitmap cache disabling may reduce performance on high-latency networks<\/li>\n<\/ul>\n<p>Cybersecurity experts recommend:<\/p>\n<ul class=\"wp-block-list\">\n<li>Combining \/public with Network Level Authentication (NLA) for layered security.<\/li>\n<li>Deploying enterprise-grade privileged access management (PAM) solutions for Just-In-Time access controls.<\/li>\n<li>Regular audits of Default.rdp and Terminal Server Client registry keys<\/li>\n<\/ul>\n<p>As RDP remains a prime target, accounting for 32% of all brute-force attacks in 2024, this feature provides critical mitigation against low-sophistication threats.<\/p>\n<p>For IT teams, the balancing act continues: maximizing security without crippling productivity. Public mode\u2019s forensic advantages, however, make it indispensable for high-risk environments like shared kiosks or third-party vendor access points.\u00a0<\/p>\n<p>As remote work expands, such granular controls will define the next era of <a href=\"https:\/\/cybersecuritynews.com\/microsoft-to-host-windows-endpoint-security-ecosystem-summit\/\" target=\"_blank\" rel=\"noreferrer noopener\">endpoint security<\/a>.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\"><strong><strong><code>Collect Threat Intelligence on the Latest Malware and Phishing Attacks with ANY.RUN TI Lookup -&gt;\u00a0<a href=\"https:\/\/intelligence.any.run\/?utm_source=csn&amp;utm_medium=article&amp;utm_campaign=new-stegocampaign-attack&amp;utm_content=intelligence.any.run&amp;utm_term=040325\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Try for free<\/a><\/code><\/strong><\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/enabling-incognito-mode-in-rdp\/\">Enabling Incognito Mode in RDP to Hide All the Traces<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/enabling-incognito-mode-in-rdp\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Enabling Incognito Mode in RDP to Hide All the Traces Microsoft\u2019s Remote Desktop Protocol (RDP) has introduced a lesser-known but critical security feature colloquially referred to as \u201cincognito mode\u201d through its \/public command-line parameter.\u00a0 This functionality, formally called public mode, prevents the client from storing sensitive session artifacts\u2014a development with significant implications for cybersecurity, digital [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,158],"tags":[130],"class_list":["post-2435","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-microsoft","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/2435"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=2435"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/2435\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=2435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=2435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=2435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}