AliExpress App Introduces Odd Feature that Forcibly Turns on Auto Sync on Android Devices

I just wanted to see if this was affecting the potentially large user base on ozbargain since they are having their anniversary now and seem to be giving out lots of free money (with what appears to be strings attached it seems - wink wink). Is there a coincidence to the timing of this "feature" in the new app?

So I had a client who came in suspecting malware on his phone as it was automatically enabling auto sync even though he kept turning it off. My client explained that he does not normally see gmail notifications on his screen and this caught his attention. At first I thought he had installed a malware ridden version of gmail, so I disabled it via adb, but the behavior regarding sync persisted. I narrowed it down to the aliexpress app and I note that the latest version has introduced a permission to change the sync settings notably through the use of android.permission.WRITE_SYNC_SETTINGS.

The aliexpress app also appears to continually try to run itself even after it is force closed which is concerning, which has got me scratching my head for hours because this particular phone has the ability to disable the app from turning on at startup, but it nevertheless found a way to open itself in the background after reboot. I am still analyzing the latest aliexpress apk and consulting with peers to determine the nature of the threat.

Now turning on sync is not by itself anything to be worried about, but I suspect there is something more to this because from the past I know there is the potential that there might be some code to read notifications from other apps as was revealed previously in analysis of Pinduoduo's app. I won't go into too many details, but you can search for the news articles about it. Normally having sync turned on is not a problem and most people would be oblivious to the changed app behavior, but I have suspicions that hint that this might be part of a larger package of malicious code. Sync is important because it constantly refreshes the inbox and therefore increases the chances of the contents appearing in the notification tab where upon it can be extracted.

I have not had time to determine whether this behavior from the app widespread or if it only targeting certain individuals? This is something I have not quite grasped yet and a lot people on ozbargain probably have this app installed, so I guess this is a good place to ask and see what others are experiencing. Do not go randomly installing the app since it has not been given a clean bill of health, but if you already have it installed and want to see if I am just writing drivel, go ahead and see what happens when you turn off auto-sync. Alternatively install it on an old phone, use dummy credentials, play around with it. I do not have the time for this, plus it does not turn the sync on immediately after you switch it off, it can take up to an hour before it flicks back on. This is why I do not have that much time to play around with it. This is the behavior I am seeing though.

If you are the type of person to go "oh shit and panic", just uninstall the app until my colleagues and other security researchers have more time to determine whether this is really a threat. Personally I do not know why the app needs that permission and the only reason I can think of controlling it would be malicious, that's just my 2 cents. Does the app need to sync anything? No, definitely not.

Let's just say my client is somewhat politically sensitive and complained to me about his displeasure that the AFP was recently working with the Hong Kong police. That is something the Australian Government needs to explain to the public before it decides to pursue Tiktok. To me personally, I had no confidence in the government anyway and everything that has happened in my life has pretty much shown me that no government cannot be trusted.

On a side note:
For gods sakes, if Tiktok was an issue, why haven't we got someone inside ASIO working at showing us how that app is doing something illegal because "apparently" they are targeting Australians and by proxy it would not be a stretch to say the MPs themselves would be part of that net. Is there anything there? No government organization has shown me anything malicious about Tiktok, but then you look at the private sector and private individuals, even those in the private sector can show something like aliexpress seems to have something odd behavior that could be potentially malicious. Come on, man. I am serious, what is wrong with our country, I grew up here and it is falling apart. This is actually a problem, this has consequences because we all get distracted and then we ignore what the real threats are.

I know Tiktok got some bad press lately, but even that app does not exhibit this behavior. I am not trying to defend that app, but if you understand how neural networks function, if you suddenly scroll through some content and it randomly throws your child a perverted video and your child keeps their eyes transfixed on it, then it is going to keep recommending it because that is just the math doing its job. If you child likes looking at people doing silly stunts then it will keep recommending it. Ask yourself why your child needs to look at that content, maybe because life is pretty dry? Child can be substituted for adult too, but most complaints about Tiktok are framed from the perspective of a child.

Douyin, the chinese version, also has perverted content on it if you search for that content and in fact you can see many youtube compilations of very unsavory content. It is not just educational content on the chinese version of tiktok which is the spiel often spouted by conservative media outlets with an agenda. If you are seeking out that unsavory content then the algorithm will give it you, so I doubt removing the app from chinese control will do anything, but that is a side issue.

Related Stores

AliExpress
AliExpress
Marketplace

