Opened 3 months ago

Last modified 5 weeks ago

#30532 new defect

font FP reveals different Windows releases

Reported by: Thorin Owned by: tbb-team
Priority: High Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-fingerprinting-fonts
Cc: Actual Points:
Parent ID: #18097 Points:
Reviewer: Sponsor:

Description

based on Arthur's work [1], I have been looking at the enumerate fonts FP for TB 8 and 8.5a and various platforms.

[1] https://ghacksuserjs.github.io/TorZillaPrint/TorZillaPrint.html#fonts
just click run tests, and the only test I have actually added is the one we're concerned about

  • Linux distros all seem to be the same - I will test more
  • I do not have a Mac, but I do have one result, should anyone like to contribute, and I don't think Macs would vary
  • But I found Windows (so far in three out 3 cases) is revealing the major version and maybe the architecture. I believe this might be fixed by looking at the font whitelist, but Windows 10 is a rather drastic change (at least from Win7).
  • I will try and get Win10-32bit, Win8.1 32+64bit results to build a complete picture of Windows font entropy. If you can provide it instead of me trying to find isos and setting up more VMs, then please do

So here are some results (8.0.9, 8.5a12)

  • Win 7 32bit: 9e5d39b4542cd5e2a19f73b8fa566e679fa561e5 (62 fonts)
  • Win 7 64bit: ad4ccd607603041d3e89aa8e03e2e203fc184653 (61 fonts)
  • Win8.1 32bit: please help
  • Win8.1 64bit: please help
  • Win 10 32bit: please help
  • win 10 64bit: 1389aaf4c97027b8157c5fb9ef5ed6f141a6b8a1 (36 fonts)

also, FYI

  • mint (32/64bit), ubuntu, debian: 09a4ee037c9082b9b8f0b7ae981c656d517faffa
  • mac 10.14: 4094aedc000205c711385fad32827e60462976dc

Note that the 1 font difference between Win7 32 and 64 bit is just the count, there are actually three changes. I will post the font lists for the three windows results in the next post

Child Tickets

Change History (11)

comment:1 Changed 3 months ago by Thorin

windows font results

*Windows 7 Ultimate 32bit*
Arial, Arial Black, Batang, Cambria Math, Courier, Courier New, Euphemia, Gautami, Georgia, Gulim, GulimChe, Helvetica, Iskoola Pota, Kalinga, Kartika, Latha, Lucida Console, MS Gothic, MS Mincho, MS PGothic, MS PMincho, MV Boli, Malgun Gothic, Mangal, Meiryo, Meiryo UI, Microsoft Himalaya, Microsoft JhengHei, Microsoft YaHei, MingLiU, Noto Sans Buginese, Noto Sans Khmer, Noto Sans Lao, Noto Sans Myanmar, Noto Sans Yi, Nyala, PMingLiU, Plantagenet Cherokee, Raavi, Segoe UI, Segoe UI Light, Segoe UI Semibold, Shruti, SimSun, Sylfaen, Tahoma, Times, Times New Roman, Tunga, Verdana, Vrinda, 宋体, 微软雅黑, 新細明體, 楷体, 細明體, 굴림, 굴림체, 바탕, MS ゴシック, MS 明朝, MS Pゴシック

Windows 7 Ultimate 64bit
Arial, Arial Black, Arial Narrow, Batang, Courier, Courier New, Euphemia, Gautami, Georgia, Gulim, GulimChe, Helvetica, Iskoola Pota, Kalinga, Kartika, Latha, Lucida Console, MS Gothic, MS Mincho, MS PGothic, MS PMincho, MV Boli, Malgun Gothic, Mangal, Meiryo, Meiryo UI, Microsoft Himalaya, Microsoft JhengHei, Microsoft YaHei, MingLiU, Noto Sans Buginese, Noto Sans Khmer, Noto Sans Lao, Noto Sans Myanmar, Noto Sans Yi, Nyala, PMingLiU, Plantagenet Cherokee, Raavi, Segoe UI, Segoe UI Light, Segoe UI Semibold, Shruti, SimSun, Sylfaen, Tahoma, Times, Times New Roman, Tunga, Verdana, Vrinda, 宋体, 微软雅黑, 新細明體, 細明體, 굴림, 굴림체, 바탕, MS ゴシック, MS 明朝, MS Pゴシック

