I live in Canada. My girlfriend is Chinese (also living in Canada), and while we are able to communicate via SMS, her mobile carrier isn’t the best, and so there have often been issues for us with regular texting. She expressed a strong preference to use WeChat, at least as a backup option for when texting fails us. While I have some pretty significant reservations, it’s not the hill I want to die on. So my question is: what can be done to use WeChat without compromising my whole phone? I’m okay with it if our conversations aren’t private, but I’d like to know that I’m not giving unfettered access to all of my phone’s systems and data to the CCP. What can be done to limit the reach of this ubiquitous app on my device?

  • viking@infosec.pub
    link
    fedilink
    arrow-up
    47
    ·
    edit-2
    5 months ago

    I’m in China and have to use that piece of crap. So here’s how I locked it down:

    1. Root your phone with Magisk. There’s no way around it.
    2. Install Storage Isolation (https://play.google.com/store/apps/details?id=moe.shizuku.redirectstorage) and deny access to all folders.
    3. Install ApOps (https://play.google.com/store/apps/details?id=rikka.appops) and set pretty much everything to deny or ignore (ignore means the app receives the information “permission granted”, but no data is provided, in case some permissions are “mandatory”). If you intend to use wechat to exchange voice messages or make video calls/send photos, the “use microphone” and “use camera” functions would be required. In a similar fashion the location access if you intend to use the location sharing feature.
    4. Be acutely aware that wechat is not encrypting messages, neither end to end nor in the server communicaton. Everything you say can (and probably will) be read and archived. Don’t say anything confidential or critical there.

    And yeah really, try to convince your wife girlfriend to use signal instead. Or hell, even whatsapp is miles ahead.

    My wife is Chinese as well, so even after we leave here she’ll be using wechat to stay in touch with family, no way around it, but using messengers more commonplace in other countries is definitely better. Personally I will move wechat to another phone once we’re out. For now that’s not feasible as it’s too much integrated into every function of life here.

      • TheAnonymouseJoker@lemmy.ml
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        5 months ago

        Can you provide documentation that says AppOps is not standardised part of AOSP? Last I checked, it was part of Android since Android 4.3 beta and baked into 4.4 Kitkat.

        I use both ADB and Shizuku based permission manipulators on Android, and the “ignore” option just defaults to “ask every time” or “deny” instead of “allow”, in case it does not work. I have not yet observed a failure upon extensive testing.

    • Ainz@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      5 months ago
      1. Install Shizuku -> Doesn’t require root
      2. Install Island and use the built in work profile feature of your android device
      3. Install AppOps and block most of the app with garbage data
      4. Be happy without rooting your phone
      • viking@infosec.pub
        link
        fedilink
        arrow-up
        1
        ·
        5 months ago

        Yeah I’ve played around with it in the past, but having to re-establish the wireless adb was quite annoying. Plus I need root for AdAway already, I don’t think that can be achieved via Shizuku, but that might not apply to the OP. I’ve tried island back in the beta stage and it wouldn’t work on my phone, but I guess things have change since. Might give it another try.

      • viking@infosec.pub
        link
        fedilink
        arrow-up
        15
        arrow-down
        1
        ·
        5 months ago

        Whatsapp uses end to end encryption and is far from as intrusive as wechat.

          • viking@infosec.pub
            link
            fedilink
            arrow-up
            10
            ·
            5 months ago

            Nah it’s rather easy to do and has been done by security experts. If your phone is a rooted android, you can do it yourself using PCAPdroid, it’s basically a network logger that allows to install a trusted certificate as a local proxy and go man in the middle on yourself. That way you can decrypt the https traffic between your phone and the whatsapp server.

        • umbrella@lemmy.ml
          link
          fedilink
          arrow-up
          6
          arrow-down
          4
          ·
          5 months ago

          whatsapp is certainly backdoored, its closed source and unverifiable.

    • TheAnonymouseJoker@lemmy.ml
      link
      fedilink
      arrow-up
      3
      arrow-down
      4
      ·
      edit-2
      5 months ago

      And yeah really, try to convince your wife girlfriend to use signal instead. Or hell, even whatsapp is miles ahead.

      It is interesting that you promote Facebook over WeChat in a privacy community, even though you have a Chinese wife. Just how far is racism embedded in your head to go through hoops saying things like this? Is it objective analysis to claim WeChat (China) is worse than Facebook (USA)? Or that Signal, something based in USA, using USA servers, promoted by Elon Musk and using a shady MobileCoin crypto system, is so great?

      Encryption of messages is not a thing on WeChat, but then neither is WeChat being used to extract meta data and use it to commit genocides or bomb countries, like USA based messengers do.

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    25
    ·
    edit-2
    5 months ago

    Second phone just for WeChat.

    Failing that use a android work profile and run WeChat inside of that. It should isolate WeChat from the rest of the days on your phone. WeChat would still have access to your location, microphone comment etc but not your data

    • milicent_bystandr@lemm.ee
      link
      fedilink
      arrow-up
      11
      ·
      5 months ago

      This is the way. Depending on how much convenience you are willing to sacrifice.

      There are one or two apps on F-Droid for using the work partition, and you can force-freeze apps within that, so you can turn wechat actually off when you don’t want it. That also separates wechat from your phone contacts list, without denying it nominal contacts access permission (without which, iirc, it refuses to work).

      For extra paranoia, run your dedicated wechat phone permanently through a VPN with location services on the phone turned off. Answer it only in a soundproofed room, Faraday caged with no WiFi connections except the dedicated wechat WiFi. Speak with a funny voice, and if you must show your face, wear a balaclava.

      But that might be overdoing it a little.

  • 🦄🦄🦄@feddit.de
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    5 months ago

    To answer the question: GrapheneOS and a separate profile would be the safest but still…

    If you are both outside of china there really is zero reason (other than preference) to use that piece of spyware.

    • bionicjoey@lemmy.caOP
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      5 months ago

      To answer the question: GrapheneOS and a separate profile would be the safest

      I appreciate the suggestion, but maybe I should add that I’d like to not have to change up my phone too much. It’s a Fairphone 4 running the OEM Android and my preference would be to keep it that way. Are separate profiles like that a thing on stock Android?

      If you are both outside of china there really is zero reason (other than preference) to use that piece of spyware.

      She travels back to China sometimes, uses it to contact friends and family back home, and uses it to chat with lots of mainlanders here in Canada. For her it’s not weird at all.

      In fact, she expressed to me that she’s perfectly comfortable with the fact that they use WeChat combined facial recognition technology in China for payment processing. When you get on public transit, you can have them scan your face and it will automatically charge you the bus fare. It really skeeves me out, but it’s simply not the hill I want to die on in this relationship. I’m crazy about her in so many ways, it’s okay with me if we don’t see eye-to-eye on digital privacy.

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        7
        ·
        5 months ago

        Yes you can use work profiles on stock Android. Look at the shelter app in fdroid to get started

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

        If you’re in the US and mostly worried about one app, you can probably devote a Work folder via an app like Shelter to a GF.

      • xarexyouxmadx@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        9
        ·
        5 months ago

        Personally I’d be way more concerned with using OEM Android in the West than using wechat anywhere but if it’s really an issue for you then I’d say insist on trying session or signal… One of those are probably your best options if you’re worried about being spied on…

        If she’s unwilling to try them or doesn’t like them then I guess you have to settle for wechat or traditional SMS (although without RCS I find SMS to be a trip to a previous decade lol)

  • wpuckering@lm.williampuckering.com
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    5 months ago

    You could sandbox it into a work profile that doesn’t have access to your main profile. Storage is completely segregated, and the work profile can be easily disabled when you’re not using it.

    The best solution is obviously to choose another platform and convince your girlfriend to use that, explaining how this little extra effort on her part to use another app goes a long way with you in terms of appreciation and understanding of a partner’s boundaries and comfort zone.

  • thanks_shakey_snake@lemmy.ca
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    5 months ago

    FWIW, WeChat and 微信 are different apps. With a non-Chinese phone number and Google Play Store download, you’ll be using the international one (WeChat) instead of the Chinese one (微信). There are still privacy concerns, but it’ll be less invasive than what you’d have with the version that people in China are buying their groceries with and stuff.

    I’m sorry I don’t have advice for how to actually protect yourself, though… I’ll be keeping an eye on this thread to see what I can learn.

    • bionicjoey@lemmy.caOP
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      That’s a great point, thanks! I will definitely be using the international one. I expect since I’m getting it through Google Play it’ll be constrained based on the OS permissions I give it. And I don’t intend to give it any permissions

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 months ago

        I expect since I’m getting it through Google Play it’ll be constrained based on the OS permissions I give it

        Getting it through google play or not does not constrain anything more or less.

        And I don’t intend to give it any permissions

        Hopefully it won’t require any to be able to keep using it

  • John@discuss.tchncs.de
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    5 months ago

    I stopped using every messenger besides signal and Matrix. Even my not tech savy parents are using signal now - its in my opinion the better solution to stand your ground and may push others into using the better apps

  • EunieIsTheBus@feddit.de
    link
    fedilink
    arrow-up
    13
    arrow-down
    7
    ·
    5 months ago

    Maybe get a girlfriend that isn’t a brain washed spy? \s

    Just use a different app then? You don’t need to come up with some high tech solution. She won’t use that anyway. But something simple like signal should be sufficient.

    • bionicjoey@lemmy.caOP
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      5 months ago

      Maybe get a girlfriend that isn’t a brain washed spy? \s

      Listen here, I like my qt tankie sleeper cell gf. As long as she doesn’t hear anyone say the activation phrase, she’s very sweet.

      For real though, this app is pretty culturally ingrained over there and so I don’t really have the option of pushing something else (we all know how real messaging app fatigue has gotten these days). Especially when other apps will be restricted whenever she travels home, and we want something that can serve as a backup when other communication methods aren’t an option. I’m pretty sure WeChat will work through The Great Firewall, so it’s ideal for our purposes. I have no idea if the same can be said for WhatsApp or Signal.

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

        If you love her (and it seems like you do) talk to her openly about your concerns and suggest something else. Heck, even set up a Matrix user for each and tell her you want to use that exclusively for both of you as a romantic gesture. That’s how I got my wife on Matrix (Element).

  • guyrocket@kbin.social
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    5 months ago

    If you really want to isolate it, grapheneOS lets you put it in its own profile almost totally isolated from anything in any other profile.

    But you probably don’t want to buy a g! Pixel.

    You could buy a separate phone and only run that app on it. Hassle but it would be secure.

    • jet@hackertalks.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 months ago

      This is good advice. But you can have work profiles on any Android phone. Not just grapheos. Look at shelter in fdroid to get started

  • Antitoxic9087@slrpnk.net
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    5 months ago

    If you are serious with this relationship (or you expect to still have Chinese partners in the future), I strongly recommend you buy a separate device for all the Chinese spywares required to maintain communication with your partner(s). At some point you will have to enter China, and it is best that you take only this device with you into it then.

    • bionicjoey@lemmy.caOP
      link
      fedilink
      arrow-up
      5
      ·
      5 months ago

      I’ll cross that bridge when I get to it. If I’m going to do that I might as well buy the burner phone once I’m actually in China rather than preemptively get one now. I like her a lot but I’d say we’re at least a year away from going to China together.

      • wpuckering@lm.williampuckering.com
        link
        fedilink
        arrow-up
        4
        ·
        5 months ago

        The good thing about getting one from the start is that you can set it up to your liking from the get-go and won’t have to do it later. You’ll also get used to using it daily and see how managing two devices works for you.

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    5 months ago

    Brace yourself for a weird recommendation:

    Don’t worry about it or switch to ios.

    You’re on a different marketplace for phone apps than chinese nationals so you’re not getting the same wechat as they are. If you trust your platforms marketplace and your phones security and privacy tools then just don’t worry about it and use them like a normal person.

    If you don’t trust your platforms marketplace or security and privacy tools, switch platforms.

    It doesn’t seem from your responses in this thread that you’re in a good spot right now to learn everything required to root and run an alternative os securely and act as your own security auditor. Not a value judgement, I’m not in a position to act as my own diesel mechanic. That’s why I said maybe switch to ios if you feel exposed by stock android instead of saying you ought to try to navigate the alternate os/custom rom world.

    It might seem like some people in the replies have given good walkthroughs, and they definitely have, but at some point you’re gonna have to make a decision about something that either isn’t documented on a wiki or no one responds to questions about.

    Maybe the best choice is to either not worry about it or switch platforms and no matter what you choose, put the phones security and privacy tools to use and be more considered and self aware about how you use your phone.

    E: Jesus Christ. Some of the responses you’ve gotten are astonishing. Maybe ask in hexbear or something just to get an alternative view.

    • bionicjoey@lemmy.caOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      5 months ago

      Yeah I ended up installing it in an Android work profile using Shelter, and it is a disaster of an app. I expected a lot more of a professional looking app given how popular the WeChat service is and how big of a company Tencent is, but it’s like a shittier WhatsApp. It’s not even localized properly, a bunch of strings in the app (like error screens and stuff) are in Chinese, and the English is poorly translated. The mechanism to reply to someone’s message is unclear (it’s not just long pressing or dragging on a message like in other apps), and you can’t send a reaction emoji to a message.

      • bloodfart@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        5 months ago

        It’s always funny to me how people assume the most half-assed software the world has ever seen somehow carries incredibly advanced and impossible to detect tracking deep inside it.

        Like we have t-1000 at home! T-1000 at home: that bucket robot that got murdered in Philly.

        I just saw you’re from .ca, you may have to make an alt to ask but 100% ask on hexbear. There’s people on there who have dealt with wechat and phones going to and from china and won’t be near as overtly weird and racist as some of the responses here. Maybe differently overtly weird.

  • ReversalHatchery@beehaw.org
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    4
    ·
    5 months ago

    Why don’t you use a better messaging app? If not matrix, then signal? Even telegram is better compared to both wechat and sms.

    • bionicjoey@lemmy.caOP
      link
      fedilink
      arrow-up
      4
      ·
      5 months ago

      She’s not very tech savvy at all. It would be asking a lot. I’d rather stick to something she is comfortable with.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 months ago

        One does not need to be tech savvy for that. All 3 are not like a terminal controlled operating system, but a normal messaging app. But if you are ok with giving up privacy, I shouldn’t tell you what to do instead.