Lurker News
Side project tunneling a TCP port through WhatsApp, can be useful on airplanes or any WiFi/carrier that has unlimited social network data limits. Appreciate feedback :)

Comments (123) 17 threads

Earlier comments
jamal-kumar#
I remember trying this (Also in Latin America with Zuckerberg's creepy old "internet.com" initiative to make his services free in the third world, which is a done and over with promotion by now at least in Costa Rica) and realizing that ICMP/DNS tunneling was faster and more reliable, you can only get like half-duplex TCP over whatsapp messages and then the frames are limited if you're going to fit them in per message to like 1,024 characters (Though it seems you got more in there?)... DNS or ICMP tunnelling further works on things like getting a foothold for checking your email in some far flung airport network with a broken/sketchy payment gateway, you REALLY need to check your email, and where that passes but nothing else does. Then there's the risk that they decide to ban your SIM chip as you mention, which is like a 2$ mistake in such regions but if you do it on your main number you're risking having to tell everyone "yeah i tried to hack whatsapp and they blocked my old number haha" because that's what they've funnelled everyone into using out there with this free data transfer deal on that platform.

By the way your implementation looks way nicer than what I was working with before.

graderjs#
This is like the 2020s version of phreaking
metters2 replies#
This might be a stupid question. If WhatsApp wasn’t blocked in China and the second WhatsApp account (aka server side) was outside of China, could this bypass the great firewall?
aleixrodriala#
Sure, just like any proxy though
georgyo#
> If WhatsApp wasn’t blocked in China

The answer is yes, this could be used if WhatsApp wasn't blocked.
But since it blocked in China, you would first need to bypass the firewall anyway.

cto_official1 reply#
One question.. if Whatsapp is encrypting data how are you able to decrypt the packet easily ?
jfjdskldhjfcj#
well, it's encrypted e2e only in 1:1 chats.

groups is weird, the media have the index encrypted but the contents use a shared app key.
commercial accounts are also odd. it's encrypted with the business and whatsapp keys, so employees from both can read the messages.
then here there's the api issues. you are not using a full client, but sending your access token plus the plain text message for it to be encrypted on their servers.
even worse, in this example it's not even you using the api, but you are using twillo's api, who then uses metabook's api for whatsbook. so it's plain text all the way across those.

Load more comments