Solved Win Sandbox Runs in a Remote Desktop Connection (RDC) Session with RDC OFF - Am I Exposed to RDC's Security Vulnerabilities???


Gordy_Z

New member
Local time
1:37 AM
Posts
3
OS
Win 11
I read that Remote Desktop Connection (RDC) has security issues, including concerns about leaving port 3389 open to the world. I didn't want to harden RDC, don't need it, so turned it off first at Settings/System/Remote Desktop. Then I ensured Control Panel/Advanced System Settings/Remote tab - Remote Assistance/Allow Remote Assistance was off and (in the same tab) Remote Desktop/Don't Allow Remote Connections was on.

Moved on to setting up Win Sandbox, did not see RDC as a prerequisite ( ), turned the Sandbox feature on in Windows, re-booted, started playing with it, and noticed it's in an RDC window - clicking the sandbox's "Connection Information" icon displays this RDC window...
1724710605062.png
In my mind, if Sandbox depends on RDC, and RDC is off, Sandbox shouldn't work, which means RDC is at least partly on. I checked if running Win Sandbox had turned RDC on in the real PC but it hadn't... The real System and Control Panel RDC settings are on the left & the virtual PC's are on the right (Sandbox/Settings/Remote Desktop does nothing when clicked)...
1724701614240.png

Apparently even though RDC is "off," enough of it has been brought online to run Win Sandbox. So the question is, even though RDC is off in Settings and Control Panel, is enough of it up and running that I'm exposed to its various vulnerabilities - do I need to harden it by change the listening port to something other than 3389 etc? OR, are these two Windows functions (RDC and Sandbox) so well integrated that they are only talking to each other deep in Windows and there is no aspect of the RDC exposed to the internet?

Thanks,

Gordy_Z
 
Windows Build/Version
Win 11 Pro Build 22631.3880/Version 23H2

My Computer My Computer

At a glance

Win 11Intel® Core™ i5-1334U, 12M Cache, up to 4.60 GHz
OS
Win 11
Computer type
Laptop
Manufacturer/Model
Lenovo
CPU
Intel® Core™ i5-1334U, 12M Cache, up to 4.60 GHz
RDC is only an issue if you remote connect to a pc over the internet.

Using it on a LAN i.e. inside the host OS firewall is no issue.
 

My Computer My Computer

At a glance

Windows 11 Pro + Win11 Canary VM.I9 13th gen i9-13900H 2.60 GHZ16 GB solderedIntegrated Intel Iris XE
OS
Windows 11 Pro + Win11 Canary VM.
Computer type
Laptop
Manufacturer/Model
ASUS Zenbook 14
CPU
I9 13th gen i9-13900H 2.60 GHZ
Motherboard
Yep, Laptop has one.
Memory
16 GB soldered
Graphics Card(s)
Integrated Intel Iris XE
Sound Card
Realtek built in
Monitor(s) Displays
laptop OLED screen
Screen Resolution
2880x1800 touchscreen
Hard Drives
1 TB NVME SSD (only weakness is only one slot)
PSU
Internal + 65W thunderbolt USB4 charger
Case
Yep, got one
Cooling
Stella Artois (UK pint cans - 568 ml) - extra cost.
Keyboard
Built in UK keybd
Mouse
Bluetooth , wireless dongled, wired
Internet Speed
900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
Browser
Edge
Antivirus
Defender
Other Info
TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

Macrium Reflect Home V8
Office 365 Family (6 users each 1TB onedrive space)
Hyper-V (a vm runs almost as fast as my older laptop)
Thanks for the reply. Unfortunately, not understanding PC intricacies, I'd like to see for myself RDC is off to the outside world. I understand if I remote connect to a PC over the internet my session can be hijacked and by choosing to not remotely connect I can prevent that. But, people seemed to be concerned about more than active RDC sessions... "Never ever expose RDP directly to the internet." And I think I know that in a worse case scenario in which someone has my credentials they can log in remotely without me initiating the connection, right?

The Sandbox turned parts of RDC on even though I'd turned it off as shown above. So I'd like to verify/see for myself that it's not turned on enough to include connections beyond my PC and the Sandbox inside it, so that even if they had my credentials they couldn't use my RDC. Cereberus mentioned the Firewall so I looked into mine...

1724861159331.png No Remote anything apps have either Private or Public checked.

I think this shows that my PC's RDC (and remote anything) simply cannot send anything to the web and nothing from the web can reach my PC via RDC, even if they had my RDC sign-in credentials. Is that right?

Thanks again,
 
Last edited:

My Computer My Computer

At a glance

Win 11Intel® Core™ i5-1334U, 12M Cache, up to 4.60 GHz
OS
Win 11
Computer type
Laptop
Manufacturer/Model
Lenovo
CPU
Intel® Core™ i5-1334U, 12M Cache, up to 4.60 GHz
I think this shows that my PC's RDC (and remote anything) cannot send anything to the web and nothing from the web can reach my PC via RDC, even if they had my RDC sign-in credentials. Is that right?

Thanks again,
Right.
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Thanks Oat, you're quick - I think you replied in the first minute before I took it down to edit it (I just put it back up again, maybe it stays up while it's being edited, not sure).

So unless I hear differently I'm going to operate on the assumption that that Firewall capture shows my RDC only operates inside my PC and has no ability to listen for incoming session requests, even if a request has all the right credentials to access RDC on my PC.

Thanks again,
 

My Computer My Computer

At a glance

Win 11Intel® Core™ i5-1334U, 12M Cache, up to 4.60 GHz
OS
Win 11
Computer type
Laptop
Manufacturer/Model
Lenovo
CPU
Intel® Core™ i5-1334U, 12M Cache, up to 4.60 GHz
  • Like
Reactions: OAT
Back
Top Bottom