17

I'm trying to figure out if the screen sharing data is encrypted when I connect to my Mac at home from another Mac at work. I've seen a lot of questions and answers but I can't really find a definitive answer. Basically, I just have my Mac sitting at home with Screen Sharing turned on and I'm port-forwarding 5900. It works but again, I'd like it to be secure.

Now, before anyone mentions SSH tunneling, I had it set up the first day I tried this (Remote Login, port-forwarded 22, tunnel created, etc) but then it stopped working. I'm still trying to figure out what's going on there but if Screen Sharing is completely encrypted, then I'm not going to worry about the tunnel anymore.

1 Answer 1

12

The answer depends on how you connect to it.

If you're using a standard VNC client to connect with a password only, nothing is encrypted. Not even the password.

If you're using the Screen Sharing app on macOS 10.8 (Mountain Lion) or later to connect with a username/password or AppleID, everything is encrypted.

If you're using the Screen Sharing app on macOS 10.7 (Lion) or earlier to connect with a username/password, the exchange of credentials as well as keypresses and mouse moves are encrypted by default. However the actual screen display (i.e. the graphical content) is not. You can enable full encryption from the Preferences menu in the Screen Sharing app.

If you're using VNC, I would recommend wrapping it in encryption using for example an SSH tunnel, encrypted VPN or similar measures.

6
  • 2
    I'm using the Screen Sharing app and both machines are running macOS 10.12 (Sierra) and connecting via username/password. Is this documented anywhere? It's not that I don't believe you but I haven't been able to find a primary source for Screen Sharing encryption.
    – Malarkey
    Commented Aug 8, 2017 at 0:17
  • Then the connection is supposed to be fully encrypted (you write that you have Remote Login enabled, etc.).
    – jksoegaard
    Commented Aug 8, 2017 at 0:19
  • 1
    @jksoegaard do you know of any official documentation to support that OSX's "Screen Sharing" app encrypts its data.
    – sam
    Commented Jul 20, 2019 at 12:11
  • @sam It’s better to use a program like Wireshark to dump the actual network packets from a screen sharing session - then you can see for yourself that it is encrypted. Multiple VNC dissectors exist for Wireshark. Also you can download and use a third party client like Remotix - it also supports the encryption system provided by Apple Screen Sharing. Obviously they wouldn’t be advertising this feature, if Apple Screen Sharing doesn’t do encryption.
    – jksoegaard
    Commented Jul 20, 2019 at 12:42
  • @jksoegaard ive run Wreshark and initiated a Screen Sharing session between my computer and another computer (both on the same LAN). I tried filtering the data by adding a filter in Wireshark for VNC traffic, but couldnt see any specific VNC traffic, i could see lots of other traffic. Am i using Wireshark incorrectly ?
    – sam
    Commented Jul 20, 2019 at 13:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .