Skip to content
Projects

Floxu1/UAC-SNI-Spoofer-Windows

View on GitHub

About

Windows desktop app for SNI spoofing, smart routing, country-based configs, Xray integration, and live system proxy control.

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
+1
in 7 days
+15
in 15 days
+39
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original
UAC SNI Spoofer icon

UAC SNI Spoofer — Windows

A one-click Windows network dashboard: Xray + Patterniha SNI spoofing, and a second Psiphon-over-WARP engine.

Version Platform License Latest release Downloads

فارسی · English · Step-by-step guide · Telegram

Engine 1 home screen

Table of contents

Overview

UAC SNI Spoofer Windows wraps two complete tunnel engines in one bilingual (Persian/English, RTL/LTR) desktop app:

Engine 1 — Xray Engine 2 — UAC PoW
Core Xray + Patterniha SNI-spoofing core aether (WARP / MASQUE) + Psiphon
Needs configs Yes (built-in suggested list, your own, or SNI Maker) No
Best for MCI / IranCell lines with SNI filtering Lines where configs keep dying

Both engines apply the Windows proxy automatically and restore the previous proxy and network state on disconnect, exit, or after a crash.

Features

Connection & routing

  • Separate, isolated profiles for MCI / Hamrah Aval, IranCell and Auto; changing one never overwrites the other.
  • Local SOCKS/HTTP tunnel, automatic Windows Proxy with safe restore.
  • Optional system-wide TUN mode (sing-box) for TCP + UDP, verified with a real YouTube route before reporting "connected"; ping stays direct so CMD shows real latency.
  • Mobile Gateway — share the connection with phones on the same LAN, no proxy/static-IP setup on the phone; live device list.
  • App Bypass — chosen processes go direct (also translated into sing-box rules in TUN mode).
  • Iranian sites direct (on by default) — Iranian domains/IPs skip the tunnel; toggle in Tuning.
  • Mux off by default (measured to break SNI/ECH ws routes); can still be enabled in Tuning.