Windows10 Home 64bit (1809 free MS iso 6 months ago)
Arial, Arial Black, Cambria Math, Courier, Courier New, Georgia, Helvetica, Lucida Console, MS Gothic, MS PGothic, MV Boli, Malgun Gothic, Microsoft Himalaya, Microsoft JhengHei, Microsoft YaHei, Microsoft YaHei UI, Noto Sans Buginese, Noto Sans Khmer, Noto Sans Lao, Noto Sans Myanmar, Noto Sans Yi, Segoe UI, Segoe UI Light, Segoe UI Semibold, Segoe UI Semilight, SimSun, Sylfaen, Tahoma, Times, Times New Roman, Verdana, Yu Gothic UI, 宋体, 微软雅黑, MS ゴシック, MS Pゴシック

You can compare them. For example, the diff between 32 vs 64 Win7 is

  • win7 32 has Cambria Math and 楷体
  • win7 64 has Arial Narrow

As for win7 vs win10, use your fav IDE.

Last edited 3 months ago by Thorin (previous) (diff)

comment:2 Changed 3 months ago by cypherpunks

Win 10 1809 64 bit: 77ee9c373e698fe9c8b381446a380389914ff294 (37 fonts)
Arial, Arial Black, Arial Narrow, Cambria Math, Courier, Courier New, Georgia, Helvetica, Lucida Console, MS Gothic, MS PGothic, MV Boli, Malgun Gothic, Microsoft Himalaya, Microsoft JhengHei, Microsoft YaHei, Microsoft YaHei UI, Noto Sans Buginese, Noto Sans Khmer, Noto Sans Lao, Noto Sans Myanmar, Noto Sans Yi, Segoe UI, Segoe UI Light, Segoe UI Semibold, Segoe UI Semilight, SimSun, Sylfaen, Tahoma, Times, Times New Roman, Verdana, Yu Gothic UI, 宋体, 微软雅黑, MS ゴシック, MS Pゴシック

comment:3 Changed 3 months ago by Thorin

Thanks. That's interesting. I just checked my Win10 64bit VM winver. It is 1809 build 17763.503. I downloaded the iso from Microsoft about 6 months ago, never activated it or anything. Maybe it's a test version of something - I forget exactly.

The difference between yours and mine is you have Arial Narrow

Last edited 3 months ago by Thorin (previous) (diff)

comment:4 Changed 3 months ago by gk

Component: - Select a componentApplications/Tor Browser
Keywords: tbb-fingerprinting-fonts added; tbb-fingerprinting removed
Owner: set to tbb-team
Priority: MediumHigh

comment:5 Changed 3 months ago by gk

Parent ID: #18097

comment:6 in reply to:  description ; Changed 3 months ago by cypherpunks

Replying to Thorin:

So here are some results (8.0.9, 8.5a12)

  • Win 7 32bit: 9e5d39b4542cd5e2a19f73b8fa566e679fa561e5 (62 fonts)

My up-to-date config has bcba63ce9e2983dd1b97cf221fc8f860a1a7617f (61 fonts)
Arial, Arial Black, Arial Narrow, Batang, Cambria Math, Courier, Courier New, Euphemia, Gautami, Georgia, Gulim, GulimChe, Helvetica, Iskoola Pota, Kalinga, Kartika, Latha, Lucida Console, MS Gothic, MS Mincho, MS PGothic, MS PMincho, MV Boli, Malgun Gothic, Mangal, Meiryo, Meiryo UI, Microsoft Himalaya, Microsoft JhengHei, Microsoft YaHei, MingLiU, Noto Sans Buginese, Noto Sans Khmer, Noto Sans Lao, Noto Sans Myanmar, Noto Sans Yi, Nyala, PMingLiU, Plantagenet Cherokee, Raavi, Segoe UI, Segoe UI Light, Segoe UI Semibold, Shruti, SimSun, Sylfaen, Tahoma, Tunga, Verdana, Vrinda, 宋体, 微软雅黑, 新細明體, 楷体, 細明體, 굴림, 굴림체, 바탕, MS ゴシック, MS 明朝, MS Pゴシック

