-
DECNET 1.2.1 — OS fingerprint cloak
released this
2026-06-20 06:41:13 +02:00 | 0 commits to main since this releaseOS fingerprint cloak — make a decky read as its claimed OS under active
fingerprinting (nmap -O), not just passively. sysctl profiles only reach global
packet fields; the cloak owns the SYN-ACK shape and stack behaviours sysctl
can't reach. Verified live against realnmap -O: awindowsdecky reads as
Windows 10 (95%) and awindows_serverdecky as Windows Server 2012/2016
(94%) — up from a Linux 2.6 classification — with client handshakes intact.-
decnet.cloak— egress TCP/IP masquerading library, run inside the decky base
container (python -m decnet.cloak,CAP_NET_ADMIN/CAP_NET_RAW):- NFQUEUE mangler — rewrites the egress packet shape sysctl cannot set
per-container: SYN-ACK (TCP option order, window, IP-ID; preserves the
kernel's live timestamp; recomputesdataofs/checksums), RST (IP-ID + a
nonzero ack on bare RSTs → nmapCI,T4/T6A=O), and ICMP echo-reply
(code=0→IE.CD=Z). One shared IP-ID counter across all three reads as a
shared sequence (SS=S). - T2/T3 probe-response synthesizer — answers the nmap probes Linux drops
but Windows replies to (null-flags / SYN+FIN+PSH+URG to an open port).
Injects at L2 (reflecting the probe's MACs) so its replies bypass the OUTPUT
chain and coexist with the mangler's RST rule. - Profiles live in
os_fingerprint.OS_MANGLE, keyed by the samenmap_os
slug; pure packet-shaping logic is unit-tested offline (scapy/netfilterqueue
lazy-imported, Linux-only).
- NFQUEUE mangler — rewrites the egress packet shape sysctl cannot set
-
windows_servernmap_os family — Windows Server stack deltas (ECN negotiated
CC=Y, randomized IP-IDTI=RD); thewindows-serveranddomain-controller
archetypes now use it (workstation stayswindows). -
Cloak base image (
templates/_shared/cloak/Dockerfile,FROMthe per-decky
distro) anddeployer._sync_cloak_sources, which ships the lightdecnet
subtree into the build context. Base containers stay netns-safe — the cloak runs
best-effort behindexec sleep infinity, so a cloak crash never tears down the
decky or the netns its service containers share. -
OS fingerprint timestamps bug: the
windowssysctl profile disabled TCP
timestamps, fingerprinting as an ancient stack. Modern Windows 10/11 run
timestamps on (nmap SEQ.TS=A) — corrected, and the single
highest-weighted field in the nmap match.
Downloads
-