Finding a working route

  • Quick-start wizard — detects your carrier and the line's DPI behaviour, then finds and saves working configs for you.
  • Auto mode with quality pick — tests the top candidates in parallel and chooses by real page load + throughput, not just ping.
  • SNI Maker — fetch a public list (Patterniha's by default), live-test every config through the real tunnel, keep the healthy ones; filter by country.
  • SNI Lab / batch tester and carrier-aware SNI finder with per-edge rounds of real tunnel tests.
  • Clean IP finder — re-tests cached good Cloudflare edges for your carrier, then samples ranges with a real TLS ClientHello.
  • ECH keys — fetches and caches ECH configs from several resolvers in parallel (faster than per-dial lookup).
  • Gene Lab import — import strategies.json into the pattern settings, with a learning multi-gene pool.

UI & diagnostics

  • Public IP card with flag, ISP/ASN, city and time zone (fast multi-source lookup with cache).
  • Active Route card (config, country, edge IP, fake SNI, Spoof/ECH), live download/upload/latency.
  • Readable, grouped Live Logs with summary header and connect summary.
  • Simple and pro Tuning dialogs (route, SNI, DNS, timeouts, fallback, pattern core).
  • Engine switch guard (asks before disconnecting), one-time coach marks, GitHub Releases update checker.
  • One-time 1.1.1 data reset — old data is moved (never deleted) to %APPDATA%\UAC Spoofer Desktop.backup-before-1.1.1-<time> so 1.1.1 starts clean with the wizard.

Engine 1 — Xray + SNI spoofing

Xray routes traffic through the Patterniha core, which disguises the TLS handshake with a fake SNI toward a clean Cloudflare edge.

SNI Maker
SNI Maker
SNI Lab
SNI Lab
Tuning
Tuning
Quick-start wizard
Quick-start wizard

Engine 2 — UAC PoW (Psiphon over WARP)

No configs needed: aether raises a WARP leg (MASQUE / WireGuard ladder with clean-IP scanning) and Psiphon runs through it. Pick an exit country or leave it on Auto.

Engine 2 home
Engine 2 home
PoW settings
PoW settings
Exit country
Exit country

Options include Psiphon-over-WARP (default), HTTP/2 fragment, parallel MASQUE sessions, low-RTT IP pick and direct-Psiphon-first.

Download & quick start

  1. Download UAC-Spoofer-Windows-Portable.zip or UAC-Spoofer-Windows-Setup.msi from Releases and verify it with SHA256SUMS.txt.
  2. Run the MSI, or extract the complete Portable ZIP into its own folder.
  3. Run UAC-Spoofer-Desktop.exe and accept the UAC prompt (admin is needed for the spoofing driver, TUN and gateway).
  4. Follow the quick-start wizard, then press Connect.

No Python install is required. Full illustrated guide: floxu1.github.io/UAC-SNI-Spoofer-Windows.

Build from source

Requirements: Windows 10/11 x64 · Python 3.11/3.12 · Git · Go 1.26+ · Rust 1.88+ (cargo) · Visual Studio Build Tools with MSVC and the Windows SDK · CMake, NASM and LLVM/libclang. Run the commands below from an x64 Developer PowerShell.

git clone https://github.com/Floxu1/UAC-SNI-Spoofer-Windows.git
cd UAC-SNI-Spoofer-Windows
powershell -ExecutionPolicy Bypass -File .\build.ps1
# -> dist\UAC-Spoofer-Desktop\UAC-Spoofer-Desktop.exe

build.ps1 installs requirements.txt, runs install-engine.ps1, then PyInstaller. install-engine.ps1 fills bin\ idempotently:

File Source
xray.exe, geoip.dat, geosite.dat Xray-core 26.3.27 release, SHA-256 pinned
sing-box.exe, libcronet.dll sing-box 1.13.14 release, SHA-256 pinned
uac-psiphon.exe go build of pow_helper/ (Psiphon tunnel-core, pinned by go.sum)
aether.exe Native Windows build from the pinned Android PoW snapshot in core/aether and core/quiche, including H3 and Windows trust-store support
uac-direct.exe, uac-direct-xray.exe, uac-direct-mask.exe Native build from core/direct and checksum-verified Xray and ByeDPI downloads
uac-pow-guard.exe, uac-direct-guard.exe MSVC build of the Windows Filtering Platform helper in tools/pow-guard.c

Run from source without packaging: python -m pip install -r requirements.txt, .\install-engine.ps1, python main.py.

To package a release, install WiX Toolset 6.0.2 with dotnet tool install --global wix --version 6.0.2 and run .\release.ps1. The two Windows x64 packages and their hashes are written to github_release. Attach both packages to the GitHub release tagged v<version>. The in-app updater uses GitHub's published asset size and digest. Older Portable copies can move to the new updater by extracting a current Portable package. Both distributions keep settings in %APPDATA%\UAC Spoofer Desktop.

FAQ & troubleshooting

It doesn't connect on Engine 1.

Run the quick-start wizard again, select your carrier manually, and try Auto. Use SNI Maker or Clean IP to refresh routes. If configs keep dying, try Engine 2.

Which proxy mode should I use?

Windows Proxy covers browsers and most apps. Use TUN for games and apps that ignore the system proxy.

Ping in CMD shows my real latency — is the tunnel off?

No. ICMP can't travel over SOCKS/VLESS/Trojan, so ping is routed direct on purpose.

My old settings disappeared after updating to 1.1.1.

That is the one-time 1.1.1 reset. Everything was moved to %APPDATA%\UAC Spoofer Desktop.backup-before-1.1.1-<time>; nothing was deleted. It never runs again.

The internet is broken after a crash.

Start the app once and exit: it restores the saved Windows proxy and gateway state automatically.

What's new in 1.1.2

  • Automatic WARP key fetch via OOB lane (keyfetch-net / SChannel) for networks like AS48944; TUN guard and proxy port reserve.
  • Engine 2 UAC PoW (Psiphon over WARP) with its own settings, exit-country picker and speed options.
  • Quick-start wizard, coach marks and a full illustrated guide site.
  • Auto mode now picks by real quality (page load + throughput) among parallel-tested candidates.
  • Iranian sites go direct by default; Mux off by default.
  • Faster public-IP lookup (multi-source, cached).
  • Clean IP finder, ECH key cache, SNI finder, Gene Lab import.
  • One-time data reset for a clean start (old data moved to a backup folder).
  • A fresh clone now builds everything (aether, uac-psiphon included) with build.ps1.

Credits

  • Special thanks to the Patterniha group for inventing and introducing this SNI-spoofing method. Upstream source and its GPL-3.0 license: third_party/patterniha_sni_spoofing/.
  • Xray-core — tunnel core.
  • sing-box v1.13.14 by SagerNet — optional TUN mode; license shipped as bin/sing-box-LICENSE.
  • Psiphon tunnel-core — inner hop of Engine 2 (pow_helper/).
  • aether — WARP/MASQUE client from UAC-SNI-Spoofer-Android, licensed AGPL-3.0-only.

License

Released under the GNU General Public License v3.0 — see LICENSE and NOTICE. You may use, study and modify the software; distributed modified versions must stay GPL-3.0 and provide source. Do not remove Patterniha credits from this project or derivative distributions.

Copyright © 2026 Floxu1

Explore related projects

Loading…