News for hackers. Stuff that matters.
Re:OpenGFW: an open source implementation of China's Great F... by nirui on Friday March 08, 2024 @04:20AM (#39639382)
I been seeing people on Twitter mocking the project, but I need it...

You have no idea how much time I've wasted trying to block some products from pinging their home server with curious data stream, but failed to do so because I can't be bothered to sit my ass in front of Wireshark to sniff out all their DoH servers.

With this project, it's hopeful that in the future I can just not putting their domains in the TLS whitelist, even when they use DoH.

---

Off topic but BTW: "Fully Encrypted Traffic" is really a confusing term that can only be understood correctly if the context is correct too. How about calling those protocols "High Entropy" (HighE)? Which IMO is more specific than calling it "Fully Encrypted". It's just my two-cents suggestion.

Re:OpenGFW: an open source implementation of China's Great F... by FuriouslyAdrift on Friday March 08, 2024 @07:10AM (#39640334)
TLS 1.3 with cert pinning and end-to-end encryption is making life hell for corporate compliance. Our Palo Alto firewalls are about as good as it gets but it's a constant battle to de-obfuscate traffic.

Google loves to mix traffic types (ad, telemetry, biz app) across protocols basically creating their own overlay which is a huge pain.

For Apple, we basically have to exempt the entire 17.0.0.0/8 as that is theirs and they pin everything.

Microsoft at least has several dynamic lists but I have my own list of their stuff that ISN'T on their lists (a few hundred IPs).

At this point I don't think there's any way to secure a network. You can't trust or verify much of the traffic.

Maybe using a synthetic NIC at the endpoint that is directly tied to the policy system is the only way forward.

Re:OpenGFW: an open source implementation of China's Great F... by pests on Friday March 08, 2024 @03:01PM (#39645642)
How about the whole Zero Trust concept where network is assumed hostile and every service is properly authed?
Re:OpenGFW: an open source implementation of China's Great F... by zzyzxd on Friday March 08, 2024 @03:10PM (#39645755)
compliance != security. Good luck telling the auditor about zero trust.
Re:OpenGFW: an open source implementation of China's Great F... by Tknl on Saturday March 09, 2024 @01:57AM (#39649986)
Your company hires the audit. Interview the to find one that gets zero trust.
Re:OpenGFW: an open source implementation of China's Great F... by kneoghau on Friday March 08, 2024 @05:52AM (#39639882)
I've had luck finding pi-hole blocklists on github for various products, if it's something quite common like a branded smart TV someone will have already done the hard work of figuring out what IP's they're trying to dial home to.
Re:OpenGFW: an open source implementation of China's Great F... by aacid on Friday March 08, 2024 @06:58AM (#39640261)
But pihole is dns only, any requests directly to ip address will still pass.
Re:OpenGFW: an open source implementation of China's Great F... by lightbritefight on Friday March 08, 2024 @03:11PM (#39645768)
Pi hole will happily block IPs.

https://docs.pi-hole.net/ftldns/blockingmode/

Re:OpenGFW: an open source implementation of China's Great F... by positr0n on Friday March 08, 2024 @11:03PM (#39649291)
None of those strategies block IPs. It's only a DNS server not a firewall or router.
Re:OpenGFW: an open source implementation of China's Great F... by benterix on Friday March 08, 2024 @06:21AM (#39640031)
> You have no idea how much time I've wasted trying to block some products from pinging their home server with curious data stream, but failed to do so because I can't be bothered to sit my ass in front of Wireshark to sniff out all their DoH servers.

You mean hardware products, right? In this case putting them in a separate VLAN would help. I you mean software running on your machine, you can set up a proxy and block all traffic not coming through it.

Re:OpenGFW: an open source implementation of China's Great F... by nirui on Saturday March 09, 2024 @03:02AM (#39650236)
Mainly TV, TV box and phones with non-open-source ROMs etc. These devices do need Internet connection for normal operations, which is why it's so hard to block suspicious traffic from them.
Re:OpenGFW: an open source implementation of China's Great F... by luke-stanley on Friday March 08, 2024 @04:36AM (#39639466)
I briefly read a paper, I suspect it's more complex than "high entropy".
Re:OpenGFW: an open source implementation of China's Great F... by nirui on Friday March 08, 2024 @04:50AM (#39639547)
The strategy used to detect "Fully Encrypted Traffic" is indeed complex, but the protocols investigated by the paper (at least Shadowsocks, VMess. Not really sure about Obfs4) works by transforming the traffic to make it "look like nothing".

So I still believe "High Entropy" is a better description than "Fully Encrypted Traffic".

I mean, you can pack the entire data stream in Base64 after sending them through a SHA256 pipeline, and it will still be "Fully Encrypted", but the entropy (in terms of traffic classification by content scanning) is not the same compare to doing it without the Base64 step.

Re:OpenGFW: an open source implementation of China's Great F... by luke-stanley on Friday March 08, 2024 @03:58PM (#39646409)
Yes, "High Entropy" or even "HighE" is a more accurate than "Fully Encrypted Traffic". It's interesting that the filter was observed to operate at specific ranges of entropy in the paper, and the repo has it mostly reproduced here: https://github.com/apernet/OpenGFW/blob/1dce82745d0bc8b3813a... But presumably to keep people on their toes, the real filter, only operates some of the time. It be a cursed, "hex ensemble".
Re:OpenGFW: an open source implementation of China's Great F... by nirui on Friday March 08, 2024 @11:14PM (#39649318)
Correction: instead of `SHA256`, I've should typed `AES256`. The last time when I wrote any encryption, it was still back in 2019... that's why I lost it... Sorry :)
Re:OpenGFW: an open source implementation of China's Great F... by creativeSlumber on Friday March 08, 2024 @12:56PM (#39643730)
> You have no idea how much time I've wasted trying to block some products from pinging their home server with curious data stream, but failed to do so because I can't be bothered to sit my ass in front of Wireshark to sniff out all their DoH servers.

I wonder if you can run this in observe only mode to analyze/log that traffic.

Re:OpenGFW: an open source implementation of China's Great F... by inemesitaffia on Saturday March 09, 2024 @05:20AM (#39650726)
Link? To Twitter?