points by LeBit 2 days ago | 0 comments
Doing ssh through port 80 or 53 or 443 is immediately flagged.
I understand port 443 is always opened but nowadays you can’t just run ssh traffic on 443 without it being detected as not being https
[–] megous 2 days ago
Naive. There's not much that prevents you from running ssh over https. Not even traffic patterns will give you up in the age of ubiquitous websockets and/or http2 streams.
[–] toast0 1 day ago
> Not even traffic patterns will give you up in the age of ubiquitous websockets and/or http2 streams.
SSH is dead simple to detect, because the server sends an outbound greeting in ASCII text; and the client doesn't send anything until it gets the greeting. The binary protocol does not look like a TLS stream at all either.
[–] InsidiousWombat 1 day ago
It will absolutely and trivially be detected by any decent IDS/IPS
SSH does nothing to hide it is SSH (tho "I'm just https" mode would certainly be welcome addition)
[–] LeBit 2 days ago
"Naive”. How ironic.
[–] octoberfranklin 2 days ago
[–] novafunc 2 days ago
If their firewalls can detect it not being typical http/s traffic, they can block it.
[–] QuantumNomad_ 2 days ago
I’ve been hoping that HTTP3 adoption would make 443 UDP accessible from even more places. But maybe they already do the kind of thing you said for that too, looking at the traffic flow to determine that it is not HTTPS.
Weirdly sometimes there are WiFi networks where I am not able to connect to my WireGuard VPN on 443 UDP, but I can connect to servers over ssh on standard port 22 TCP. Perhaps they sometimes block all UDP traffic because they don’t want people to use BitTorrent etc, but one would think that with all the online meeting platforms that do video streaming there would be a lot of problems for people if all UDP traffic was blanket blocked.
I might eventually try out AmneziaWG instead of vanilla WireGuard, but at the moment I am fine not being able to Connect to my VPN sometimes. I only use it to connect to my other machines anyway, not as a VPN tunnel for my web browsing etc.
[–] teravor 2 days ago
some VPN apps bypass wireguard blocks automatically by using https tunnels and whatnot.
[–] Imustaskforhelp 2 days ago
https://mosh.org/
[–] rietta 2 days ago