Researchers warn against tracking via TLS Session Resumption

Discussion in 'privacy problems' started by summerheat, Oct 19, 2018.

  1. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Researchers from the University of Hamburg published a study (https://arxiv.org/pdf/1810.07304.pdf) in which they warn against "Tracking Users across the Web via TLS Session Resumption".

    Only 3 browsers in the test blocked this kind of tracking: JonDoBrowser, Tor Browser and Orbot.

    A quick internet search got this thread on Reddit. Therein for Firefox it is suggested to create a boolean in about:config called 'security.ssl.disable_session_identifiers' and set it to 'true'.
     
    Last edited by a moderator: Oct 19, 2018
  2. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
  3. elapsed

    elapsed Registered Member

    Joined:
    Apr 5, 2004
    Posts:
    7,076
    Unless you never close your browser, this doesn't seem like an issue. Keep in mind that the more of these things you disable, the more unique you become.
     
  4. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Well, the lifetime of the session ID/ticket in various browsers is several hours or even 1 day - enough time to get you tracked to some extent. Even if you close your browser once a day or so, this kind of tracking will be done the next day again and can be combined with other kinds of tracking/fingerprinting. So I wouldn't say that this is no issue.

    Anyway, some additional digging revealed that what I wrote earlier regarding 'security.ssl.disable_session_identifiers' is actually obsolete as this issue is covered in Firefox if you enable First-Party Isolation. While the Tor Browser documentation for Cross-Origin Identifier Unlinkability (which is the basis for FPI in Firefox) still says that above setting should be set to 'true' in order to block SSL+TLS session resumption, this bug report (which was closed 2 months ago) confirms that the FPI implementation in Firefox also isolates session tickets/identifiers by first party. Hence, that manually created boolean can be deleted if you're using FPI (that's what I'm doing anyhow) as FPI is clearly the superior solution which also isolates cookies, cache, indexeddb etc.
     
  5. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,885
    Location:
    Slovenia, EU
    @summerheat
    Did you encounter any problems after enabling FPI? Does it provide any benefit if I regularly close my browser and delete cache, cookies... and visit only one "important" site per session?
     
  6. 142395

    142395 Guest

    Yup, this is important.
    I'd encountered some site's breakage so disabled it, but don't remember what sites they were.
     
  7. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    No, I haven't had any problems with. (FWIW, the Temporary Containers add-on caused problems at times, that's why I don't use it anymore.) But it seems that some people do have problems on some sites. That's why I recommend to install the First Party Isolation add-on. Basically all it does is setting the respective switch in about:config to true. But the advantage is that it provides an icon in the add-ons bar - just click it and FPI is temporarily disabled. Very practical if you really run into problems.

    EDIT: Sorry, I forgot to answer your second question. I also automatically delete cache, cookies etc. whenever I close FF. However, this does not prevent being tracked during a session. FPI does - and btw., it probably also protects against 1st-party tracking cookies. I use it as an additional line of defense alongside blocking the trackers via uMatrix/uBlock Origin.
     
    Last edited: Oct 20, 2018
  8. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Yes, but:
    1. I don't think that this applies to FPI. FPI does not block anything but isolates cookies, cache, DOM storage, IndexedDB etc. by first party. This makes tracking across websites nearly impossible.
    2. It depends what you block. Tracking across websites is done via trackers/adservers. If you block them with, e.g., uBlock Origin this might make you more unique. But you stop being tracked from the beginning.
     
  9. Minimalist

    Minimalist Registered Member

    Joined:
    Jan 6, 2014
    Posts:
    14,885
    Location:
    Slovenia, EU
    Thank you both for your answers. Will try it out with that add-on.
     
  10. elapsed

    elapsed Registered Member

    Joined:
    Apr 5, 2004
    Posts:
    7,076
    I can't speak for this "FPI" Firefox feature. I was speaking purely for disabling TLS session resumption.

    The fact that the SSL Labs website knows if you have it enabled or not proves that disabling it will actually make you more unique. Thereby, easier to track.
     
  11. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Yes, easier to track by fingerprinting. But fingerprinting is primarily performed by 3rd-party trackers. They are easy to block. A more in-depth discussion is here.

    And just for clarification: With FPI enabled, session tickets are shown as 'Yes' on SSL Labs. As mentioned , FPI doesn't disable them but isolates them by first-party. So this mechanism is different from that other setting.
     
  12. elapsed

    elapsed Registered Member

    Joined:
    Apr 5, 2004
    Posts:
    7,076
    This is all besides the point. Your original post tells users they should disable session resumption when they should not do that because it's counter to their end goal of not being tracked.

    If your original post said "enable x isolation feature" then it wouldn't be a problem.
     
  13. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
  14. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Well, that's what I found as a recommendation as it mimicks what those 3 mentioned browsers do.

    Why do you call it a problem that further research resulted in new conclusions which were presented in subsequent posts? I don't get it. :confused:
     
  15. Pharao

    Pharao Registered Member

    Joined:
    Oct 8, 2014
    Posts:
    81
    Only drawback - AFAIK First-Party Isolation won't work in private mode browsing.
     
  16. Stefan Froberg

    Stefan Froberg Registered Member

    Joined:
    Jul 30, 2014
    Posts:
    747
    The download link is dead but never mind that for now...

    @mirimir can you give quick crash course of docker for impatient?
    It's a application level virtual machine right? You create your image with only firefox plus it's depencies(?) in the image and run with docker right? And then it communicates with the outside world of it's isolated space with unix sockets or some other mechanism?

    Could I use the created docker image with any other machine with docker installed?
    In other words: Could I use those isolated docker images also as a way to deploy my own applications?
     
  17. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,367
    Location:
    Italy
    FPI is inefficient in Firefox 52 ESR.
    Who uses Pale Moon, Basilisk ........ can only insert the Boolean entry in about: config.
     
  18. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    Yes, I think that's correct. However, I've configured FF such that any data is cleared when I close it. Besides, I'm using Forget Me Not which deletes cookies and localstorage periodically during a session. Hence, I don't see any benefit of using PB. Please correct me if I'm missing something.
     
  19. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    So? That version is obsolete anyhow. End-of-life was on Aug. 28. I don't understand how someone continues to use a browser that doesn't get any updates any more.
     
  20. Stefan Froberg

    Stefan Froberg Registered Member

    Joined:
    Jul 30, 2014
    Posts:
    747
    Firefox 52 was the last one to support legacy extensions. So if someones favorite extension never got rewritten for new Fox then
    options are either to continue using the last Firefox 52 ESR or try to find some other browser that offers similar functionality.
    Also, FF 52 is the last one supported for Windows XP and XP is still extremenly popular (read: pirated :D ) in China ...
     
  21. summerheat

    summerheat Registered Member

    Joined:
    May 16, 2015
    Posts:
    2,199
    THIS is an argument I can accept, indeed :argh:
     
  22. mirimir

    mirimir Registered Member

    Joined:
    Oct 1, 2011
    Posts:
    9,252
    :(
    Sure :)
    Yes, basically. There are "images" and "containers", rather like "isos" and "vms". But you can easily go back and forth:
    "~# docker create --name STRING IMAGE" creates a container from an image
    "~# docker commit CONTAINER IMAGE" creates an image from a container

    If you start with a basic Debian image, say, you can just create a container, install Firefox, and then commit to a new image.

    "~# docker images" shows images
    "~# docker ps -a" shows containers

    For basic container management:

    "~# docker start CONTAINER"
    "~# docker attach CONTAINER"
    "~# docker stop CONTAINER"

    To run a throwaway container from an image with Firefox installed:

    "~# docker run -i --rm IMAGE"


    Yes, they're totally transportable.
    Sure. And not just "applications". Systems. Environments. Whatever you can install in machines.
     
  23. Stefan Froberg

    Stefan Froberg Registered Member

    Joined:
    Jul 30, 2014
    Posts:
    747
    Thank you very much! Now Im excited to try it :)
     
  24. Sampei Nihira

    Sampei Nihira Registered Member

    Joined:
    Apr 7, 2013
    Posts:
    3,367
    Location:
    Italy
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.