Daily reminder that sites “protected” by cloudflare are effectively MITM attacks. HTTPS is now even more worthless. Cloudflare can see everything. this is a known fact and not a theory.

And if you think Cloudflare aren’t being tapped by the NSA, you’re sadly sadly naive.

All the “privacy respecting” sites use it too. So remember, as soon as you see that cloudflare portal page, you can assume that everything you plug into the site is property of NSA Inc. Trust no one, and do not trust code being served to you over the web if it comes through CF, there is no way to know what they’ve modified.

Edit: good info link below https://serverfault.com/questions/662946/does-cloudflare-know-the-decrypted-content-when-using-a-https-connection

  • bokherif@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    My man thinks he has privacy lol. Any CDN that provides WAF capabilities will inject themselves in the middle to inspect the traffic. This does not mean they don’t respect your privacy. If you think the three letter bureaus let you have your privacy with anything, you’re wrong. Privacy is a long dead thing of the past. You can’t even hide your data from companies that want to make a profit off your data, let alone the three letter government agencies. The government monitors and has access to every digital device known to regular consumers, beit in the US, CN or any other country.

    • orcrist@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      I think you were doing all right until you got to the end, where you went into hardcore conspiracy theory mode. But even at the beginning, you were oversimplifying, which made your analysis weak. In reality, there are many different attackers willing to spend different amounts of time and money. When we take steps to improve security, we discourage some of those attackers even if we don’t stop them all.

      • bc93@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I’m not sure what you mean by this - while their comment was a bit wild, it’s factually correct - you will never, ever be able to protect your privacy from state actors. Cloudflare and similar CDNs are one part of that but are by no means necessary. To be truly private from state actors would require such an onerous process that it’s essentially impossible for the average working class person.

        I think having HTTPS provided through Cloudflare is better than no HTTPS at all in almost every case.

  • Harrison@infosec.pub
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Cloudflare is a MITM by design. Calling it an attack is disingenuous; you’re signing up for the service of your own free will, not a victim.

    If a substantiated news article came out showing that Cloudflare shared SSL keys or otherwise gave direct access to various intelligence agencies without a court order, that would essentially destroy the company. So they certainly aren’t doing that.

    So then the question becomes whether those nefarious three letter agencies penetrated Cloudflare with APT tools and are silently listening to everything. Our adversaries are certainly trying, China, Russia, Iran, etc. If the NSA (which lacks a mandate to act on US soil, and CF is a US company) or perhaps the FBI hacked a US company, particularly one that covers like a third of the internet like Cloudflare, that would be a truly enormous scandal.

    But in the end, yes, it is a MITM. If you need your data to be E2E encrypted, don’t use it.

    • Scolding0513@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 months ago

      If a substantiated news article came out showing that Cloudflare shared SSL keys or otherwise gave direct access to various intelligence agencies without a court order, that would essentially destroy the company. So they certainly aren’t doing that.

      excuse me, what?? The Snowden documents came out showing all these companies literally giving over all their data to the NSA like it was water from a spring, and they are all still in business. AT&T, facebook, google, microsoft, dropbox, etc. Yet you claim somehow cloudflare would be destroyed?? This isnt even funny bro.

      more recently, Hetzner was showed to have given backdoor access to the feds, yet people still buy VPSs from them, and in fact, 20% of TOR guard nodes are sitting on their infra RIGHT NOW!

      Case in point: people using such companies either don’t care or are really ignorant or stupid.

    • Coasting0942@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      I don’t believe that the NSA has a portal giving them direct access (probably naive).

      They definitely have a secret agent 🕵️‍♀️ nerd on the inside providing intel on the structure. Maybe inject exploits or guide them when needed.

      They definitely have a direct e-mail address to cloudflare legal to serve national security letters that cloud flare is obligated to comply with. Which is a portal with extra steps, but which cloud flare can raise a fuss if they notice the requests are turning into vacuum cleaners, and not union membership research.

      • plz1@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        Internet traffic gets mirrored to NSA data centers, that’s old news from the Snowden leak.

    • anar@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Maybe I’m just jaded and cynical but it won’t “destroy the company” even if it comes out like that. The laws don’t apply to people at the top

    • milicent_bystandr@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 months ago

      But in the end, yes, it is a MITM. If you need your data to be E2E encrypted, don’t use it.

      Or do use E2E encryption. You can still have a layer of encryption within the SSL tunnel that cloudflare controls. Like you’d do for an E2EE filestore: the webserver (and cloudflare) see the website woosh by, and all that you do on it, but the files themselves are encrypted opaquely to both, and decrypted only by a browser at the other end.

    • waitmarks@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      the NSA (which lacks a mandate to act on US soil, and CF is a US company)

      They absolutely do have a mandate to operate on US soil, that is actually the main mandate and there is a separate military agency (CNMF) that operates on foreign soil. They are both headed by the same guy though so they might as well just be one agency.

    • FaceDeer@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      I could imagine the NSA embedding an agent inside Cloudflare specifically to keep an eye out for any foreign agents also being embedded in Cloudflare, rather than to dig out its secrets for themselves.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      What concerns me is that we really do not know what the three letter agencies are capable of. They operate outside of the demographic government. Many Americans are increasingly losing faith in the government and secret government programs do not help. It causes what is known as a chilling effect. People start self censoring which is very dangerous and harmful to democracy. Democracy needs transparency not secrecy.

  • starman@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 months ago

    BTW, can someone recommend me nice alternative for fast and free static website hosting?

    I tried GitHub Pages, but I couldn’t get it working with subdomains.

  • TechNerdWizard42@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Very true. But nobody cares or believes it. When you start saying that US made hardware like network switches, cryptographic algorithms, telecom radios, etc all have backdoors to the 3 letter agencies in 5 eyes plus the internet distribution over cloudfare or “the cloud” in Google, Amazon, Microsoft, then people just think you’re a tin foil hat conspiracist.

    The people are too stupid and ignorant to care enough to demand change. Why did the US lobby so hard to get Huawei off market? Because of course there are backdoors into the Chinese intelligence agencies. JUST LIKE US DEVICES! But nobody seems to make that correlation. China bad, China hardware spying bad, is the only thing they can get in their heads.

    Good to bring it up, but nothing will change. 99.9% of people don’t know what DNS or proxiing or caching is let alone Cloudfare. It’s just “the internet”. Some are aware of some agencies the US and five eyes have, but most don’t believe what they actually do and are capable of. The US is the best producer of propaganda in the world. Hollywood is amazing at it, as are US media sources. The FISA bill that just came up for reauthorization and passed had a whole PR campaign about catching terrorists and stopping Russia and China and Hamas. Nobody stopped to think how and why they even have any of that info in the first place and how it’s collected.

    Keep being the crazy uncle ranting about government spying because the world needs it.

    • Harrison@infosec.pub
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      I’m all for healthy paranoia, keeping my attack surface small. That’s just professional IT ops.

      Incendiary statements like saying US intelligence compromised the supply chain with hidden backdoors, those really do need to be substantiated to not sound like a crazy uncle. Our adversaries have counterintelligence also, they aren’t incompetent, and if Cisco or Juniper or whatever planted backdoors in hardware shipped to China, the Chinese would make a ton of noise about it. And so would we; Huawei was banned without any substantiated proof, out of fears that if used, their 5G infra could have hidden backdoors and the hardware would be so widely distributed that it would be onerous to replace.

      • TechNerdWizard42@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        5 months ago

        There is substantiated proof of Cisco and Juniper switches having US government backdoors through the management ports. They also have the capability of decrypting everything that passes through them and mirroring to an external host.

        I cannot say any more other than you will find that the NSA continuously denied all the backdoors that global security researchers were finding and Cisco denied putting them in. You will also find in leaked Snowden documents absolute proof that the NSA was behind it and did implement the backdoors and they do exist and work.

        I at the time being a lowly semiconductor designer with access to unreleased networking gear from the big guys, cannot say anything about what I know those spying piece of shit devices do. But I will say, go look up the Snowden documents. They speak louder than any random on the internet.

        And China has made a stink. It’s one reason their great fire wall is setup. It does somewhat prevent citizens from using western tools, but they know they do and really don’t care much. What it really is, is a way to monitor everything in and out. All the edge is Chinese hardware, no backdoors for the five eyes. Those prevent the backdoors, that are known or theorized, to be used. So essentially they are backdoored equipment inside a security fence that disallows the backdoor to establish a connection. Bad actors from within could make this bad for China. Or very very tricky phone home algorithms, but you have to be careful how it’s implemented in unfriendly territory.

        Most of the other countries just don’t give a crap. If the Ivory Coasts data is being spied on by the 5 eyes or China, they don’t care. Nobody cares about them either. It’s just the sad state of world power. Those that care, have a side.

        • Possibly linux@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          Did you seriously just say that the Chinese firewall is to prevent backdoors? Fun fact, it isn’t. It is a censorship and control tool that keeps the Chinese people from seeing anything but the official narrative.

          I do agree that hardware backdoors are bad though regardless of the country. We need more transparency so that multiple parties are monitoring for bad activity.

          • NuclearDolphin@lemmy.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            5 months ago

            You’re both completely wrong. This is the narrative the five eyes and three letters need you to believe.

            More important and more funded than domestic spying, US intelligence exists to facilitate regime change. The objective is to have both dragnet and targeted surveillance to obtain leverage (for strategic leverage, blackmail, or comms interception) over foreign political, social, and business leaders so they can maximize the unequal exchange between the US & developing countries.

            Keeping Africa, South America, the Middle East, and South East Asia from developing through political and social instability not only prevents them from competing with US exports, but more importantly keeps their economies dependent on natural resource exports, which they need to sell for cheap because they are dependent on technology imports.

            China as a manufacturing powerhouse threatens these unequal trade arrangements by supplying these undeveloped or developing countries with manufactured goods and technology, and thus is one of the primary targets of US covert regime change operations. (Also why you see news media crying bloody murder about China’s “dept trap diplomacy”). Much of this also applies to other developing powers that resist being imperialized or oppose US geopolitical goals like the USSR/Russia and Iran.

            So purpose #1 of the great firewall is to prevent the US from controlling its social and technology sphere and using it to cause instability.

            Purpose #2 is economic protectionism for China’s high tech sector. China knows that as long as it remains primarily industrial / low tech manufacturer, it will always be threatened by US intervention.

            By moving to high tech, China can eliminate its reliance on Western technology imports, eliminate threat vectors for adversaries to slip in, and let other rising nations like Vietnam, Brazil, Malaysia, and Mexico take some of the heat off them by outsourcing its manufacturing there. China also gets to benefit by having cutting edge tech that will benefit its public health, increase education levels, strengthen its military, and form the basis of its post-industrial economy.

            China “enforcing the official narrative” insofar as controlling public opinion is of far lower importance than denying the west avenues to destroy its society. China is incredibly diverse and a quick peek into Chinese social media reveals no shortage of western culture fetishizers, religious quacks, conspiracy theorists, anti-vaxxers, capitalist enthusiasts, shit talkers about political figures, and people pushing back on “the official narrative”. VPN usage is widespread. People read, share, and meme western news and social media.

            Yes they censor posts, no they don’t do that great of a job at it…because the goal isn’t censorship, its about denying the West the ability to exploit discontent to destabilize the country.

            See also:

            • Tibet in the 50s & 60s (notice the gap here, when the US thought China would be a useful bludgeon against the Soviet Union & allies)
            • Student protests in 1989
            • Honk Kong in 2019
            • Xinjiang when the US was in Afghanistan
            • Taiwan tensions and weapons sales ramping up now

            All of these being natural internal tensions exploited with great effort and to great effect by the US through mass media campaigns, radicalizing extremist and separatist groups, weapons transfers, and direct involvement in helping people commit violence.

            And the US isn’t Russia buying $10 million worth of Facebook ads and running not farms, this is the most developed, most funded, and most sophisticated intelligence apparatus in history. One so large, people with an interest in politics and spying, cannot name all the publicly known agencies without missing 5-10.

            You can quote me on this, if the US were to fall in the coming decades, the firewall would also fall within the year. Though, I suspect the US will just languish with internal infighting once the petrodollar loses reserve currency status and China takes the firewall down around 2035 once there aren’t powers posing a credible threat to its security.

            • Possibly linux@lemmy.zip
              link
              fedilink
              English
              arrow-up
              0
              ·
              5 months ago

              You can tell your self what ever you want but China still attacks journalists. You can’t even get on Reddit in China or use Signal or other encryption. It has nothing to do economic prosperity or anything like that. China is an authoritarian government who doesn’t want to lose control.

      • glowie@h4x0r.host
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        The Chinese are still laughing because they covertly using their EV cars as trojans

        • TechNerdWizard42@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          Same reason why Teslas are banned on Chinese military bases. Data goes back to US servers that are accessible by the US government at any time.

              • Possibly linux@lemmy.zip
                link
                fedilink
                English
                arrow-up
                0
                ·
                5 months ago

                The different in the US is that the US constitution grants US citizens protection and protects against totally tyrany. It is very much not perfect and the US is full of problems but at the end of the day I can still have my own beliefs without being in danger. Mass surveillance is very dangerous and I think it is a violation of what the US should stand for but the US still protects freedom.

                Also I do not think the US should be compared to China. At the end of the day two wrongs do not make a right. We should uphold strong ethics and be champions of individual freedom and democracy. We should challenge anything that we disagree with as the people need to be active in the government. If you challenge the state party in China you will be jailed or worse.

                The US has some dark history but we don’t bury it. Think slavery, Asian interment camps and South American conquest.

                • TechNerdWizard42@lemmy.world
                  link
                  fedilink
                  arrow-up
                  0
                  ·
                  5 months ago

                  Lol that piece paper is not a god. It’s useless jibberish written by traitors starting a now failed nation.

                  You have no rights in the USA. Everything you’re granted as a right, you are also denied as a right by other laws. It’s the playbook of a tyrannical society. Name ANY law that you have a right to, and then look up to find another law taking that exact right away from you.

                  Just like a tyrannical society, you’re guaranteed nothing. But you can fly under the radar if you agree with the political powers that be. Which is no different than any country at any point in history.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        There is a ton a proof of Chinese hardware backdoors. It started with some dude wondering what a particular chip on the board did.

  • iarigby@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    It is very weird that tools that support “onion” ssl - some way that would allow one layer of encryption for your “allowed” mitm which would keep almost all the request encrypted with key for the server.

  • Citizen@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Well put!

    I’ve been saying this since they made their services available…Nobody listened to me.

    Usually when I said sth. like you mentioned, people look at me like they look today:

    Ohhh…You are a conspiracy theorist…

    No mate, I have a better understanding of the fucking computers and technology because I do this for a few decades…

    Hoping they will listen to you!

  • Tinkerer@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months ago

    So what provider does everyone recommend instead of cloudflare for proxy? I use cloudflare to protect all my websites but I’ve been trying to find some other place to proxy them from.

    • InFerNo@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Does your site actually need protection from cloudflare? Have you been attacked?

      • Tinkerer@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        I mean no but the added security kind of trumps everything else. It helps to not expose my public IP and the added bonus of firewall rules too.

  • cursed_technology@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    CloudFlare is a huge danger to a free and open internet, in my opinion. I cringe every time I hear privacy-conscious people recommend it.

    • voxel@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      there’s no alternative tho, and by definition alternatives will have the same level of access…

    • Scolding0513@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      absolute fax

      I cannot begin to tell how pissed this makes me.

      Please for the love of all that is holy, do NOT call your site or yourself “privacy-respecting” or “privacy-oriented”, and then meet me with a Cloudflare MITM to knowingly and willingly give over everything i input in your site to NSA Inc.

      I’m sick to my stomach of all these orgs and companies and people talking about privacy, and then they constantly do all these kinds of things thst prove that they don’t actually care about privacy or anonymity or anything in between. They are Vipers and Snakes trying to make a quick dollar on a buzzword. It’s become sadly trite.

      We must return to the dark ages of p2p. The age of self-hosting, blockchain (the truly good parts like monero), ipfs, bittorrent, tor onions, i2p, any other p2p or decentralized network - these kinds of things are all that stands between us and internet controlled by a handful of NSA-worshipping megacorps.

      • Citizen@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        This is why I like this community so much!

        I always learn from people like you!

        We discuss, sometimes we agree sometimes we don’t, but we speak our minds freely and come up with some neat solutions!

        Thank you!

        Its time to use the technology for the benefits of humans not against them!

        Let’s look into better solutions together!

  • IphtashuFitz@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I hope you realize that virtually every CDN provider does the exact same thing in similar ways. Sites that use Akamai, AWS, Google cloud, Fastly, etc. all give those companies access to unencrypted content. It’s just how CDNs work…

    • Scolding0513@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      ofc. they are all catch-alls for the NSA. people think the NSA is monitoring traffic as in looking over our shoulders. like direct interception. nope, they just let a few megacorps convince the entire internet to pass everything through their servers, then buy off all the data.

      Once again, the earthly principle of all things being ultimately voluntarily, is still true.

      • Reddfugee42@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        Yeah, the NSA isn’t already completely integrated into telco itself. It needs these other companies to execute its tasks. You get it.

          • tarmarbar@startrek.website
            link
            fedilink
            arrow-up
            0
            ·
            5 months ago

            I think he’s saying they don’t have to if they can read it off of your pc or the server before it’s even encrypted. OS backdoors, in-app backdoors, hardware backdoors inside the CPU like Intel ME…

            • Scolding0513@sh.itjust.worksOP
              link
              fedilink
              arrow-up
              0
              ·
              edit-2
              5 months ago

              there is a difference between targetted attacks like that and straight allowing them to dragnet you and millions of others

  • TimLovesTech (AuDHD)(he/him)@badatbeing.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    So does everyone here that fears Cloudflare as secretly out to get them not believe that the NSA doesn’t have their hooks in all the major datacenters? The same datacenters used by all the major web hosts people are using to “self host” for privacy.

    Personally I think you have to have faith at some point that everything from your node to the destination is on the up-and-up unless you have a concrete reason to assume otherwise. Otherwise you should be suspicious of your ISP’s network and every switch/router/firewall/node your data traverses on the internet. And being that paranoid basically means anything you didn’t review the code of and compile yourself should be out of bounds.

    • Deebster@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      If you’re blocking everything that’s proxied via Cloudflare or hosted on Google, the internet must be a very small place for you. I think even a third of Lemmy is behind Cloudflare.

        • Deebster@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          I know how federation works, but look at the network inspector and you’ll see you’re pulling a lot of images from Cloudflare-proxied sites (or you’re missing a lot, if you’ve blacklisted them).

          Anyway, I only meant that even Lemmy, with its anti-corporate culture, is still heavily using Cloudflare. “Only” 22% is still a lot in my book.

          I’m interested as to your motives - are you doing this as a boycott, and/or to protect your privacy (or similar)? Also, are you blocking domains one-by-one, or are doing something like using firewall rules?

  • TCB13@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    And then there’s people using Cloudflare tunnels, Tailscale and others for self-hosting stuff… that also may have your keys or inject clients at some point…

    But we’re about to get downvoted to hell for pointing this out because our community is self-hosters that pride themselves on sovereignty can’t deal with the cognitive dissonance of having their favorite corporate solutions unmasked for what they are - spyware on steroids.

    • somethingsomethingidk@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      Tailscale keeps the private keys locally, . It just facillitates setting up wireguard. They could steal your private keys, as could any program you install with root access. But it would comepletely destroy their business, and it’s open source. I really dont think they have anything to gain by tricking everyone

      • MigratingtoLemmy@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        Use headscale, I have no idea how people are OK with tailscale when they keep your keys and essentially have access to your network

  • youmaynotknow@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I’m basically running all my self-hosted services over CF tunnels. Does anyone have a suggestion for an alternative to this? I’d like to remove CF from my life, but not at the expense of poking port holes in my FW.

  • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Oh, I searched it up and indeed that seems what it does.

    I thought it normally just forwarded all the traffic. I wouldn’t think people would just let someone else see all traffic between their servers and their users.
    I thought it was more like public SSH jump servers.
    Right, how else would the CF interstitial page work.

    I thought it was done just for the Quick Tunnels which don’t even require an account. I’ve used those a few times, but only in cases where plain HTTP would be OK.