Re:DNS Toys
by ignoramous on Sunday June 12, 2022 @06:06AM
(#31713345)
> I never thought to use DNS as a tunnel
Most firewalls drop or hijack packets on port 53.
Re:DNS Toys
by 1vuio0pswjnm7 on Sunday June 12, 2022 @08:34AM
(#31714011)
I have experienced this, i.e., hijacking, but I would respectfullly contest the term "most". But perhaps the statement was only referring to airports. I could be wrong but I like to think it is a minority of networks that hijack or block DNS. For example, a minority of consumer ISPs, other networks controlled by third parties (airports, hotels, etc.) or countries that conduct extremely aggressive internet censorship.
I never thought to use DNS as a tunnel, but I have seen some pretty interesting loopholes that I was trying to find. Some airline's captive portal used to rely on some google service (captcha probs), and for a period of time didn't block any google-owned IP address that wasn't a consumer website (eg search, yt) so GCP and developer docs would load if you had the URL. I couldn't reliably get to user-generated content through it though.