Comments

  • +6

    I do not have the time for this

    Tru dat

  • +3

    TL;DR?

    • +1

      TL:DR - AliExpress App seems to forcibly turn on Auto Sync on Android devices. Could be dodgy.

      • +7

        Plus the second half is a rant about ASIO not sharing any threat intel about Tik Tok with the OP.

      • +3

        Thank makes sense. Cheers.

        • +4

          That doesn't make sense. Cheers

  • +1

    War and Peace.

  • OP doesnt live up to name…

  • I agree with your comments on TikTok.

    The TikTok spy scandal thing was a load of crock and the journalist that wrote the article about themselves being part of a spy operation was self-serving.

    First of all, what was done was not anymore sinister than a game administrator looking into their logs to ban a person who was hacking on their server and to correlate the ip address with other players that use the same ip address. This is no different to what Fortnite does when you are caught hacking, i.e. an ip ban.

    Bytedance used their database to correlate their employee's ip address to that of other users in order to find the leaker which is likely allowed as part of their terms of service, it just happened to be that a journalist was on the other end. What was alleged was that the ip address of the journalist was used to try to match that with an employee, but Bytedance does not need to do that because that does not guarantee a match for an employee… That is why that never happened. The former is what happened rather than the latter which was alleged and portrayed in the media.

    This explains why the CEO of Bytedance stated what was described was not hacking because that is a normal part of the business, that is to log ip address of the users and to find abusers. This is no different to law enforcement requesting metadata and then being provided with data which they can analyse.

    I would be interested to see your analysis about the Aliexpress application, but I understand this may require some time as you would be required to reverse engineer the software. Preliminary analysis shows the application is flagged as utilising obfuscation. It was months before we had a full analysis of the TriangleDB attack that was targeted at Kaspersky researchers.

    • This is no different to law enforcement requesting metadata and then being provided with data which they can analyse.

      There is a pretty big and obvious difference though, isn’t there? A sworn police officer collecting data to provide evidence of a crime is not the same as a company looking for evidence of a whistleblower.

    • I do not foresee any problems but as always one can never know if the de-compiling tools are extracting everything as is. I will test the app in some virtual environments in the future if time permits. It is actually quite a new update, as it was only pushed a 3 days ago and resulted in this behavior.

      I only wrote a layman's brief about the behavior of the app in my original post. This is because firstly one must analyze the behavior then you can decide on what strings to look for. I did not want to bamboozle the audience on ozbargain. For example: the developer did not try to hide the fact they have implemented "immortal sync" through a sync adapter.

      So far I have spent around 2-3 hours just poking around what I have de-compiled but there is not any money in it for me to continue, and the client is happy with the result. Although I question why he had the app installed in the first place, but then again I have seen some clients in my previous job who are what you would classify as dissidents seeking refugee status that still have alipay/wechat installed on their phones…

      I installed the aliexpress app on a few dummy android phones we have lying around and they all exhibit the same behavior which does not require any user to be signed in and prima facie rules out a targeted attack.

      The evidence gathered is inconclusive so far and could be due to poor implementation of something, what exactly the reason for needing sync is unknown, but it is suspicious. Unsurprisingly tiktok is an angel in comparison in terms of not interfering with the user experience whatever it is that the intelligence agencies claim it might be actually doing.

      Also I am open to the fact that it might be another app working in tandem to exfiltrate data as turning on sync giving off an innocent appearance. Or maybe I have not found the right part of the code that could be viewed as malicious.

      They Don't Care About Us - Michael Jackson

  • FWIW I don't have any issue with the AliEx app and it doesn't run in the background on my 2 Android phones.

  • android.permission.WRITE_SYNC_SETTINGS.

    This permission can be used when you allow "Sign in via Google" and other methods. Something AliExpress allows.

    • I am not sure about that unless it is a poor implementation…

      There are plenty of apps that have that feature that don't forcibly turn on sync with an intent to keep it immortally synced…. I think it's deliberate rather than innocent because of the references in the code….

      • Time to decompile the APK and see what you can find.

  • Quick update.

    The aliexpress app requests some invasive permissions regarding access to such information as web browsing history, but it is unclear whether that should be classified as having been consented to by the end-user or if that should also be deemed malicious.

    The issue that puzzles me is that the client must also have consented to the sync permissions. Is the Google play store no longer notifying of changed permissions during updates?

    Does isolating the odd sync behavior in the latest update and ignoring the behavior of the rest of the app reflect what the public should be aware of, or should the line be drawn somewhere else? If the app is just building on top of what is was already doing then maybe it should be included…

    These are some issues I will have to think about.

Login or Join to leave a comment