comment:7 Changed 3 months ago by Thorin

The diff again is just Arial Narrow. I wonder why some setups have narrow and others don't. The whitelist can't control that, it just has Arial as a "family" (if that's the right word".

comment:8 Changed 3 months ago by cypherpunks

My Win7 Ultimate x64 has 63 fonts (63b78ed9fe8ba9a932a2adfc924c2e2d49d04fce):
Arial, Arial Black, Arial Narrow, Batang, Cambria Math, Courier, Courier New, Euphemia, Gautami, Georgia, Gulim, GulimChe, Helvetica, Iskoola Pota, Kalinga, Kartika, Latha, Lucida Console, MS Gothic, MS Mincho, MS PGothic, MS PMincho, MV Boli, Malgun Gothic, Mangal, Meiryo, Meiryo UI, Microsoft Himalaya, Microsoft JhengHei, Microsoft YaHei, MingLiU, Noto Sans Buginese, Noto Sans Khmer, Noto Sans Lao, Noto Sans Myanmar, Noto Sans Yi, Nyala, PMingLiU, Plantagenet Cherokee, Raavi, Segoe UI, Segoe UI Light, Segoe UI Semibold, Shruti, SimSun, Sylfaen, Tahoma, Times, Times New Roman, Tunga, Verdana, Vrinda, 宋体, 微软雅黑, 新細明體, 楷体, 細明體, 굴림, 굴림체, 바탕, MS ゴシック, MS 明朝, MS Pゴシック

It includes both Arial Narrow, Cambria Math and 楷体

comment:9 in reply to:  6 Changed 3 months ago by cypherpunks

Replying to cypherpunks:

Replying to Thorin:

So here are some results (8.0.9, 8.5a12)

  • Win 7 32bit: 9e5d39b4542cd5e2a19f73b8fa566e679fa561e5 (62 fonts)

My up-to-date config has bcba63ce9e2983dd1b97cf221fc8f860a1a7617f (61 fonts)
Arial, Arial Black, Arial Narrow, Batang, Cambria Math, Courier, Courier New, Euphemia, Gautami, Georgia, Gulim, GulimChe, Helvetica, Iskoola Pota, Kalinga, Kartika, Latha, Lucida Console, MS Gothic, MS Mincho, MS PGothic, MS PMincho, MV Boli, Malgun Gothic, Mangal, Meiryo, Meiryo UI, Microsoft Himalaya, Microsoft JhengHei, Microsoft YaHei, MingLiU, Noto Sans Buginese, Noto Sans Khmer, Noto Sans Lao, Noto Sans Myanmar, Noto Sans Yi, Nyala, PMingLiU, Plantagenet Cherokee, Raavi, Segoe UI, Segoe UI Light, Segoe UI Semibold, Shruti, SimSun, Sylfaen, Tahoma, Tunga, Verdana, Vrinda, 宋体, 微软雅黑, 新細明體, 楷体, 細明體, 굴림, 굴림체, 바탕, MS ゴシック, MS 明朝, MS Pゴシック

And the same as in comment:8 on 8.5a12. So, hrm...

comment:10 Changed 3 months ago by Thorin

bcba63ce9e2983dd1b97cf221fc8f860a1a7617f is missing Times New Roman - that's seems very strange - but now two people said they have that config :headspin:

comment:11 Changed 5 weeks ago by Thorin

https://bugzilla.mozilla.org/show_bug.cgi?id=1121643#c64

If your system is running the DirectWrite font backend (i.e. if hardware acceleration is enabled), then Arial Black is not a valid font-family name (it's a face within the extended Arial family) - see: https://bugzilla.mozilla.org/show_bug.cgi?id=644385

The same applies to other faces in your list such as Segoe UI Light and Segoe UI Semibold; and others are legacy bitmap-only or vector fonts (e.g. FixedSys, HELV, Terminal) that DirectWrite does not support. So those fonts will not appear as available, regardless of the presence of the whitelist.

Well, that explains that then, I think

Note: See TracTickets for help on using tickets.