15 ms·
Privacy analysis of Tiktok’s app and website
- duxup 7y agoInteresting although I'm having trouble unpacking GDPR discussion from what the app actually does on a granular level and what that could mean for privacy. GDPR is not exactly how I think of those things.
- colorincorrect 7y agois there a similar analysis of google/facebook/instagram?
- ignoramous 7y agoFacebook: https://privacyinternational.org/report/2647/how-apps-android-share-data-facebook-report https://privacyinternational.org/report/2647/how-apps-androi... news.yc discussion: https://news.ycombinator.com/item?id=19595478 https://news.ycombinator.com/item?id=19595478 And some techscience.org classics: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=techscience.&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- holler 7y agofyi amazon does this too.. likely most large consumer sites that face fraud activity do
- seppin 7y agoYes, they don't give the data they harvest to an authoritarian government that already has proven they will use said data to target and ID people for arrest/detention/torture. Which is an important distinction.
- bduerst 7y agoTikTok has said that their TikTok China and TikTok elsewhere apps keep their app and user data completely separate (in both data centers and policy). Kind of like how Apple complies with iCloud China and Apple iCloud everywhere else. Source: https://www.reuters.com/article/us-usa-tiktok-army/army-examines-tiktok-security-concerns-after-schumers-data-warning-idUSKBN1XV2N6 https://www.reuters.com/article/us-usa-tiktok-army/army-exam...
- Beefin 7y agoHow is it possible that there be two separate silos when I can follow someone in China despite being in the US
- yorwba 7y agoThe person in China can use TikTok (international) or you can use Douyin (Chinese), putting the two of you in the same silo.
- seppin 7y agoAre you seriously implying the Chinese government doesn't have access to both of these sets of data?
- yorwba 7y agoI was answering the question about following someone in the other silo (not possible), not implying that the siloing makes data exfiltration absolutely impossible. Note however that for the Chinese silo, they can just open the front door, whereas doing the same for the international version would endanger their profits. Profit is an incentive the CCP responds to very well. For the surveillance agencies, hacking the database is probably easier than setting up an official channel that too many people would have to know about and agree to.
- seppin 7y agoAnd if the CCP asked for access to TikTok's international data, do you think they have the ability to say no?
- tcd 7y agoAs more time passes I begin to fundamentally believe the modern Internet isn't compatible with the GDPR or privacy as a whole. Simply the act of enabling JS within the browser is enough to have your privacy violated in thousands of different ways and data sucked up by everyone who wants it. Simply by installing an app on your smart phone you invite SDK's that are happy to report back all the information the OS freely allows access to because why not? Data storage is cheap and collecting that data is free of charge. But yes, data about children is collected in the millions, and the truth is there is no possible law that can prevent this from happening because it will happen anyway. One example: If FB detects a baby photo you upload, should it be deleted? I mean that baby cannot possibly consent, and you'd have thought the GDPR or some law meant uploading baby photos is impossible, but that's not the case, FB/Google WILL perform facial recognition on that baby. Your data will be processed, used, sold and manipulated for as long as you generate it. The GDPR helps, a little, in some ways, but it's really had very very little effect overall (apart from some damn annoying "we respect your privacy" pop-ups on websites). If the GDPR was serious, it wouldn't be possible to collect this data at the OS level, like, at all, JS would return nothing, Android apps would return nothing (or fake data, at least). But the GDPR is not serious, at least in some ways.
- api 7y agoI think it can only be fixed with legislation. There is too much attack surface to the point that avoiding tracking is hard even if you take extraordinary measures.
- tcd 7y agoThe GDPR IS the legislation, at least, I thought so. If you're serious about this, the network shouldn't be making these requests unless you've explicitly allowed it (meaning the request is blocked at the network/OS level).
- pjc50 7y ago"Tracking" is not a property of any particular network connection, it the act of correlation in the back end.
- harryf 7y agoThree of the main things he calls out are caused by embedding of the Facebook SDK, the Google Analytics SDK and AppsFlyer SDK. The most worrying one IMO is actually AppsFlyer - I doubt they have the resources to properly protect the data they're collecting. It might be more effective to go after the companies providing the SDKs rather than individual apps, to have a real impact. But OK this was for a news story about TikTok and that's what readers can relate to.
- baybal2 7y agoGoing back to Google's knowing and willing abetting of hardware ID abuse. I heard it many times that Google knows that a lot of Chinese companies violate their play store policy against using hardware IDs for advertising purposes. If they stand against it, why they added APIs for accessing them in the first place? I thought about that for a long time, and finally it struck me: Google very well knows that GDPR prohibits them IDing people if they refuse, so they just added those APIs to let other companies do it for them!
- graposaymaname 7y ago> Canvas Fingerprinting. They draw an image in the background using vector graphic commands. Afterwards they save the image to a rasterized PNG. This data is quite unique among different devices depending on settings and hardware. > They also use audio fingerprinting to identify visitors. This doesn’t mean they actually use your microphone or speaker. Instead they generate a sound internally and record the bitstream, which also differs from device to device. This really blew my mind. Correct me if almost all of them are doing this. If it is so, the congress hearing last year, all those privacy suits, all went into vain didn't they. (PS. bad english) :/
- the_pwner224 7y agoI've tried using addons like uMatrix in the past and always gave up, but this just convinced me to deal with the (minor-ish) annoyance they add. Canvas fingerprinting is somewhat well-known and there are browser extensions to block it. But if TikTok is doing audio fingerprinting then you can bet FB, Google, and everyone else are doing it too. JS is too feature-rich to be safely used & allowed.
- m463 7y agoI haven't found a way to block canvas fingerprinting. For some reason, I haven't been able to default to block in firefox. Even with CanvasBlocker the "check your fingerprint" sites still show a unique fingerprint (but canvasblocker has a ton of really obscure options that I don't understand)
- dhimes 7y agoCould there be some way to randomize the canvas and audio fingerprints? An extension that obfuscates them in some sense by sending false signals? Edit: Perhaps overloading the toDataURL() function to add random noise. https://browserleaks.com/canvas#how-does-it-work https://browserleaks.com/canvas#how-does-it-work
- rasz 7y ago
- cubbic 7y agoEven without any analysis it's quite clear what a company based in Beijing who censors everything on the party's whim is doing, though reading about the methods of fingerprinting was quite fun.
- saagarjha 7y ago> Those are the PRIVACY problems with Tiktok. Last week Netzpolitik published detailed information about CENSORSHIP problems.
- dragonelite 7y agoAren't they censoring all political content, not only the china based political content? At least that is what i was told/remembered not sure which source it was.
- bduerst 7y agoThis is true, though they aren't doing a very good job of it. There's a ton of trending content under political # that get popular and left alone.
- Jonnax 7y agoSandboxing with randomisation is what we need. Like a VM or a container to launch a browser. A canvas fingerprint needs to be different everytime it's calculated.
- applecrazy 7y agoThe sandboxing part exists: https://addons.mozilla.org/en-US/firefox/addon/multi-account-containers/ https://addons.mozilla.org/en-US/firefox/addon/multi-account... Not sure if it randomizes things like audio or canvas fingerprints, though.
- floatboth 7y agoNo. But, privacy.resistFingerprinting does the opposite of randomization, you get the exact same canvas fingerprint all Tor Browser users have.
- the_pwner224 7y agoThese sorts of features are added to JS because they enhance user interaction. The audio API is an obvious example, and one of the big reasons canvas is used is that it has good 2d performance and lets you draw arbitrary stuff easily - good for game. You can't decouple this from the hardware; audio will need to go through the sound card and removing GPU acceleration from canvas kills it. The only thing that can be done is slightly fuzzing inputs the program collects (the saved PNG or the listened audio) - but this again interferes with real use cases, such as web audio editors and image editors, where this method forces lossy editing and importing. Already I have to use another browser to use games or other 3D content because I have WebGL disabled in Firefox, and for 2d stuff the resistFingerprinting option reduces timer accuracy, which messes with game loop timing and makes the game totally unplayable. Making audio and video even harder to use is not good. The only solution is to not allow this stuff to happen in the first place by using a permissions system. Adding more permissions popups is bad, so permission needs to be implicitly allowed by the user. Autoplay is a good example of this, calls to play() are blocked unless the call is being made in response to a click handler. Permissions for really recording audio/video through a webcam/mic also work well.
- applecrazy 7y agoI'm curious what device data is sent from the app. Are they using any private APIs to extract data from mobile users as well? That would be even more insidious, since it's hard to analyze that. I tried decompiling the Android version of the app, but I'm not a mobile dev and don't know where to look to analyze its data collection behavior. I also considered using mitmproxy (like the OP) to analyze transmitted data from the app on my phone, but I'm on a university network that blocks inbound connections to devices (so I can't connect to my laptop from my phone). Hope somebody else can publish an analysis.
- sjy 7y agoIf you’re interested in exploring this, the university network shouldn’t be a problem if you create a private network between your laptop and phone and connect the phone to the internet using NAT on the laptop. The Internet Sharing feature in macOS makes this pretty easy.
- applecrazy 7y agoThanks, I forgot about this. Looking to explore and report findings post-finals
- john37386 7y agoThe other day I saw my young nephew on Tiktok. There is this thing that happens once in a while when you see two pictures of fashion and the child has to point with its finger which one they prefer. This thing goes on for a while. I found it weird and was wondering if other also noticed this?
- jiofih 7y agoPointing fingers in real life or in a video they are recording?
- sm4rk0 7y agoI'm using these four Firefox addons in addition to uBlock Origin and Cookie AutoDelete: (Canvas|WebGL|AudioContext|Font) Fingerprint Defender They report and seem to block fingerprinting attempts. https://addons.mozilla.org/en-US/android/addon/canvas-fingerprint-defender/ https://addons.mozilla.org/en-US/android/addon/canvas-finger... https://addons.mozilla.org/en-US/android/addon/webgl-fingerprint-defender/ https://addons.mozilla.org/en-US/android/addon/webgl-fingerp... https://addons.mozilla.org/en-US/android/addon/audioctx-fingerprint-defender/ https://addons.mozilla.org/en-US/android/addon/audioctx-fing... https://addons.mozilla.org/en-US/android/addon/font-fingerprint-defender/ https://addons.mozilla.org/en-US/android/addon/font-fingerpr...
- hoorayimhelping 7y agoThese links have android in the url, which makes me think they're for the android version of firefox. Either way, those links allowed me to install the extensions on desktop Firefox on Windows, so it's all good.
- rahuldottech 7y agoLinks for desktop: https://addons.mozilla.org/en-US/firefox/addon/canvas-fingerprint-defender/ https://addons.mozilla.org/en-US/firefox/addon/canvas-finger... https://addons.mozilla.org/en-US/firefox/addon/webgl-fingerprint-defender/ https://addons.mozilla.org/en-US/firefox/addon/webgl-fingerp... https://addons.mozilla.org/en-US/firefox/addon/audioctx-fingerprint-defender/ https://addons.mozilla.org/en-US/firefox/addon/audioctx-fing... https://addons.mozilla.org/en-US/firefox/addon/font-fingerprint-defender/ https://addons.mozilla.org/en-US/firefox/addon/font-fingerpr...
- sm4rk0 7y agoI wrote the comment on an Android phone - that's why "android" in URLs.
- stfwn 7y agoI may be wrong, but these add-ons seem shady to me. The website pointed to as the homepage is an add-ridden site that is supposedly a community for open-source development, but all the links to 'fork me on GitHub' don't go anywhere. I can't find the source at all. This topic comes up often but these have never been posted and the add-ons have relatively few users (4k, 1.5k, 2k and 0.7k). I don't know anything about browser add-ons. Perhaps someone who does could take a look and see what's up?
- samstave 7y agoI posted the following to /r/ but it was removed... (hmmm) There was a statement that was made that China has been seeking to build the largest face recognition db... (obv FB has that embedded not only in their name, but their userbase -- and what China wants to do is compete with FB on this front for their own means...) --- TikTok is a face recognition harvesting platform WITH sentiment! Hear me out. So TikTok is literally focused (on multiple levels) of the users face being in a very contrived space and detail - its largely wide with younger ppl... however IT ALREADY HAS 50% of the FB population: https://www.oberlo.com/blog/tiktok-statistics https://www.oberlo.com/blog/tiktok-statistics https://futurism.com/the-byte/tiktok-facial-recognition https://futurism.com/the-byte/tiktok-facial-recognition '500 MM users' in less than a 3rd of the time.... TikTok vs FB combined is the new Digital Cold War. -- I have recently disabled my phone. But obv - I post to HN and .r. and I will not be able to off-grid without significant effort. Conclusion: Privacy is not only dead, it has both necromancers and necrophiliacs fucking you in the shadows forever without recourse.
- yding 7y agoThe GDPR law is complex, but I'm 99% sure that this guy is misinterpreting it here. Sending data to Google, FaceBook and AppsFlyer (and other American companies) is generally legal under GDPR. All three companies are covered under the US-EU Privacy Shield framework: https://www.privacyshield.gov/participant_search https://www.privacyshield.gov/participant_search Furthermore, sending PII data to a non-EU country is also allowed under GDPR as long as the company in question obeys the GDPR rules. Like I said, those rules are complex, and there could very well be some technical violations by TikTok, but that's not demonstrated here. Browser/device fingerprinting for anti-fraud is a well established industry practice. Browser makers don't like this practice and have taken steps to make it harder, but the truth is that it's used across the industry. The open source license violations could be actual civil, but not criminal, violations. TikTok does maintain a list of open source licenses here: https://www.tiktok.com/legal/open-source?lang=en https://www.tiktok.com/legal/open-source?lang=en It looks like it's only for its app and not its website though. Violations of the MIT/BSD license by using a npm package and forgetting to include it in the documentation, unfortunately is pretty common across the industry. That doesn't make it right, and we should hold big companies to a higher standard of compliance, but if anybody wanted to make a complaint it would have to be the copyright holder. TL/DR: I don't think the author demonstrated anything illegal here or out of line with normal industry practice. You can argue about the morality of certain industry practices (like fingerprinting) but TikTok is far from an outlier here.
- munk-a 7y agoAs someone who worked in a field that necessitated some significant anti-fraud measures nope to > Browser/device fingerprinting for anti-fraud is a well established industry practice. Browser makers don't like this practice and have taken steps to make it harder, but the truth is that it's used across the industry. If it's that important to you switch off of the web into an App, require sign-ons against an internal system for authentication and policy people actively. Falling back on fingerprinting is a BS excuse used by folks that want to minimize user barriers and maximize the profits they're extracting by push authentication and identification off onto public resources - it isn't ever necessary and it isn't okay.
- 7y ago
- JimmyRuska 7y agoGDPR allows you to capture logs as long as there's some reasonable business case explanation. Security is the easiest because you can easy all identity tracking is for catching fraud, bots or hackers. The explanation can always be hand-wavy and legislation is not specific on the details.
- rshnotsecure 7y agoI think this says all we need to know: http://pro-tiktok.s3.amazonaws.com http://pro-tiktok.s3.amazonaws.com Notice the file left in there by a previous explorer of the internet. This gentleman has even found RCE exploits with TikTok, and they simply do not and will not respond to their security line. Olivia Newton at NBC I believe even reached out, and she could not get them to get back to her. I forwarded this (really another bucket of equal content still lurking out there) several times to Brian Krebs but he never responded. I only mention his name because it has happened before and find it somewhat damaging to the community and it needs to be called out (with fill acknowledgement that journalists get hit up by PR ppl all the time and it’s a tough job).
- lwf 7y agoJust because the bucket says "tiktok" in the name, doesn't mean it's in any way associated with them. This appears to be ~1000 videos, anything particularly interesting about it? (My company gets many such reports; sadly researchers often strongly insist otherwise)
- rshnotsecure 7y agoIt is associated with name. A domain held by them had a link record that pointed to this bucket. Also previous acquisitions of TikTok have buckets, currently open, and those have metadata which shows ownership. Either way, TikTok won’t even respond, which is very sad and absolutely deserves a response so the few researchers don’t have to waste time following up. NOTE: Your point makes sense though and I’ve run into this before. 100% agree with you and I should have mentioned the anchor link found.
- invisiblethreat 7y agoDo you happen to know that link?
- rshnotsecure 7y agoDo you want to email me? You can find it if you have SecurityTrails subscription, but that is like $500 a month also. I assume you mean the CNAME record right??
- gambler 7y ago"They draw an image in the background using vector graphic commands. Afterwards they save the image to a rasterized PNG. This data is quite unique among different devices depending on settings and hardware." Why the fuck does this still work? People are complaining about all those websites that use it, but ignore the fact that it can be mostly fixed by changing 2 applications (Chrome and Firefox).
- floo 7y agoWell, I don't know the details. But AFAIK canvas drawing is GPU accelerated. So I would guess you are effectively fingerprinting the combination of browser and GPU. And that does not sound like its easy to fix on the browser side.
- dkarras 7y agoHow would you make it not work besides disabling canvas altogether? It is the staple component for interactive graphical stuff in the browsers. I work with it extensively for interactive content and I very frequently read pixel data from it. Let's say I'm going to blur an image, I need that pixel data. The fingerprinters do the same thing, but the pixel data gives something unique about your GPU.
- commoner 7y agoIf you're using Firefox, consider using the CanvasBlocker add-on to reduce the effectiveness of canvas fingerprinting. https://addons.mozilla.org/en-US/firefox/addon/canvasblocker https://addons.mozilla.org/en-US/firefox/addon/canvasblocker https://github.com/kkapsner/CanvasBlocker https://github.com/kkapsner/CanvasBlocker
- floatboth 7y agoJust enable privacy.resistFingerprinting in about:config, no addons needed
- commoner 7y agoprivacy.resistFingerprinting is even better since it covers more than just canvas fingerprinting, but anyone who uses it should be aware of all of the side effects. https://wiki.mozilla.org/Security/Fingerprinting https://wiki.mozilla.org/Security/Fingerprinting For example, new Firefox windows will no longer open maximized, and users who prefer maximized browser windows would need to maximize them manually.
- inetknght 7y agoThat shouldn't be necessary if the browser didn't report accurate window sizing information
- iudqnolq 7y agoExposing the window size is needed for many festures. CSS media queries change what's displayed based on the screen size, and pure css can cause effects that can be independently measured (set a css property and the read it with JS and log the result, or have the css load a background image with tracking data embedded in ths url). Webapps that manually position elements using JavaScript use the API as well. It's also he extremely hard to prevent any way of getting at it. For example, I could measure if a line of text overflows and by how much.
- burtonator 7y agoIt's insane to me that canvas and audio fingerprinting actually work. Are there any strategies that allow us to keep canvas without it being a security risk?
- wufufufu 7y agoI've always assumed I have zero privacy on all social media apps. I am more worried that if the next few major social media apps are all Chinese, then the Communist Party of China will control what the world sees and believes.
- teknologist 7y agoThey seem to only be able to do this by copying existing platforms that were successful. TikTok is essentially a carbon copy of the discontinued app Vine. I cannot imagine that the pool of discontinued apps that otherwise would be runaway successes is large.
- Proven 7y agoNice app... for the communist intelligence services. I am still trying to figure out why would anyone want to even attempt to use this crap. Stay the hell away and you won't have privacy issues.
- ChaseT 7y agoDoes this violate any of the Google or Apple's Play Store TOS? People are calling for the government to step in but a quicker move would be to remove them from the app store; at least if there's a violation.
- judge2020 7y agoAll SDKs should be respecting 'limit ad tracking' and should respect when you reset the advertising ID, but these fingerprinting techniques are fishy.
- billfruit 7y ago"Personal Identifying Information (PII) is transfered to a server that is under control of a company in an unsecure noneuropean country. The server location doesn’t count, it is about where the company deciding about the data resides." I find problematic that such a restriction is in place, what of PII was sent to a European company, is that a problem? What if the ownership of the company changes? This kind of data localization requirements go against the concept of an open internet.
- bagacrap 7y agoI assume this law effectively bars certain mergers or acquisitions as illegal.
- RiOuseR 7y agoGot a confirmation code via sms the other day to confirm the set up of my account... that I never signed up. Either a bot is making accounts, or Tik Tok got a list of phone numbers and is making accounts for people.
- anaganisk 7y agoMatt be someone made a typo and ended up everything yours. Doesn't have to be a shady thing done by tiktok
- hamhand 7y agoAfter seeing all those sketchy or even fraudulent mobile ads by TikTok's company, I won't be surprised if that's a bait. But pretty much everybody does it in China, Baidu etc, like "You phone has 8GB of garbage, download us to clean it", "Download us to boost your signal by 4 times immediately", "This cutie just sent you a message, download us to repsond", basically anything to make you download their apps, and only political problems go punished.
- Yuval_Halevi 7y ago>Tiktok is breaking the law in multiple ways while exploiting mainly teenagers data. This should be regulated quick and rigorous. We have all necessary laws. Don’t let them break society like 10 years of FB. Journalists should find a better place for vertical video. Well done. I think that after this research, journalists will better understanding of how TikTok actually breaks the law and they can cover this story using the information from this article as a reference,.
- Razengan 7y agoI wonder if Facebook and Google are pushing all these articles about/against Tiktok because it’s a threat to them.
- chki 7y agoAnd I wonder whether comments like yours are spread by the Chinese Government to undermine trust in our media/democracy.
- Razengan 7y agoIf I could prove I'm not associated with China in any way, and in fact don't like what they do, could it be proved that the wave of Tiktok-related posts has nothing to do with Facebook/Google?
- chki 7y agoI'm 99% sure that you are not affiliated with the Chinese Government. I just wanted to show that accusations like these are not really helpful. It's not the responsibility of Goole/Facebook to prove that they aren't sponsoring bad faith anti-TikTok articles. It's your responsibility as a commentator to show at least some proof (beside a convincing motive). I think the bar for that proof should be rather low, but there needs to be something. Otherwise we are switching from a commenting system based on a reason to a commenting system based on feelings/opinions.
- yahnu 7y agoRecently, I can't help but think this way everytime I see controversial comment/post in HN and reddit. Maybe TikTok is not collecting data and operating ads in any way worse than Facebook or Google but we can expect companies from democratic countries to face some level of scrutiny from free press and government accountable to people. The thought of Chinese government having access to companies with reaches like Facebook/Google to global population worries me.
- mrlanderson 7y agoIf anyone wants to work on a project that works against this in a completely different way, shoot me an email. We are growing a community of people who don't trust our fragile governments to figure this out, and instead want to democratize these tools and level the playing field rather than attempting prohibition yet again..
- tomaskafka 7y agoJust don't use TikTok. The whole purpose of this app is to gather a huge amount of behavioral data (about various themes and topics and how you react to them), enabling China to do political message targetting on par with what Cambridge Analytica did.