Skip to content

關於vless-cracker-v1的檢測 #6121

Description

@FuckCCP8964

先說結論,這玩具目前我發現只能對reality的target為aws的網站有效,這與aws(包括cloudfront.net)所使用的TLS庫s2n-tls有關。
下面是在中轉機測試的結果(已對IP、Port等做匿名化處理):

aws.amazon.com:
[2026-05-12 09:26:05.036852] TLS ReplayProbe MISMATCH, VLESS/REALITY connection detected after 3/3 confirmations. client=2a0x::xxxx:40128 server=260x::xxxx:1234 sni=aws.amazon.com probes=7 cmp=X[D] result=A{X=TO,ALERT,ALERT,ALERT,ALERT,ALERT,ALERT}|B{X=TO,TO,TO,ALERT,ALERT,TO,ALERT}
[2026-05-12 09:26:05.037660] TLS ReplayProbe MISMATCH, VLESS/REALITY connection detected after 3/3 confirmations. client=240x::xxxx:56117 server=2a0x::xxxx:443 sni=aws.amazon.com probes=7 cmp=X[D] result=A{X=TO,ALERT,ALERT,ALERT,ALERT,ALERT,ALERT}|B{X=TO,TO,TO,ALERT,ALERT,TO,ALERT}
images-na.ssl-images-amazon.com:
[2026-05-12 11:00:39.650184] TLS ReplayProbe MISMATCH, VLESS/REALITY connection detected after 3/3 confirmations. client=240x::xxxx:34662 server=2a0x::xxxx:443 sni=images-na.ssl-images-amazon.com probes=7 cmp=X[D] result=A{X=TO,ALERT,ALERT,ALERT,ALERT,ALERT,ALERT}|B{X=TO,TO,TO,ALERT,ALERT,TO,ALERT}
[2026-05-12 11:00:39.653810] TLS ReplayProbe MISMATCH, VLESS/REALITY connection detected after 3/3 confirmations. client=2a0x::xxxx:55436 server=260x::xxxx:1234 sni=images-na.ssl-images-amazon.com probes=7 cmp=X[D] result=A{X=TO,ALERT,ALERT,ALERT,ALERT,ALERT,ALERT}|B{X=TO,TO,TO,ALERT,ALERT,TO,ALERT}

可以發現s2n-tls對於這7次異常封包的行為確實與gotls不同,在第2次、第3次、第6次時都是Timeout,而gotls這邊除了第1次以外都是Alert。
建議大家在xray沒有加入模仿target對異常封包的行為前暫時不要使用aws網站(包括cdn)的sni了。

target為nginx (built with OpenSSL 3.6.2)時,一開始就被排除了,因為行為上與gotls無異。

TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42618 selected_version=0xbbbb bytes=1428
TLS ServerHello 2a0x::xxxx:443 -> 2001::xxxx:50016 selected_version=0xbbbb bytes=5583
TLS replay attempt=1 probe=1 server=2a0x::xxxx:443 complete probe_status=TO bytes=5583
TLS replay B randomized ClientHello legacy_session_id len=32 before=aaaaaaaa after=bbbbbbb
TLS replay waiting 1s before attempt=B randomized session_id recheck
TLS replay attempt=1 probe=1 server=240x::xxxx:1234 complete probe_status=TO bytes=5583
TLS replay B randomized ClientHello legacy_session_id len=32 before=aaaaaaaa after=cccccccc
TLS replay waiting 1s before attempt=B randomized session_id recheck
TLS replay attempt=2 server=2a0x::xxxx:443
TLS replay attempt=2 server=2a0x::xxxx:443
TLS replay attempt=2 server=2a0x::xxxx:443
TLS replay attempt=2 server=2a0x::xxxx:443
TLS replay attempt=2 server=2a0x::xxxx:443
TLS replay attempt=2 server=2a0x::xxxx:443
TLS replay attempt=2 server=2a0x::xxxx:443
TLS replay attempt=2 probe=3 server=2a0x::xxxx:443 sent probe bytes=5
TLS replay attempt=2 probe=3 server=2a0x::xxxx:443 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=1 server=2a0x::xxxx:443 sent probe bytes=18
TLS replay attempt=2 server=240x::xxxx:1234
TLS replay attempt=2 server=240x::xxxx:1234
TLS replay attempt=2 server=240x::xxxx:1234
TLS replay attempt=2 server=240x::xxxx:1234
TLS replay attempt=2 server=240x::xxxx:1234
TLS replay attempt=2 server=240x::xxxx:1234
TLS replay attempt=2 server=240x::xxxx:1234
TLS replay attempt=2 probe=2 server=2a0x::xxxx:443 sent probe bytes=5
TLS replay attempt=2 probe=2 server=2a0x::xxxx:443 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=7 server=2a0x::xxxx:443 sent probe bytes=10
TLS replay attempt=2 probe=7 server=2a0x::xxxx:443 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=4 server=2a0x::xxxx:443 sent probe bytes=7
TLS replay attempt=2 probe=4 server=2a0x::xxxx:443 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=5 server=2a0x::xxxx:443 sent probe bytes=6
TLS replay attempt=2 probe=5 server=2a0x::xxxx:443 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=6 server=2a0x::xxxx:443 sent probe bytes=6
TLS replay attempt=2 probe=6 server=2a0x::xxxx:443 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=6 server=240x::xxxx:1234 sent probe bytes=6
TLS replay attempt=2 probe=6 server=240x::xxxx:1234 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=1 server=240x::xxxx:1234 sent probe bytes=18
TLS replay attempt=2 probe=2 server=240x::xxxx:1234 sent probe bytes=5
TLS replay attempt=2 probe=2 server=240x::xxxx:1234 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=3 server=240x::xxxx:1234 sent probe bytes=5
TLS replay attempt=2 probe=3 server=240x::xxxx:1234 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=4 server=240x::xxxx:1234 sent probe bytes=7
TLS replay attempt=2 probe=4 server=240x::xxxx:1234 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=5 server=240x::xxxx:1234 sent probe bytes=6
TLS replay attempt=2 probe=5 server=240x::xxxx:1234 complete probe_status=ALERT bytes=5607
TLS replay attempt=2 probe=7 server=240x::xxxx:1234 sent probe bytes=10
TLS replay attempt=2 probe=7 server=240x::xxxx:1234 complete probe_status=ALERT bytes=5607
[2026-05-11 22:20:06.108249] TLS ClientHello 2a0x::xxxx:42632 -> 240x::xxxx:1234 sni=www.domain.com versions=0xaaaa,0xbbbb,0xcccc
[2026-05-11 22:20:06.108489] TLS ClientHello 2a0x::xxxx:42636 -> 240x::xxxx:1234 sni=www.domain.com versions=0xaaaa,0xbbbb,0xcccc
[2026-05-11 22:20:06.108525] TLS ClientHello 2a0x::xxxx:42642 -> 240x::xxxx:1234 sni=www.domain.com versions=0xaaaa,0xbbbb,0xcccc
[2026-05-11 22:20:06.108859] TLS ClientHello 2a0x::xxxx:42650 -> 240x::xxxx:1234 sni=www.domain.com versions=0xaaaa,0xbbbb,0xcccc
[2026-05-11 22:20:06.109096] TLS ClientHello 2a0x::xxxx:42662 -> 240x::xxxx:1234 sni=www.domain.com versions=0xaaaa,0xbbbb,0xcccc
[2026-05-11 22:20:06.109349] TLS ClientHello 2a0x::xxxx:42664 -> 240x::xxxx:1234 sni=www.domain.com versions=0xaaaa,0xbbbb,0xcccc
[2026-05-11 22:20:06.109643] TLS ClientHello 2a0x::xxxx:42678 -> 240x::xxxx:1234 sni=www.domain.com versions=0xaaaa,0xbbbb,0xcccc
TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42642 selected_version=0xbbbb bytes=1428
TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42632 selected_version=0xbbbb bytes=4096
TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42636 selected_version=0xbbbb bytes=4096
TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42678 selected_version=0xbbbb bytes=1428
TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42650 selected_version=0xbbbb bytes=4096
TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42662 selected_version=0xbbbb bytes=1428
TLS ServerHello 240x::xxxx:1234 -> 2a0x::xxxx:42664 selected_version=0xbbbb bytes=1428
TLS replay attempt=2 probe=1 server=2a0x::xxxx:443 complete probe_status=TO bytes=5583
TLS replay confirmation failed; excluding server=2a0x::xxxx:443 round=1
TLS replay attempt=2 probe=1 server=240x::xxxx:1234 complete probe_status=TO bytes=5583
TLS replay confirmation failed; excluding server=240x::xxxx:1234 round=1

我沒有測試caddy(gotls)類的網站,我想也沒有必要了。。。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions