[Critical] [Pending] uTLS fingerprint leakage, and how to disable uTLS
uTLS fingerprint leakage
from TG channel
本频道匿名披露的UTLS ECH GREASE BUG已被修复
请注意,此BUG会导致UTLS Chrome指纹纯被动识别 识别率50%(但是鉴于代理软件TCP连接数巨大,识别率可到100%)
影响范围 2023.12 - 2025.10
请立刻停用旧版客户端的Chrome指纹或更新客户端
如图,ECH套件与CipherSuite套件需匹配
*注 ECH GREASE 是网站不支持ECH时候发送的假ECH占位,目的是为了让防火墙区分不出来是不是真ECH
https://github.com/refraction-networking/utls/commit/24bd1e05a788c1add7f3037f4532ea552b2cee07
Update
Release on the way.
Documented but mismatched behavior
https://xtls.github.io/config/transport.html#tlsobject
fingerprint : string此参数用于配置指定 TLS Client Hello 的指纹。当其值为空时,表示不启用此功能。
However, code implementation: https://github.com/XTLS/Xray-core/blob/195248801d71169eb49a28f7d667ae98cebed3df/transport/internet/tls/tls.go#L166-L168 I respect RPRX, but at least give your dumb end users choices, now we are cooked. Release a new version ASAP.
Update
Docs are wrong. Xray use uTLS by default by intention.
For old clients, use unsafe to be safe to disable uTLS, but Reality cannot do this.
Reality is built on uTLS, use firefox instead.
https://github.com/XTLS/Xray-core/pull/5229#issuecomment-3401500537
So you are neither fixing this documented mismatch behavior nor correcting the doc, if it's wrong, since you closed without a fix
当初就默认utls这事其实吵过一次所以没动 这事也算是当初的回旋镖 我close的时候就已经改掉文档了
😄 Now unsafe is safe
infra/conf: failed to build stream settings for outbound detour > infra/conf: Failed to build REALITY config. > infra/conf: invalid "fingerprint": unsafe
reality好像是强制utls 这下淦了 可以用Firefox
Dont tie reality to utls please, reality is excellent https://github.com/XTLS/Xray-core/blob/main/transport/internet/reality/reality.go we need a complete rewrite for reality
并不 reality 的协议实现使用了utls的暴露函数以操作底层tls结构 用原生gotls是没法实现的
https://github.com/XTLS/Xray-core/pull/5229#issuecomment-3402757931 先简单评价一下就是:
- 这并非 uTLS 第一次出这样的问题,上一次就在几个月前,我报告的 https://github.com/refraction-networking/utls/issues/342
- Xray 虽然默认 Chrome 但并没有假设 uTLS 一定没问题,比如 REALITY 设计之初就有客户端发版本号机制,但其它实现冻结了
- 都两年了不差这一两天,发了新版客户端也要半年才能普及,且还会残存不少旧版客户端,~~TLS 类都没救了洗洗睡吧~~
- 好在 uTLS 的使用广泛,比如爬虫也会用,对于真网站也会出现些这样的指纹,如果 GFW 按这个来封 IP 可以被利用封锁真网站
- 所以服务端加个指纹过滤也没啥必要,还有 iOS 上一堆非 Go 的实现可能不存在该问题,但有没有其它问题就不知道了
I understand your skepticism regarding the update timelines for client devices, but delivering a new version on Android is quite easy and fast. However, releasing a new version on iOS, due to Apple Store moderation, can sometimes take several weeks.
If you don’t mind, perhaps we could release a new version so that the developers of client applications can publish their updates as soon as possible?
https://github.com/XTLS/Xray-core/pull/5229#issuecomment-3402757931 不都说了明天发新版吗,~~本来风扇发了个忘更新内置版本号的版本也让他删掉了~~
Reality is built on uTLS, use firefox instead.
REALITY localAddr: 192.168.0.2:62424 is using X25519MLKEM768 for TLS' communication: false REALITY localAddr: 192.168.0.2:62424 is using ML-DSA-65 for cert's extra verification: true REALITY localAddr: 192.168.0.2:62424 uConn.Verified: true
firefox不支持X25519MLKEM768吗?难道是utls的问题?
HelloFirefox_120
可能就是了,120有点旧了
Shadowrocket 受影响吗?
https://github.com/XTLS/Xray-core/releases/tag/v25.10.15 已被设为 latest,升级客户端即可
~~不幸中的万幸是 Vision Seed 捂了两年还没发,如果以后在服务端要求客户端必须有 Vision Seed 则自然过滤掉了有问题的指纹~~